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

login
register
mail settings
Submitter Anton Shestakov
Date July 26, 2015, 11:06 a.m.
Message ID <5d040020641d2246b434.1437908777@neuro>
Download mbox | patch
Permalink /patch/10062/
State Accepted
Headers show

Comments

Anton Shestakov - July 26, 2015, 11:06 a.m.
# HG changeset patch
# User Anton Shestakov <av6@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.
Matt Mackall - July 26, 2015, 5:03 p.m.
On Sun, 2015-07-26 at 19:06 +0800, Anton Shestakov wrote:
> # HG changeset patch
> # User Anton Shestakov <av6@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

Looks good, queued for stable.

Patch

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}