# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 2015-06-30 15:31:19
# Node ID def530e77b0bb6327e6b1282c61b089d15d72d86
# Parent  51658e676cc366edf8c83a5cc72bd75070907058

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).

diff --git a/mercurial/templates/gitweb/help.tmpl b/mercurial/templates/gitweb/help.tmpl
--- a/mercurial/templates/gitweb/help.tmpl
+++ b/mercurial/templates/gitweb/help.tmpl
@@ -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"
diff --git a/mercurial/templates/gitweb/helptopics.tmpl b/mercurial/templates/gitweb/helptopics.tmpl
--- a/mercurial/templates/gitweb/helptopics.tmpl
+++ b/mercurial/templates/gitweb/helptopics.tmpl
@@ -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"
diff --git a/mercurial/templates/monoblue/help.tmpl b/mercurial/templates/monoblue/help.tmpl
--- a/mercurial/templates/monoblue/help.tmpl
+++ b/mercurial/templates/monoblue/help.tmpl
@@ -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>
diff --git a/mercurial/templates/monoblue/helptopics.tmpl b/mercurial/templates/monoblue/helptopics.tmpl
--- a/mercurial/templates/monoblue/helptopics.tmpl
+++ b/mercurial/templates/monoblue/helptopics.tmpl
@@ -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>