hgweb: move archive entries outside of <li> in monoblue style
authorAnton Shestakov <engored@ya.ru>
Fri, 09 Jan 2015 22:53:38 +0800
changeset 23784 8f7e839aaa70
parent 23783 ee1bf2b5a780
child 23785 cb99bacb9b4e
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.
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
--- 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>