diff --git a/gitweb.cgi b/gitweb.cgi index 80a883d80f..4363621f91 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");