diff --git a/gitweb.cgi b/gitweb.cgi index b0b515efbb..378fe2ea88 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -15,7 +15,7 @@ use CGI::Carp qw(fatalsToBrowser); use Fcntl ':mode'; my $cgi = new CGI; -my $version = "238"; +my $version = "239"; my $my_url = $cgi->url(); my $my_uri = $cgi->url(-absolute => 1); my $rss_link = ""; @@ -236,7 +236,7 @@ body { font-family: sans-serif; font-size: 12px; margin:0px; border:solid #d9d8d a { color:#0000cc; } a:hover, a:visited, a:active { color:#880000; } div.page_header { height:25px; padding:8px; font-size:18px; font-weight:bold; background-color:#d9d8d1; } -div.page_header a:visited { color:#0000cc; } +div.page_header a:visited, a.header { color:#0000cc; } div.page_header a:hover { color:#880000; } div.page_nav { padding:8px; } div.page_nav a:visited { color:#0000cc; } @@ -795,24 +795,29 @@ sub git_project_list { } print "
Project | \n"; } else { - print "" . $cgi->a({-class => "list", -href => "$my_uri?o=project"}, "Project") . " | \n"; + print "" . $cgi->a({-class => "header", -href => "$my_uri?o=project"}, "Project") . " | \n"; + } + if (defined($order) && ($order eq "descr")) { + @projects = sort {$a->{'descr'} cmp $b->{'descr'}} @projects; + print "Description | \n"; + } else { + print "" . $cgi->a({-class => "header", -href => "$my_uri?o=descr"}, "Description") . " | \n"; } - print "Description | \n"; if (defined($order) && ($order eq "owner")) { @projects = sort {$a->{'owner'} cmp $b->{'owner'}} @projects; print "Owner | \n"; } else { - print "" . $cgi->a({-class => "list", -href => "$my_uri?o=owner"}, "Owner") . " | \n"; + print "" . $cgi->a({-class => "header", -href => "$my_uri?o=owner"}, "Owner") . " | \n"; } if (defined($order) && ($order eq "age")) { @projects = sort {$a->{'commit'}{'age'} <=> $b->{'commit'}{'age'}} @projects; - print "last change | \n"; + print "Last Change | \n"; } else { - print "" . $cgi->a({-class => "list", -href => "$my_uri?o=age"}, "last change") . " | \n"; + print "" . $cgi->a({-class => "header", -href => "$my_uri?o=age"}, "Last Change") . " | \n"; } print "\n" . " |
---|