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

34 lines
1.1 KiB
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
%html{lang: "en"}
%head
%meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
2016-06-02 11:05:42 +05:30
%title
GitLab
= stylesheet_link_tag 'notify'
= yield :head
2014-09-02 18:07:02 +05:30
%body
%div.content
= yield
%div.footer{style: "margin-top: 10px;"}
%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
Reply to this email directly or
#{link_to "view it on GitLab", @target_url}.
- else
2015-11-26 14:37:03 +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.
2015-11-26 14:37:03 +05:30
You're receiving this email because of your account on #{Gitlab.config.gitlab.host}.
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
2016-09-29 09:46:39 +05:30
- if @sent_notification_url
= link_to "unsubscribe", @sent_notification_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
= email_action @target_url