summaryrefslogtreecommitdiff
path: root/app/views/layouts/notify.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-01-28 17:54:13 +0100
committerDouwe Maan <douwe@selenight.nl>2016-03-19 20:04:10 +0100
commita8aa59e96ef64a11073d7c84a9af93077f98bf8a (patch)
tree12c521bbf5fc005a88c62cbaeeafb547c107fe9b /app/views/layouts/notify.html.haml
parent0ce7c1e494403cba995b77cd9dec09d79256d13d (diff)
downloadgitlab-ce-a8aa59e96ef64a11073d7c84a9af93077f98bf8a.tar.gz
Inline mailer CSS using premailer.
# Conflicts: # Gemfile.lock
Diffstat (limited to 'app/views/layouts/notify.html.haml')
-rw-r--r--app/views/layouts/notify.html.haml30
1 files changed, 3 insertions, 27 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml
index 37b4d562966..2997f59d946 100644
--- a/app/views/layouts/notify.html.haml
+++ b/app/views/layouts/notify.html.haml
@@ -1,33 +1,9 @@
%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
- }
- 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;
- }
+ %title
+ GitLab
+ = stylesheet_link_tag 'notify'
%body
%div.content
= yield