debian-mirror-gitlab/app/views/layouts/notify.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.3 KiB
Text
Raw Normal View History

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'
2022-07-23 23:45:48 +05:30
%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-05-07 20:08:51 +05:30
- 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
2022-11-25 23:54:43 +05:30
#{link_to _('View it on GitLab'), @target_url}.
2015-10-24 18:46:33 +05:30
%br
2022-08-13 15:12:31 +05:30
= 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-24 18:46:33 +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