summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-06-29 22:00:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-06-30 18:06:32 (GMT)
commitf88bafadd9b2562a0cd2500c5a9669d3741243b5 (patch)
treee91247f2749561ee24dae8591dfdc38139bd34b7
parent1c49a4e1f324dcaa000ce92ed44d0e5b9eb16843 (diff)
downloadgit-f88bafadd9b2562a0cd2500c5a9669d3741243b5.zip
git-f88bafadd9b2562a0cd2500c5a9669d3741243b5.tar.gz
git-f88bafadd9b2562a0cd2500c5a9669d3741243b5.tar.bz2
gitweb: uniform author info for commit and commitdiff
Switch from 'log'-like layout A U Thor <email@example.com> [date time] to 'commit'-like layout author A U Thor <email@example.com> date time committer C O Mitter <other.email@example.com> committer date time Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xgitweb/gitweb.perl6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7fd53f6..9a8d775 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -5596,7 +5596,11 @@ sub git_commitdiff {
git_header_html(undef, $expires);
git_print_page_nav('commitdiff','', $hash,$co{'tree'},$hash, $formats_nav);
git_print_header_div('commit', esc_html($co{'title'}) . $ref, $hash);
- git_print_authorship(\%co, -localtime => 1);
+ print "<div class=\"title_text\">\n" .
+ "<table class=\"object_header\">\n";
+ git_print_authorship_rows(\%co);
+ print "</table>".
+ "</div>\n";
print "<div class=\"page_body\">\n";
if (@{$co{'comment'}} > 1) {
print "<div class=\"log\">\n";