Newer
Older
dmpopidor / app / views / user_mailer / new_comment.html.erb
@Quentin Sonrel Quentin Sonrel on 12 Sep 2018 680 bytes Changed new comment email message
<%
  tool_name = Rails.configuration.branding[:application][:name]
  commenter_name = @commenter.name
  plan_link = link_to(@plan.title, @plan)
  user_name = @collaborator.name
%>
<% FastGettext.with_locale FastGettext.default_locale do %>
  <p>
    <%= _('Hello %{user_name}') %{ :user_name => user_name } %>
  </p>
  <p>
    <%= raw(_('%{commenter_name} has commented on the plan %{plan_link}. To view the comments, '\
    'please visit the My Dashboard page in %{tool_name} and open your plan or click the link above.') %{ :plan_link => plan_link,
    :commenter_name => commenter_name, :tool_name => tool_name }) %>
  </p>
  <%= render partial: 'email_signature' %>
<% end %>