changeset 23784:8f7e839aaa70

hgweb: move archive entries outside of <li> in monoblue style archiveentry already includes surrounding <li></li>, so putting archive entries inside <li> element produced incorrect markup.
author Anton Shestakov <engored@ya.ru>
date Fri, 09 Jan 2015 22:53:38 +0800
parents ee1bf2b5a780
children cb99bacb9b4e
files mercurial/templates/monoblue/changelog.tmpl mercurial/templates/monoblue/changeset.tmpl mercurial/templates/monoblue/manifest.tmpl mercurial/templates/monoblue/notfound.tmpl mercurial/templates/monoblue/search.tmpl
diffstat 5 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/monoblue/changelog.tmpl	Fri Jan 09 15:24:55 2015 +0800
+++ b/mercurial/templates/monoblue/changelog.tmpl	Fri Jan 09 22:53:38 2015 +0800
@@ -25,7 +25,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>
-            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li>
+            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li>
+            {archives%archiveentry}
 	    <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
         </ul>
     </div>
--- a/mercurial/templates/monoblue/changeset.tmpl	Fri Jan 09 15:24:55 2015 +0800
+++ b/mercurial/templates/monoblue/changeset.tmpl	Fri Jan 09 22:53:38 2015 +0800
@@ -32,7 +32,8 @@
 
     <ul class="submenu">
         <li class="current">changeset</li>
-        <li><a href="{url|urlescape}raw-rev/{node|short}">raw</a> {archives%archiveentry}</li>
+        <li><a href="{url|urlescape}raw-rev/{node|short}">raw</a></li>
+        {archives%archiveentry}
     </ul>
 
     <h2 class="no-link no-border">changeset</h2>
--- a/mercurial/templates/monoblue/manifest.tmpl	Fri Jan 09 15:24:55 2015 +0800
+++ b/mercurial/templates/monoblue/manifest.tmpl	Fri Jan 09 22:53:38 2015 +0800
@@ -31,7 +31,7 @@
     </div>
 
     <ul class="submenu">
-        <li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a> {archives%archiveentry}</li>
+        <li><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a></li>
         {archives%archiveentry}
     </ul>
 
--- a/mercurial/templates/monoblue/notfound.tmpl	Fri Jan 09 15:24:55 2015 +0800
+++ b/mercurial/templates/monoblue/notfound.tmpl	Fri Jan 09 22:53:38 2015 +0800
@@ -25,7 +25,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>
-            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}</li>
+            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li>
+            {archives%archiveentry}
             <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
         </ul>
     </div>
--- a/mercurial/templates/monoblue/search.tmpl	Fri Jan 09 15:24:55 2015 +0800
+++ b/mercurial/templates/monoblue/search.tmpl	Fri Jan 09 22:53:38 2015 +0800
@@ -25,7 +25,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>
-            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>{archives%archiveentry}
+            <li><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a></li>
+            {archives%archiveentry}
             <li><a href="{url|urlescape}help{sessionvars%urlparameter}">help</a></li>
         </ul>
     </div>