Wrap commit message in EmailsOnPush email.

See #1867.
This commit is contained in:
Douwe Maan 2015-02-25 14:37:15 +01:00
parent ae70a80fc2
commit 769f137a53
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,9 @@
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}

View File

@ -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"}: