diff mercurial/templates/gitweb/map @ 25123:64f403b70a01

hgweb: show changeset branches/tags/bookmarks in file log (style=gitweb) This line for filelogentry template is copied from shortlogentry. The information is already displayed in paper style, so no change to python code is needed. Tests are unaffected.
author Anton Shestakov <engored@ya.ru>
date Fri, 15 May 2015 11:42:09 +0800
parents 09ec4220a839
children dd89304687a3
line wrap: on
line diff
--- a/mercurial/templates/gitweb/map	Sat May 16 00:36:35 2015 -0400
+++ b/mercurial/templates/gitweb/map	Fri May 15 11:42:09 2015 +0800
@@ -293,6 +293,7 @@
     <td>
       <a class="list" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
         <b>{desc|strip|firstline|escape|nonempty}</b>
+        <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
       </a>
     </td>
     <td class="link">