* [PATCH 1/2 (resend)] gitweb: Add filename to page title if it is set
@ 2006-06-20 21:40 Jakub Narebski
2006-06-20 21:39 ` [PATCH 2/2 (resend)] gitweb: add '/' to the end of filename in page title for trees Jakub Narebski
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Narebski @ 2006-06-20 21:40 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Jakub Narebski
Signed-off-by: Jakub Narebski
---
gitweb/gitweb.cgi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
a54751bb328072baed5446bdc4076f1e00002737
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 12d5271..1e1a044 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -260,7 +260,10 @@ sub git_header_html {
if (defined $project) {
$title .= " - $project";
if (defined $action) {
+ if (defined $file_name) {
+ $title .= " - $file_name";
+ }
}
}
print $cgi->header(-type=>'text/html', -charset => 'utf-8', -status=> $status, -expires => $expires);
--
1.3.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-20 21:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 21:40 [PATCH 1/2 (resend)] gitweb: Add filename to page title if it is set Jakub Narebski
2006-06-20 21:39 ` [PATCH 2/2 (resend)] gitweb: add '/' to the end of filename in page title for trees Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).