Commit 4aa2b34e794c39548ef2cc2ff3b3e4139ffb4baa
1 parent
b84b485b
Exists in
master
and in
4 other branches
Commit show should display author & commiter info
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
app/views/commits/show.html.haml
@@ -6,6 +6,11 @@ | @@ -6,6 +6,11 @@ | ||
6 | %h5 | 6 | %h5 |
7 | = @commit.author_name | 7 | = @commit.author_name |
8 | %small= @commit.created_at.stamp("Aug 21, 2011 9:23pm") | 8 | %small= @commit.created_at.stamp("Aug 21, 2011 9:23pm") |
9 | + - if @commit.author_name != @commit.committer_name or @commit.author_email != @commit.committer_email or @commit.authored_date != @commit.committed_date | ||
10 | + – | ||
11 | + %cite committed by | ||
12 | + = @commit.committer_name | ||
13 | + %small= @commit.committed_date.stamp("Aug 21, 2011 9:23pm") | ||
9 | 14 | ||
10 | %hr | 15 | %hr |
11 | %pre.commit_message | 16 | %pre.commit_message |