Bolden the current item in .page_subhead
[gitweb] / gitweb.cgi
index 515d80cbded1e58b0ed9d2f5e34280752b23f4df..1de74b658fa613e490aea3ac12eb3a6c533fd8e1 100755 (executable)
@@ -4432,7 +4432,7 @@ sub git_print_page_nav {
        print "<div class=\"page_nav\">\n" .
                (join " | ",
                 map { $_ eq $current ?
-                      $_ : $cgi->a({-href => ($arg{$_}{_href} ? $arg{$_}{_href} : href(%{$arg{$_}}))}, "$_")
+                      $cgi->span({-class => "current"}, $_) : $cgi->a({-href => ($arg{$_}{_href} ? $arg{$_}{_href} : href(%{$arg{$_}}))}, "$_")
                 } @navs);
        print "<br/>\n$extra" if defined $extra; # pager or formats
        print "</div>\n";