debian-mirror-gitlab/app/views/notify/new_ssh_key_email.html.haml
2022-10-11 01:57:18 +05:30

4 lines
891 B
Text

- name = sanitize_name(@user.name)
- key_title = html_escape(@key.title)
= (s_("Notify|%{paragraph_start}Hi %{name}!%{paragraph_end} %{paragraph_start}A new public key was added to your account:%{paragraph_end} %{paragraph_start}title: %{key_title}%{paragraph_end} %{paragraph_start}If this key was added in error, you can remove it under %{removal_link}%{paragraph_end}") % { paragraph_start: '<p>'.html_safe,
paragraph_end: '</p>'.html_safe, name: name, key_title: content_tag(:code, key_title), removal_link: link_to(_("SSH Keys"), profile_keys_url) }).html_safe