summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMiz <miz@hexide.com>2014-12-11 14:18:18 +0200
committerMiz <miz@hexide.com>2014-12-11 14:18:18 +0200
commit2ff60660886008eef2a39bf1f2dcc249bbec8232 (patch)
tree9adf7755eb8f7b27419c1847ff839924f358c333 /app
parent9c9dc64a40d0a3c9e7265436e82dbe055320be97 (diff)
downloadgitlab-ce-2ff60660886008eef2a39bf1f2dcc249bbec8232.tar.gz
Add commit dates to repository-push email tempalte
Diffstat (limited to 'app')
-rw-r--r--app/views/notify/repository_push_email.html.haml4
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: