mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
show group in email notif on account creation
This commit is contained in:
parent
5439dc14f5
commit
8bc040ae8b
@ -2,6 +2,7 @@
|
||||
|
||||
## Next release
|
||||
- Prevent showing error message when testing for old versions during upgrade
|
||||
- In the email notification, sent to admins on account creation, show the group of the user
|
||||
|
||||
## v4.7.5 2021 March 08
|
||||
- Fix a bug: unable to compile the assets during the upgrade, if the env file has some whitespaces around the equal sign
|
||||
|
@ -1,6 +1,13 @@
|
||||
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
||||
|
||||
<p><%= t('.body.new_account_created') %> "<%= @attached_object&.profile&.full_name || t('api.notifications.deleted_user') %> <<%= @attached_object.email%>>"</p>
|
||||
<p>
|
||||
<%= t('.body.new_account_created') %>
|
||||
"<%= @attached_object&.profile&.full_name || t('api.notifications.deleted_user') %> <<%= @attached_object.email%>>"
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<%= t('.body.user_of_group_html', { GROUP: @attached_object&.group&.name }) %>
|
||||
</p>
|
||||
|
||||
<% if @attached_object.invoicing_profile.organization %>
|
||||
<p><%= t('.body.account_for_organization') %> <%= @attached_object.invoicing_profile.organization.name %></p>
|
||||
|
@ -100,6 +100,7 @@ en:
|
||||
subject: "A user account has been created"
|
||||
body:
|
||||
new_account_created: "A new user account has been created on the website:"
|
||||
user_of_group_html: "The user has registered in the group <strong>%{GROUP}</strong>"
|
||||
account_for_organization: "This account manage an organization:"
|
||||
notify_admin_subscribed_plan:
|
||||
subject: "A subscription has been purchased"
|
||||
|
@ -100,6 +100,7 @@ fr:
|
||||
subject: "Un compte utilisateur a été créé"
|
||||
body:
|
||||
new_account_created: "Un nouveau compte utilisateur vient d'être créé sur la plateforme :"
|
||||
user_of_group_html: "L'utilisateur s'est inscrit dans le groupe <strong>%{GROUP}</strong>"
|
||||
account_for_organization: "Ce compte gère une structure :"
|
||||
notify_admin_subscribed_plan:
|
||||
subject: "Un abonnement a été souscrit"
|
||||
|
Loading…
x
Reference in New Issue
Block a user