changeset 25686:def530e77b0b

hgweb: fix help pages title in gitweb and monoblue Help pages in gitweb and monoblue were setting a completely inappropriate title: "Branches". Let's have a proper title (copy-pasted from paper style).
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 30 Jun 2015 23:31:19 +0800
parents 51658e676cc3
children 984b4554ddf7
files mercurial/templates/gitweb/help.tmpl mercurial/templates/gitweb/helptopics.tmpl mercurial/templates/monoblue/help.tmpl mercurial/templates/monoblue/helptopics.tmpl
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/gitweb/help.tmpl	Tue Jun 30 22:15:58 2015 +0800
+++ b/mercurial/templates/gitweb/help.tmpl	Tue Jun 30 23:31:19 2015 +0800
@@ -1,5 +1,5 @@
 {header}
-<title>{repo|escape}: Branches</title>
+<title>Help: {topic}</title>
 <link rel="alternate" type="application/atom+xml"
    href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/>
 <link rel="alternate" type="application/rss+xml"
--- a/mercurial/templates/gitweb/helptopics.tmpl	Tue Jun 30 22:15:58 2015 +0800
+++ b/mercurial/templates/gitweb/helptopics.tmpl	Tue Jun 30 23:31:19 2015 +0800
@@ -1,5 +1,5 @@
 {header}
-<title>{repo|escape}: Branches</title>
+<title>Help: {title}</title>
 <link rel="alternate" type="application/atom+xml"
    href="{url|urlescape}atom-tags" title="Atom feed for {repo|escape}"/>
 <link rel="alternate" type="application/rss+xml"
--- a/mercurial/templates/monoblue/help.tmpl	Tue Jun 30 22:15:58 2015 +0800
+++ b/mercurial/templates/monoblue/help.tmpl	Tue Jun 30 23:31:19 2015 +0800
@@ -1,5 +1,5 @@
 {header}
-    <title>{repo|escape}: Branches</title>
+    <title>Help: {topic}</title>
     <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/>
     <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/>
 </head>
--- a/mercurial/templates/monoblue/helptopics.tmpl	Tue Jun 30 22:15:58 2015 +0800
+++ b/mercurial/templates/monoblue/helptopics.tmpl	Tue Jun 30 23:31:19 2015 +0800
@@ -1,5 +1,5 @@
 {header}
-    <title>{repo|escape}: Branches</title>
+    <title>Help: {title}</title>
     <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"/>
     <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"/>
 </head>