Newer
Older
dmpopidor / app / views / user_mailer / sharing_notification.html.erb
@Jimmy Angelakos Jimmy Angelakos on 8 May 2017 1 KB Fixed failing functional & translation tests
<% FastGettext.with_locale FastGettext.default_locale do %>
  <p><%= _('Hello ') %><%= @role.user.name %></p>

  <p><%= _('A colleague has invited you to contribute to their Data Management Plan at ') %><%=Rails.configuration.branding[:application][:name]%></p>

	<p><%= _('You have been given ') %><%= @access_level %><%= _(' access to') %>"<%= link_to @role.plan.title, url_for(action: 'show', controller: 'plans', id: @role.plan.id, locale: FastGettext.default_locale) %>" <%=_(' by ')%><%= @user.firstname %>.</p>

  <p><%= link_to _('Click here'), url_for(action: 'show', controller: 'plans', id: @role.plan.id, locale: FastGettext.default_locale) %><%= _(' to accept the invitation, (or copy ') %><%= url_for(action: 'show', controller: 'plans', id: @role.plan.id, locale: FastGettext.default_locale) %><%= _(' into your browser)')%> 

  <p><%= _('If you don\'t want to accept the invitation, please ignore this email.') %></p>

  <p>
    <%=_('All the best,')%>
    <br />
    <%= _('The ')%><%= Rails.configuration.branding[:application][:name] %><%=_(' team')%>.
  </p>
<% end %>