gitlab-org--gitlab-foss/app/views/layouts/notify.html.haml

54 lines
1.4 KiB
Plaintext
Raw Normal View History

%html{lang: "en"}
2011-10-08 21:36:38 +00:00
%head
%meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
2011-10-08 21:36:38 +00:00
%title
GitLab
:css
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
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-05-28 20:09:07 +00:00
}
2013-03-12 08:46:04 +00:00
%body
%div.content
= yield
%div.footer{style: "margin-top: 10px;"}
%p
—
%br
- if @target_url
- if @reply_by_email
Reply to this email directly or
#{link_to "view it on GitLab", @target_url}.
- else
#{link_to "View it on GitLab", @target_url}.
2015-10-18 13:24:04 +00:00
%br
2015-11-11 13:40:47 +00:00
-# 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
2016-01-11 13:23:45 +00:00
- 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-18 13:24:04 +00:00
= email_action @target_url