2016-12-26 05:47:16 -05:00
|
|
|
%html{ lang: "en" }
|
2011-10-08 17:36:38 -04:00
|
|
|
%head
|
2016-12-26 05:47:16 -05:00
|
|
|
%meta{ content: "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
2016-01-28 11:54:13 -05:00
|
|
|
%title
|
|
|
|
GitLab
|
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'
|
2016-05-12 11:06:14 -04:00
|
|
|
= yield :head
|
2013-03-12 04:46:04 -04:00
|
|
|
%body
|
2016-12-23 04:37:12 -05:00
|
|
|
.content
|
2019-02-20 10:18:15 -05:00
|
|
|
= html_header_message
|
2014-02-18 08:27:39 -05:00
|
|
|
= yield
|
2016-12-26 05:47:16 -05:00
|
|
|
.footer{ style: "margin-top: 10px;" }
|
2014-02-18 08:27:39 -05:00
|
|
|
%p
|
2015-07-22 05:31:15 -04:00
|
|
|
—
|
2014-02-18 08:27:39 -05:00
|
|
|
%br
|
|
|
|
- if @target_url
|
2015-08-19 13:17:51 -04:00
|
|
|
- if @reply_by_email
|
2018-08-03 05:50:47 -04:00
|
|
|
= _('Reply to this email directly or %{view_it_on_gitlab}.').html_safe % { view_it_on_gitlab: link_to(_("view it on GitLab"), @target_url) }
|
2015-08-19 13:17:51 -04:00
|
|
|
- else
|
2022-09-27 14:15:03 -04:00
|
|
|
#{link_to _('View it on GitLab'), @target_url}.
|
2015-10-18 09:24:04 -04:00
|
|
|
%br
|
2022-07-06 14:08:29 -04:00
|
|
|
= notification_reason_text(reason: @reason, show_manage_notifications_link: !@labels_url, show_help_link: true, manage_label_subscriptions_url: @labels_url, unsubscribe_url: @unsubscribe_url, format: :html)
|
2015-10-18 09:24:04 -04:00
|
|
|
|
2015-12-09 05:59:25 -05:00
|
|
|
= email_action @target_url
|
2019-05-08 01:26:10 -04:00
|
|
|
|
|
|
|
= render_if_exists 'layouts/email_additional_text'
|
2019-02-20 10:18:15 -05:00
|
|
|
= html_footer_message
|