From 820e4f6b6b4141b779c140d08e46fde0aa30117c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 7 Aug 2005 20:17:50 +0200 Subject: [PATCH] v071 --- gitweb.cgi | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gitweb.cgi b/gitweb.cgi index 80a883d80..4363621f9 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -14,7 +14,7 @@ use CGI::Carp qw(fatalsToBrowser); my $cgi = new CGI; -my $version = "070"; +my $version = "071"; my $projectroot = "/pub/scm"; my $home_link = "/git"; my $gitbin = "/usr/bin"; @@ -657,7 +657,8 @@ if ($action eq "blob") { print "

\n"; print "
". escapeHTML($file_name) . "
\n"; print "
\n" . - "
\n";
+	      "
\n" . + "
\n"; foreach my $rev (@revlist) { my %co = git_commit($rev); my $parents = $co{'parents'}; @@ -677,12 +678,16 @@ if ($action eq "blob") { } } if ($found) { - print $co{'age_string'} . "\t " . $co{'author_name'} . " - " . $co{'title'} . " " . - $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev", -class => "link"}, "view") ."\n"; + print "
\n" . + $co{'age_string'} . "" . $co{'title'} . "\n" . + "
"; + print "
\n" . + "view " . + $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$rev"}, "commit") . " | " . + $cgi->a({-href => "$my_uri?p=$project;a=tree;h=$rev"}, "tree") . "

\n" . + "
\n"; } } - print "
\n"; - print ""; git_footer_html(); } else { die_error("", "unknown action"); -- 2.26.2