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
|
|
|
|
= 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
|
2018-06-13 02:30:40 -04:00
|
|
|
#{link_to _("View it on GitLab"), @target_url}.
|
2015-10-18 09:24:04 -04:00
|
|
|
%br
|
2016-03-01 11:33:13 -05:00
|
|
|
-# Don't link the host in the line below, one link in the email is easier to quickly click than two.
|
2019-12-04 16:07:31 -05:00
|
|
|
= notification_reason_text(@reason)
|
2015-12-09 05:59:25 -05:00
|
|
|
If you'd like to receive fewer emails, you can
|
2016-03-01 11:33:13 -05:00
|
|
|
- if @labels_url
|
|
|
|
adjust your #{link_to 'label subscriptions', @labels_url}.
|
|
|
|
- else
|
2017-03-21 11:28:47 -04:00
|
|
|
- if @unsubscribe_url
|
|
|
|
= link_to "unsubscribe", @unsubscribe_url
|
2016-03-01 11:33:13 -05:00
|
|
|
from this thread or
|
|
|
|
adjust your notification settings.
|
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
|