From 4aa2b34e794c39548ef2cc2ff3b3e4139ffb4baa Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 15 Feb 2012 00:21:00 +0200 Subject: [PATCH] Commit show should display author & commiter info --- app/views/commits/show.html.haml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml index 78a225c3..0d0c629d 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 + – + %cite committed by + = @commit.committer_name + %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm") %hr %pre.commit_message