]> Lady’s Gitweb - Gitweb/commit
gitweb: allow action specialization in page header
authorGiuseppe Bilotta <redacted>
Thu, 11 Nov 2010 12:26:13 +0000 (13:26 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:30 +0000 (00:51 -0400)
commitd952c3d6af00cce2d2f7d52b1fabc367a0a1d60c475786aec332919cc48efa36
treef746d35b1593449ce3cdae8e3510c30ede860519f2814480168943295481d63f
parentced72767ed0b0229b853e5f6e3a103b116f5b6b6deb955aaf2758ba2aecc61ce
gitweb: allow action specialization in page header

An optional -action_extra parameter is given to git_header_html() to
identify a variant of the action that is being displayed. For example,
this can be used to specify that the remotes view is being used for a
specific remote and not to display all remotes.

When -action_extra is provided, the action name in the header will be
turned into a link to the action without any arguments or parameters, to
provide a quick link to the non-specific variant of the action.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.230797 seconds and 4 git commands to generate.