Remove owner column on front page.
authormwolson_admin <mwolson_admin@deleuze.hcoop.net>
Sun, 22 Jun 2008 07:32:06 +0000 (03:32 -0400)
committermwolson_admin <mwolson_admin@deleuze.hcoop.net>
Sun, 22 Jun 2008 07:32:06 +0000 (03:32 -0400)
gitweb.cgi

index a720677..945a9bd 100755 (executable)
@@ -3616,15 +3616,6 @@ sub git_project_list_body {
                                       -class => "header"}, "Description") .
                              "</th>\n";
                }
                                       -class => "header"}, "Description") .
                              "</th>\n";
                }
-               if ($order eq "owner") {
-                       @projects = sort {$a->{'owner'} cmp $b->{'owner'}} @projects;
-                       print "<th>Owner</th>\n";
-               } else {
-                       print "<th>" .
-                             $cgi->a({-href => href(project=>undef, order=>'owner'),
-                                      -class => "header"}, "Owner") .
-                             "</th>\n";
-               }
                if ($order eq "age") {
                        @projects = sort {$a->{'age'} <=> $b->{'age'}} @projects;
                        print "<th>Last Change</th>\n";
                if ($order eq "age") {
                        @projects = sort {$a->{'age'} <=> $b->{'age'}} @projects;
                        print "<th>Last Change</th>\n";
@@ -3659,7 +3650,7 @@ sub git_project_list_body {
                      "<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
                                        -class => "list", -title => $pr->{'descr_long'}},
                                        esc_html($pr->{'descr'})) . "</td>\n" .
                      "<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
                                        -class => "list", -title => $pr->{'descr_long'}},
                                        esc_html($pr->{'descr'})) . "</td>\n" .
-                     "<td><i>" . chop_and_escape_str($pr->{'owner'}, 15) . "</i></td>\n";
+                                        "";
                print "<td class=\"". age_class($pr->{'age'}) . "\">" .
                      (defined $pr->{'age_string'} ? $pr->{'age_string'} : "No commits") . "</td>\n" .
                      "<td class=\"link\">" .
                print "<td class=\"". age_class($pr->{'age'}) . "\">" .
                      (defined $pr->{'age_string'} ? $pr->{'age_string'} : "No commits") . "</td>\n" .
                      "<td class=\"link\">" .