mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
Improved notification email to the member when a rolling subscription is taken
This commit is contained in:
parent
398af2e8e0
commit
d7aed3fa1f
@ -1,5 +1,6 @@
|
||||
# Changelog Fab Manager
|
||||
|
||||
- Improved notification email to the member when a rolling subscription is taken
|
||||
- Handle Ctrl^C in upgrade scripts
|
||||
- Updated moment-timezone
|
||||
|
||||
|
@ -2,4 +2,9 @@
|
||||
|
||||
<p><%= t('.body.plan_subscribed_html', PLAN: @attached_object.plan.human_readable_name) %></p>
|
||||
|
||||
<p><%= t('.body.subscription_stops_on', DATE: I18n.l(@attached_object.expired_at.to_date)) %><br/></p>
|
||||
<% if @attached_object.plan.is_rolling && @recipient.trainings.count.zero? %>
|
||||
<% duration = I18n.t("duration.#{@attached_object.plan.interval}", count: @attached_object.plan.interval_count) %>
|
||||
<p><%= t('.body.rolling_subscription_stops_on', DURATION: duration, DATE: I18n.l(@attached_object.expired_at.to_date)) %><br/></p>
|
||||
<% else %>
|
||||
<p><%= t('.body.subscription_stops_on', DATE: I18n.l(@attached_object.expired_at.to_date)) %><br/></p>
|
||||
<% end %>
|
||||
|
@ -80,7 +80,8 @@ en:
|
||||
subject: "Your subscription has been successfully purchased"
|
||||
body:
|
||||
plan_subscribed_html: "You have subscribed the plan: <strong><em>%{PLAN}</em></strong>."
|
||||
subscription_stops_on: "Your subscription plan will end on %{DATE}"
|
||||
rolling_subscription_stops_on: "Your subscription will end %{DURATION} after your first training. Otherwise, it will stop on %{DATE}."
|
||||
subscription_stops_on: "Your subscription will end on %{DATE}."
|
||||
|
||||
notify_member_create_reservation:
|
||||
subject: "Your reservation has been successfully saved"
|
||||
|
@ -80,7 +80,8 @@ es:
|
||||
subject: "Su suscripción ha sido correctamente comprada"
|
||||
body:
|
||||
plan_subscribed_html: "Se ha suscrito al plan: <strong><em>%{PLAN}</em></strong>."
|
||||
subscription_stops_on: "Su suscripción terminará el %{DATE}"
|
||||
rolling_subscription_stops_on: "Su suscripción terminará %{DURATION} después de su primer entrenamiento. De lo contrario, se detendrá el %{DATE}."
|
||||
subscription_stops_on: "Su suscripción terminará el %{DATE}."
|
||||
|
||||
notify_member_create_reservation:
|
||||
subject: "Su reserva se ha registrado correctamente"
|
||||
|
@ -80,7 +80,8 @@ fr:
|
||||
subject: "Votre abonnement a bien été souscrit"
|
||||
body:
|
||||
plan_subscribed_html: "Vous avez souscrit à l'abonnement : <strong><em>%{PLAN}</em></strong>."
|
||||
subscription_stops_on: "Votre abonnement s'arrêtera automatiquement le %{DATE}"
|
||||
rolling_subscription_stops_on: "Votre abonnement s'arrêtera automatiquement %{DURATION} après votre première formation. À défaut, il s'arrêtera le %{DATE}."
|
||||
subscription_stops_on: "Votre abonnement s'arrêtera automatiquement le %{DATE}."
|
||||
|
||||
notify_member_create_reservation:
|
||||
subject: "Votre réservation a bien été enregistrée"
|
||||
|
@ -80,7 +80,8 @@ pt:
|
||||
subject: "Sua assinatura foi adquirida com êxito"
|
||||
body:
|
||||
plan_subscribed_html: "Você assinou o plano: <strong><em>%{PLAN}</em></strong>."
|
||||
subscription_stops_on: "Seu plano de assinatura termina em %{DATE}"
|
||||
rolling_subscription_stops_on: "Sua assinatura encerrará %{DURATION} após seu primeiro treinamento. Caso contrário, ele será interrompido em %{DATE}."
|
||||
subscription_stops_on: "Sua assinatura será encerrada em %{DATE}."
|
||||
|
||||
notify_member_create_reservation:
|
||||
subject: "Sua reserva foi salva com sucesso"
|
||||
|
Loading…
x
Reference in New Issue
Block a user