debian-mirror-gitlab/app/views/notify/service_desk_verification_triggered_email.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
1.4 KiB
Text
Raw Normal View History

2023-06-20 00:43:36 +05:30
- user_name = '@' + @triggerer.username
- project_link = @service_desk_setting.project.web_url
- project_link_start = '<a href="%{project_link}" target="_blank" rel="noopener noreferrer" class="highlight">'.html_safe % { project_link: project_link}
- project_name = @service_desk_setting.project.human_name
- project_link_end = '</a>'.html_safe
- strong_open = '<strong>'.html_safe
- strong_close = '</strong>'.html_safe
- email_address = @service_desk_setting.custom_email
- smtp_host = @smtp_address
%tr
%td.text-content
%p
= html_escape(s_('Notify|%{strong_open}%{user_name}%{strong_close} updated the custom email address credentials for the Service Desk of %{project_link_start}%{project_name}%{project_link_end} and triggered the verification process.')) % { user_name: user_name, project_link_start: project_link_start, project_name: project_name, project_link_end: project_link_end, strong_open: strong_open, strong_close: strong_close }
%p
= html_escape(s_('Notify|The provided custom email address is %{strong_open}%{email_address}%{strong_close} and uses the SMTP host %{strong_open}%{smtp_host}%{strong_close}.')) % { email_address: email_address, smtp_host: smtp_host, strong_open: strong_open, strong_close: strong_close }
%p
= s_('Notify|If this was a mistake you can change these settings or deactivate the custom email address in the project settings.')