hgweb: get rid of branchentry template duplication
authorAlexander Plavin <me@aplavin.ru>
Sat, 13 Jul 2013 17:51:24 +0400
changeset 19417 78d1e1029aa4
parent 19416 7ac8eea2f890
child 19418 55b9d98a1ef4
hgweb: get rid of branchentry template duplication
mercurial/templates/paper/branches.tmpl
--- a/mercurial/templates/paper/branches.tmpl	Wed Jul 17 14:25:35 2013 -0500
+++ b/mercurial/templates/paper/branches.tmpl	Sat Jul 13 17:51:24 2013 +0400
@@ -47,18 +47,7 @@
  <th>branch</th>
  <th>node</th>
 </tr>
-{entries %
-' <tr class="tagEntry parity{parity}">
-    <td>
-      <a href="{url|urlescape}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">
-        {branch|escape}
-      </a>
-    </td>
-    <td class="node">
-      {node|short}
-    </td>
-  </tr>'
-}
+{entries % branchentry}
 </table>
 </div>
 </div>