2017-08-17 22:00:37 +05:30
|
|
|
%html{ lang: "en" }
|
2014-09-02 18:07:02 +05:30
|
|
|
%head
|
2017-08-17 22:00:37 +05:30
|
|
|
%meta{ content: "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
2016-06-02 11:05:42 +05:30
|
|
|
%title
|
|
|
|
GitLab
|
2022-05-07 20:08:51 +05:30
|
|
|
- if Feature.enabled?(:enhanced_notify_css)
|
|
|
|
= stylesheet_link_tag 'notify_enhanced'
|
|
|
|
- else
|
|
|
|
= stylesheet_link_tag 'notify'
|
2016-06-02 11:05:42 +05:30
|
|
|
= yield :head
|
2014-09-02 18:07:02 +05:30
|
|
|
%body
|
2017-08-17 22:00:37 +05:30
|
|
|
.content
|
2019-07-07 11:18:12 +05:30
|
|
|
= html_header_message
|
2014-09-02 18:07:02 +05:30
|
|
|
= yield
|
2017-08-17 22:00:37 +05:30
|
|
|
.footer{ style: "margin-top: 10px;" }
|
2014-09-02 18:07:02 +05:30
|
|
|
%p
|
2015-09-11 14:41:01 +05:30
|
|
|
—
|
2014-09-02 18:07:02 +05:30
|
|
|
%br
|
|
|
|
- if @target_url
|
2015-09-25 12:07:36 +05:30
|
|
|
- if @reply_by_email
|
2018-11-18 11:00:15 +05:30
|
|
|
= _('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-09-25 12:07:36 +05:30
|
|
|
- else
|
2018-11-18 11:00:15 +05:30
|
|
|
#{link_to _("View it on GitLab"), @target_url}.
|
2015-10-24 18:46:33 +05:30
|
|
|
%br
|
2016-06-02 11:05:42 +05:30
|
|
|
-# Don't link the host in the line below, one link in the email is easier to quickly click than two.
|
2020-01-01 13:55:28 +05:30
|
|
|
= notification_reason_text(@reason)
|
2016-01-19 16:12:03 +05:30
|
|
|
If you'd like to receive fewer emails, you can
|
2016-06-02 11:05:42 +05:30
|
|
|
- if @labels_url
|
|
|
|
adjust your #{link_to 'label subscriptions', @labels_url}.
|
|
|
|
- else
|
2017-08-17 22:00:37 +05:30
|
|
|
- if @unsubscribe_url
|
|
|
|
= link_to "unsubscribe", @unsubscribe_url
|
2016-06-02 11:05:42 +05:30
|
|
|
from this thread or
|
|
|
|
adjust your notification settings.
|
2015-10-24 18:46:33 +05:30
|
|
|
|
2016-01-19 16:12:03 +05:30
|
|
|
= email_action @target_url
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
= render_if_exists 'layouts/email_additional_text'
|
2019-07-07 11:18:12 +05:30
|
|
|
= html_footer_message
|