diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-25 14:37:15 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-25 14:37:15 +0100 |
commit | 769f137a5344dbc3748c2fea7c1d560392410ca4 (patch) | |
tree | 67093eebfd3fa41548d364a21b65a8948a3e1fdd /app/views | |
parent | ae70a80fc202822a485cabf78da9774d14055617 (diff) | |
download | gitlab-ce-769f137a5344dbc3748c2fea7c1d560392410ca4.tar.gz |
Wrap commit message in EmailsOnPush email.
See #1867.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/notify.html.haml | 3 | ||||
-rw-r--r-- | app/views/notify/repository_push_email.html.haml | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/views/layouts/notify.html.haml b/app/views/layouts/notify.html.haml index cd23fd3c280..7eec93abdf6 100644 --- a/app/views/layouts/notify.html.haml +++ b/app/views/layouts/notify.html.haml @@ -16,6 +16,9 @@ font-size:small; color:#777 } + pre.commit-message { + white-space: pre-wrap; + } .file-stats a { text-decoration: none; } diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml index 49688470cc5..1a617e2108d 100644 --- a/app/views/notify/repository_push_email.html.haml +++ b/app/views/notify/repository_push_email.html.haml @@ -9,7 +9,8 @@ %div %span by #{commit.author_name} %i at #{commit.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ")} - %pre #{commit.safe_message} + %pre.commit-message + = commit.safe_message %h4 #{pluralize @diffs.count, "changed file"}: |