Commit 87eda15b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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
parents c8ac0ab3 6a6803c2
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
%ul %ul
- @commits.each do |commit| - @commits.each do |commit|
%li %li
#{commit.short_id} - #{commit.title} %strong #{commit.short_id}
%span by #{commit.author_name}
%pre #{commit.safe_message}
%h4 Changes: %h4 Changes:
- @diffs.each do |diff| - @diffs.each do |diff|
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
\ \
Commits: Commits:
- @commits.each do |commit| - @commits.each do |commit|
#{commit.short_id} - #{truncate(commit.title, length: 40)} #{commit.short_id} by #{commit.author_name}
#{commit.safe_message}
\- - - - -
\ \
\ \
Changes: Changes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment