diff mercurial/templates/monoblue/error.tmpl @ 25685:51658e676cc3

hgweb: don't show summary link as active on error pages in monoblue These two error pages in monoblue think they are the summary page, when they clearly aren't.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 30 Jun 2015 22:15:58 +0800
parents 32f76eccbced
children 265196cd7d7f
line wrap: on
line diff
--- a/mercurial/templates/monoblue/error.tmpl	Sun Jun 28 13:22:17 2015 -0400
+++ b/mercurial/templates/monoblue/error.tmpl	Tue Jun 30 22:15:58 2015 +0800
@@ -18,7 +18,7 @@
         </form>
 
         <ul class="page-nav">
-            <li class="current">summary</li>
+            <li><a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a></li>
             <li><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a></li>
             <li><a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a></li>
             <li><a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a></li>