hgweb: show changeset branches/tags/bookmarks in file log (style=monoblue)
authorAnton Shestakov <engored@ya.ru>
Fri, 15 May 2015 11:52:39 +0800
changeset 25124 d08a13215d1a
parent 25123 64f403b70a01
child 25125 bd625cd4e5e7
hgweb: show changeset branches/tags/bookmarks in file log (style=monoblue) As for the gitweb style, this line for filelogentry template is copied from shortlogentry. No change to python code is needed. Tests are unaffected.
mercurial/templates/monoblue/map
--- a/mercurial/templates/monoblue/map	Fri May 15 11:42:09 2015 +0800
+++ b/mercurial/templates/monoblue/map	Fri May 15 11:52:39 2015 +0800
@@ -247,6 +247,7 @@
     <td>
       <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
         {desc|strip|firstline|escape|nonempty}
+        <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>
       </a>
     </td>
     <td class="nowrap">