[PATCH 1 of 3] hgweb: put help link in paper/search.tmpl separately for consistency

Anton Shestakov av6 at dwimlabs.net
Fri Jun 12 05:55:35 CDT 2015


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1434094152 -28800
#      Fri Jun 12 15:29:12 2015 +0800
# Node ID 1f4d38cd8af693db2aa42f275e27853ac8607032
# Parent  e8075329c5fbb651508777c15cb6bc9ae33b5dff
hgweb: put help link in paper/search.tmpl separately for consistency

Just a cosmetic markup change, no .css changes required.

diff --git a/mercurial/templates/paper/search.tmpl b/mercurial/templates/paper/search.tmpl
--- a/mercurial/templates/paper/search.tmpl
+++ b/mercurial/templates/paper/search.tmpl
@@ -15,6 +15,8 @@
 <li><a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a></li>
 <li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">bookmarks</a></li>
 <li><a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a></li>
+</ul>
+<ul>
 <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
 </ul>
 </div>
diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -997,6 +997,8 @@ Logs and changes
   <li><a href="/tags">tags</a></li>
   <li><a href="/bookmarks">bookmarks</a></li>
   <li><a href="/branches">branches</a></li>
+  </ul>
+  <ul>
   <li><a href="/help">help</a></li>
   </ul>
   </div>


More information about the Mercurial-devel mailing list