diff --git a/app/views/branded/user_mailer/permissions_change_notification.html.erb b/app/views/branded/user_mailer/permissions_change_notification.html.erb new file mode 100644 index 000000000..527c58686 --- /dev/null +++ b/app/views/branded/user_mailer/permissions_change_notification.html.erb @@ -0,0 +1,12 @@ +

+ <%= _('Hello %{username}') %{ username: @role.user.name } %> +

+

+ <%= _('Your permissions relating to %{plan_title} have changed. You now have %{type} access. This means you can %{placeholder1} %{placeholder2}') % { + plan_title: @plan_title, + type: @messaging[:type], + placeholder1: @messaging[:placeholder1], + placeholder2: @messaging[:placeholder2] + } %> +

+<%= render partial: 'email_signature' %> diff --git a/ugent/CHANGES.txt b/ugent/CHANGES.txt index 23af9f4b0..073c02772 100644 --- a/ugent/CHANGES.txt +++ b/ugent/CHANGES.txt @@ -19,6 +19,14 @@ sets path of wkhtmltopdf (like in DMPonline_v4) +- app/views/branded/user_mailer/permissions_change_notification.html.erb + + overrides app/views/user_mailer/permissions_change_notification.html.erb + + Fixes issue locally https://github.com/DMPRoadmap/roadmap/issues/2955 + + To be removed when issue is solved and branch merged + - app/views/branded/org_admin/shared/_theme_selector.html.erb overrides app/views/org_admin/shared/_theme_selector.html.erb