changeset 19417:78d1e1029aa4

hgweb: get rid of branchentry template duplication
author Alexander Plavin <me@aplavin.ru>
date Sat, 13 Jul 2013 17:51:24 +0400
parents 7ac8eea2f890
children 55b9d98a1ef4
files mercurial/templates/paper/branches.tmpl
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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>