34 lines
1 KiB
Text
34 lines
1 KiB
Text
%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
|
|
- if Feature.enabled?(:enhanced_notify_css)
|
|
= stylesheet_link_tag 'notify_enhanced'
|
|
%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; }
|
|
- else
|
|
= stylesheet_link_tag 'notify'
|
|
= yield :head
|
|
%body
|
|
= html_header_message
|
|
.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
|
|
|
|
= html_footer_message
|