diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-04 17:42:11 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-04 17:42:11 +0300 |
commit | 6a6803c2f96648638b79d459968b561b03fb5562 (patch) | |
tree | bd4afae30ce4b90f4a8bfb377273d2168d4feaeb /app | |
parent | c8ac0ab392e33e66a6b984774091b8aae9661790 (diff) | |
download | gitlab-ce-6a6803c2f96648638b79d459968b561b03fb5562.tar.gz |
Show full commit message and author name for Email on push service
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/notify/repository_push_email.html.haml | 4 | ||||
-rw-r--r-- | app/views/notify/repository_push_email.text.haml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml index 85a01a567f3..bf358fe70a9 100644 --- a/app/views/notify/repository_push_email.html.haml +++ b/app/views/notify/repository_push_email.html.haml @@ -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| diff --git a/app/views/notify/repository_push_email.text.haml b/app/views/notify/repository_push_email.text.haml index a15b8efe1f7..ac337c7628a 100644 --- a/app/views/notify/repository_push_email.text.haml +++ b/app/views/notify/repository_push_email.text.haml @@ -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: |