Merge branch 'email-service-full-commit-message' into 'master'

Show full commit message and author name for Email on push service

Fixed #1305

![Screenshot 2014-07-04 17.42.47](https://dev.gitlab.org/uploads/dzaporozhets/gitlabhq/55696faea6/Screenshot_2014-07-04_17.42.47.png)

See merge request !949
This commit is contained in:
Dmitriy Zaporozhets 2014-07-04 19:22:01 +00:00
commit 87eda15b7b
2 changed files with 6 additions and 2 deletions

View File

@ -5,7 +5,9 @@
%ul
- @commits.each do |commit|
%li
#{commit.short_id} - #{commit.title}
%strong #{commit.short_id}
%span by #{commit.author_name}
%pre #{commit.safe_message}
%h4 Changes:
- @diffs.each do |diff|

View File

@ -3,7 +3,9 @@
\
Commits:
- @commits.each do |commit|
#{commit.short_id} - #{truncate(commit.title, length: 40)}
#{commit.short_id} by #{commit.author_name}
#{commit.safe_message}
\- - - - -
\
\
Changes: