summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-15 00:21:00 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-15 00:21:00 +0200
commit4aa2b34e794c39548ef2cc2ff3b3e4139ffb4baa (patch)
treefcefc442c64e1c8cff3f4d90c8c80aa9beba7a57
parentb84b485bbe8f9b39729aede42a9fe437f700e26b (diff)
downloadgitlab-ce-4aa2b34e794c39548ef2cc2ff3b3e4139ffb4baa.tar.gz
Commit show should display author & commiter info
-rw-r--r--app/views/commits/show.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml
index 78a225c30e5..0d0c629da7f 100644
--- a/app/views/commits/show.html.haml
+++ b/app/views/commits/show.html.haml
@@ -6,6 +6,11 @@
%h5
= @commit.author_name
%small= @commit.created_at.stamp("Aug 21, 2011 9:23pm")
+ - if @commit.author_name != @commit.committer_name or @commit.author_email != @commit.committer_email or @commit.authored_date != @commit.committed_date
+ &ndash;
+ %cite committed by
+ = @commit.committer_name
+ %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm")
%hr
%pre.commit_message