hgweb: fix help pages title in gitweb and monoblue
authorAnton Shestakov <av6@dwimlabs.net>
Tue, 30 Jun 2015 23:31:19 +0800
changeset 25686 def530e77b0b
parent 25685 51658e676cc3
child 25687 984b4554ddf7
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).
mercurial/templates/gitweb/help.tmpl
mercurial/templates/gitweb/helptopics.tmpl
mercurial/templates/monoblue/help.tmpl
mercurial/templates/monoblue/helptopics.tmpl
--- 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>