gitlab-org--gitlab-foss/app/views/layouts/notify.html.haml
Pierre de La Morinerie a220fc5455 Limit the width of images in emails
This fixes an issue in Mail.app, where large images would expand outside
of the viewport.
2014-05-26 10:14:58 +02:00

30 lines
718 B
Text

%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
}
%body
%div.content
= yield
%div.footer{style: "margin-top: 10px;"}
%p
\—
%br
- if @project
You're receiving this notification because you are a member of the #{link_to_unless @target_url, @project.name_with_namespace, project_url(@project)} project team.
- if @target_url
#{link_to "View it on GitLab", @target_url}