[PATCH 2 of 2 STABLE] monoblue: link to branches on summary page

Anton Shestakov av6 at dwimlabs.net
Sun Jul 26 06:06:17 CDT 2015


# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1437905110 -28800
#      Sun Jul 26 18:05:10 2015 +0800
# Branch stable
# Node ID 5d040020641d2246b434eed37a0665cd2c4a4579
# Parent  00345d10c2cf6ea4b34a5bc3e8e100b8c24844a5
monoblue: link to branches on summary page

"Tags" and "Bookmarks" sections on this page already have the similar links,
and so does the "Branches" on summary page in gitweb, so let's do the same in
monoblue.

diff --git a/mercurial/templates/monoblue/summary.tmpl b/mercurial/templates/monoblue/summary.tmpl
--- a/mercurial/templates/monoblue/summary.tmpl
+++ b/mercurial/templates/monoblue/summary.tmpl
@@ -66,11 +66,11 @@
         </tr>
     </table>
 
-    <h2 class="no-link">Branches</h2>
+    <h2><a href="{url|urlescape}branches{sessionvars%urlparameter}">Branches</a></h2>
     <table>
     {branches%branchentry}
         <tr class="light">
-          <td colspan="4"><a class="list"  href="#">...</a></td>
+          <td colspan="4"><a class="list" href="{url|urlescape}branches{sessionvars%urlparameter}">...</a></td>
         </tr>
     </table>
 {footer}


More information about the Mercurial-devel mailing list