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