diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-28 22:16:32 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-28 22:16:32 +0200 |
commit | 6cf501004b54c1b311ea7c6c364cfb4a88c1060b (patch) | |
tree | de854bcf8afb24e0e88691c1aeaed5f9979aa4e1 | |
parent | 803ca9e8cc58e120c876f876d96ffc15f86630f5 (diff) | |
parent | 2ff60660886008eef2a39bf1f2dcc249bbec8232 (diff) | |
download | gitlab-ce-6cf501004b54c1b311ea7c6c364cfb4a88c1060b.tar.gz |
Merge pull request #8442 from Hexide/dev-email-template-dates
Add commit dates to repository-push email tempalte
-rw-r--r-- | app/views/notify/repository_push_email.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/notify/repository_push_email.html.haml b/app/views/notify/repository_push_email.html.haml index 3cf50bf0826..d678147ec5d 100644 --- a/app/views/notify/repository_push_email.html.haml +++ b/app/views/notify/repository_push_email.html.haml @@ -6,7 +6,9 @@ - @commits.each do |commit| %li %strong #{link_to commit.short_id, project_commit_url(@project, commit)} - %span by #{commit.author_name} + %div + %span by #{commit.author_name} + %i at #{commit.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ")} %pre #{commit.safe_message} %h4 Changes: |