diff options
Diffstat (limited to 'app/views/notify/member_invited_email_experiment.html.haml')
-rw-r--r-- | app/views/notify/member_invited_email_experiment.html.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/notify/member_invited_email_experiment.html.haml b/app/views/notify/member_invited_email_experiment.html.haml new file mode 100644 index 00000000000..5cfb6acee05 --- /dev/null +++ b/app/views/notify/member_invited_email_experiment.html.haml @@ -0,0 +1,12 @@ +%tr + %td.text-content + %h2.invite-header + = s_('InviteEmail|You are invited!') + %p + - if member.created_by + = html_escape(s_("InviteEmail|%{inviter} invited you")) % { inviter: (link_to member.created_by.name, user_url(member.created_by)).html_safe } + = html_escape(s_("InviteEmail|to join the %{strong_start}%{project_or_group_name}%{strong_end}")) % { strong_start: '<strong>'.html_safe, strong_end: '</strong>'.html_safe, project_or_group_name: member_source.human_name } + %br + = s_("InviteEmail|%{project_or_group} as a %{role}") % { project_or_group: member_source.model_name.singular, role: member.human_access.downcase } + %p.invite-actions + = link_to s_('InviteEmail|Join now'), invite_url(@token, @invite_url_params), class: 'invite-btn-join' |