gitweb: A couple of page title tweaking
[jc: the e-mailed patch did not apply, so I had to guess but I think I got the result right.]
This commit is contained in:
parent
57bd4d3523
commit
7bedd9fc81
@ -261,6 +261,12 @@ sub git_header_html {
|
|||||||
$title .= " - $project";
|
$title .= " - $project";
|
||||||
if (defined $action) {
|
if (defined $action) {
|
||||||
$title .= "/$action";
|
$title .= "/$action";
|
||||||
|
if (defined $file_name) {
|
||||||
|
$title .= " - $file_name";
|
||||||
|
if ($action eq "tree" && $file_name !~ m|/$|) {
|
||||||
|
$title .= "/";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print $cgi->header(-type=>'text/html', -charset => 'utf-8', -status=> $status, -expires => $expires);
|
print $cgi->header(-type=>'text/html', -charset => 'utf-8', -status=> $status, -expires => $expires);
|
||||||
|
Loading…
Reference in New Issue
Block a user