comparison mercurial/templates/gitweb/changelogentry.tmpl @ 35061:e9a8a941950a

hgweb: move changeset "tags" to a template in map file (gitweb and monoblue) Less duplication and it's also easier to add extra "tags" everywhere at once. These aren't tags as defined `hg help glossary` (hence the quotes), they are simply called that. They include branch name (in different styles if changeset is a head of that branch or not), (actual) tags and bookmarks. Good candidates to add to this list would be changeset phase and obsoletion status.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 15 Nov 2017 19:36:16 +0800
parents f9b23fa35cb3
children
comparison
equal deleted inserted replaced
35060:f9b23fa35cb3 35061:e9a8a941950a
1 <div> 1 <div>
2 <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> 2 <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
3 <span class="age">{date|rfc822date}</span> 3 <span class="age">{date|rfc822date}</span>
4 {desc|strip|firstline|escape|nonempty} 4 {desc|strip|firstline|escape|nonempty}
5 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> 5 {alltags}
6 </a> 6 </a>
7 </div> 7 </div>
8 <div class="title_text"> 8 <div class="title_text">
9 <div class="log_link"> 9 <div class="log_link">
10 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> 10 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/>