Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiz <miz@hexide.com>2014-12-11 15:18:18 +0300
committerMiz <miz@hexide.com>2014-12-11 15:18:18 +0300
commit2ff60660886008eef2a39bf1f2dcc249bbec8232 (patch)
tree9adf7755eb8f7b27419c1847ff839924f358c333 /app/views/notify/repository_push_email.html.haml
parent9c9dc64a40d0a3c9e7265436e82dbe055320be97 (diff)
Add commit dates to repository-push email tempalte
Diffstat (limited to 'app/views/notify/repository_push_email.html.haml')
-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: