diff --git a/app/views/user_mailer/feedback_notification.html.erb b/app/views/user_mailer/feedback_notification.html.erb index e3007f2..66df44a 100644 --- a/app/views/user_mailer/feedback_notification.html.erb +++ b/app/views/user_mailer/feedback_notification.html.erb @@ -1,12 +1,28 @@ <% FastGettext.with_locale FastGettext.default_locale do %> - <% - recipient_name = @recipient.name(false) + <% + recipient_name = @recipient.name(false) requestor_name = @user.name(false) plan_name = @plan.title tool_name = Rails.configuration.branding[:application][:name] %>

<%= _('Hello %{user_name},') % {user_name: recipient_name} %>

-

<%= _('%{requestor} has requested feedback on a plan "%{plan_name}." To add comments, please visit the \'Plans\' page under the Admin menu in %{application_name} and open the plan.') % {requestor: requestor_name, plan_name: plan_name, application_name: tool_name, allow_change_prefs: false} %>

+ +

+ <%= raw _(%Q{%{requestor} has requested feedback on a plan %{link_html}. To add comments, please visit the 'Plans' page under the Admin menu in %{application_name} and open the plan.}) % { + requestor: requestor_name, + plan_name: plan_name, + application_name: tool_name, + allow_change_prefs: false, + link_html: link_to(plan_name, plan_url(@plan)) + } %> +

+ +

+ Alternatively, you can click the link below:
+ <%= link_to plan_url(@plan), plan_url(@plan) %> +

+ <%= render partial: 'email_signature' %> + <% end %> \ No newline at end of file