2020-07-14 11:09:05 -04:00
|
|
|
%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-03-15 14:08:10 -04:00
|
|
|
- if Feature.enabled?(:enhanced_notify_css)
|
|
|
|
= stylesheet_link_tag 'notify_enhanced'
|
2022-05-20 14:07:48 -04:00
|
|
|
%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-03-15 14:08:10 -04:00
|
|
|
- else
|
|
|
|
= stylesheet_link_tag 'notify'
|
2020-07-14 11:09:05 -04:00
|
|
|
= 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
|