]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: allow action specialization in page header
[Gitweb] / gitweb.perl
index 241b8f1bd266ed6c06fde890b98a02b0714849afaa3a707d781ab4dcc6ee1a07..e4f292add74a2edc8d3060dcd3e9ba084fdfc77a1cc6f7ea8ffb000cd85b630a 100755 (executable)
@@ -3525,7 +3525,15 @@ EOF
        if (defined $project) {
                print $cgi->a({-href => href(action=>"summary")}, esc_html($project));
                if (defined $action) {
-                       print " / $action";
+                       my $action_print = $action ;
+                       if (defined $opts{-action_extra}) {
+                               $action_print = $cgi->a({-href => href(action=>$action)},
+                                       $action);
+                       }
+                       print " / $action_print";
+               }
+               if (defined $opts{-action_extra}) {
+                       print " / $opts{-action_extra}";
                }
                print "\n";
        }
This page took 0.184067 seconds and 4 git commands to generate.