2020-07-28 23:09:34 +05:30
|
|
|
%html{ lang: "en" }
|
|
|
|
%head
|
|
|
|
%meta{ content: "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
|
|
|
-# haml-lint:disable NoPlainNodes
|
|
|
|
%title
|
|
|
|
GitLab
|
|
|
|
-# haml-lint:enable NoPlainNodes
|
2022-05-07 20:08:51 +05:30
|
|
|
- if Feature.enabled?(:enhanced_notify_css)
|
|
|
|
= stylesheet_link_tag 'notify_enhanced'
|
2022-07-23 23:45:48 +05:30
|
|
|
%style{ type: 'text/css', 'data-premailer': 'ignore' }
|
|
|
|
-# The MUA automatically turns some text into links.
|
|
|
|
-# Match the color of explicit links ($blue-600 from typography.scss).
|
|
|
|
a { color: #1068bf; }
|
2022-05-07 20:08:51 +05:30
|
|
|
- else
|
|
|
|
= stylesheet_link_tag 'notify'
|
2020-07-28 23:09:34 +05:30
|
|
|
= yield :head
|
|
|
|
%body
|
|
|
|
.content
|
|
|
|
= yield
|
|
|
|
.footer{ style: "margin-top: 10px;" }
|
|
|
|
%p
|
|
|
|
—
|
|
|
|
%br
|
|
|
|
= link_to "Unsubscribe", @unsubscribe_url
|
|
|
|
|
|
|
|
-# EE-specific start
|
|
|
|
- if Gitlab::CurrentSettings.email_additional_text.present?
|
|
|
|
%br
|
|
|
|
%br
|
|
|
|
= Gitlab::Utils.nlbr(Gitlab::CurrentSettings.email_additional_text)
|
|
|
|
-# EE-specific end
|