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

54 lines
1.4 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"}
%title
GitLab
:css
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
2015-04-26 12:48:37 +05:30
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
2015-09-11 14:41:01 +05:30
}
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
2015-11-26 14:37:03 +05:30
-# Don't link the host is the line below, one link in the email is easier to quickly click than two.
You're receiving this email because of your account on #{Gitlab.config.gitlab.host}.
If you'd like to receive fewer emails, you can
- if @sent_notification && @sent_notification.unsubscribable?
= link_to "unsubscribe", unsubscribe_sent_notification_url(@sent_notification)
from this thread or
adjust your notification settings.
2015-10-24 18:46:33 +05:30
= email_action @target_url