diff --git a/app/views/user_mailer/feedback_complete.html.erb b/app/views/user_mailer/feedback_complete.html.erb index 2d7a663..dd2fe73 100644 --- a/app/views/user_mailer/feedback_complete.html.erb +++ b/app/views/user_mailer/feedback_complete.html.erb @@ -1,11 +1,18 @@ -<% +<% requestor = @requestor.name(false) - recipient_name = @user.name(false) + recipient_name = @user.name(false) plan_name = @plan.title tool_name = Rails.configuration.branding[:application][:name] %>

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

-

<%= _('%{commenter} has finished providing feedback on the plan "%{plan_title}". To view the comments, please visit the My Dashboard page in %{tool_name} and open your plan.') % { commenter: requestor, plan_title: plan_name, tool_name: tool_name } %>

+ +

+ <%= _("%{commenter} has finished providing feedback on the plan \"%{link_html}\". To view the comments, please visit the My Dashboard page in %{tool_name} and open your plan. Plan comments can be found adjacent to your answers in the tabbed panel next to guidance.").html_safe % { + commenter: requestor, + link_html: link_to(plan_name, plan_url(@plan)), + tool_name: tool_name + }%> +

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