hibernating - just one nightly per day
[infrastructure.git] / gitweb / gitweb.cgi
index e002db9..5a9ebcf 100755 (executable)
@@ -3761,13 +3761,16 @@ sub git_tags_body {
                        print " ";
                }
                print "</td>\n" .
-                     "<td class=\"link\">" . " | " .
-                     $cgi->a({-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})}, $tag{'reftype'});
+                     "<td class=\"link\">" . " | " ;
                if ($tag{'reftype'} eq "commit") {
-                       print " | " . $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'fullname'})}, "shortlog") .
-                             " | " . $cgi->a({-href => href(action=>"log", hash=>$tag{'fullname'})}, "log");
+                 print $cgi->a({-class=>"commit",-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})}, 
+                               substr($tag{'refid'},0,9));
+                 print " | " . $cgi->a({-href => href(action=>"shortlog", hash=>$tag{'fullname'})}, "shortlog") .
+                   " | " . $cgi->a({-href => href(action=>"log", hash=>$tag{'fullname'})}, "log");
                } elsif ($tag{'reftype'} eq "blob") {
                        print " | " . $cgi->a({-href => href(action=>"blob_plain", hash=>$tag{'refid'})}, "raw");
+               } else {
+                 print $cgi->a({-href => href(action=>$tag{'reftype'}, hash=>$tag{'refid'})}, $tag{'reftype'});
                }
                print "</td>\n" .
                      "</tr>";