summaryrefslogtreecommitdiff
path: root/app/views/notify/repository_push_email.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-25 14:37:15 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-25 14:37:15 +0100
commit769f137a5344dbc3748c2fea7c1d560392410ca4 (patch)
tree67093eebfd3fa41548d364a21b65a8948a3e1fdd /app/views/notify/repository_push_email.html.haml
parentae70a80fc202822a485cabf78da9774d14055617 (diff)
downloadgitlab-ce-769f137a5344dbc3748c2fea7c1d560392410ca4.tar.gz
Wrap commit message in EmailsOnPush email.
See #1867.
Diffstat (limited to 'app/views/notify/repository_push_email.html.haml')
-rw-r--r--app/views/notify/repository_push_email.html.haml3
1 files changed, 2 insertions, 1 deletions
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"}: