mercurial/templates/monoblue/changelogentry.tmpl
author Anton Shestakov <av6@dwimlabs.net>
Wed, 15 Nov 2017 19:36:16 +0800
changeset 35061 e9a8a941950a
parent 35060 f9b23fa35cb3
permissions -rw-r--r--
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.

<h3 class="changelog">
    <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">
        {desc|strip|firstline|escape|nonempty}
        {alltags}
    </a>
</h3>
<ul class="changelog-entry">
    <li class="age">{date|rfc822date}</li>
    <li>by <span class="name">{author|obfuscate}</span> <span class="revdate">[{date|rfc822date}] rev {rev}</span></li>
    <li class="description">{desc|strip|escape|websub|addbreaks|nonempty}</li>
</ul>