Mercurial > hg
annotate 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 |
rev | line source |
---|---|
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
1 <div> |
35060
f9b23fa35cb3
hgweb: split long lines in gitweb and monoblue (changeset summary and tags)
Anton Shestakov <av6@dwimlabs.net>
parents:
33557
diff
changeset
|
2 <a class="title" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}"> |
f9b23fa35cb3
hgweb: split long lines in gitweb and monoblue (changeset summary and tags)
Anton Shestakov <av6@dwimlabs.net>
parents:
33557
diff
changeset
|
3 <span class="age">{date|rfc822date}</span> |
f9b23fa35cb3
hgweb: split long lines in gitweb and monoblue (changeset summary and tags)
Anton Shestakov <av6@dwimlabs.net>
parents:
33557
diff
changeset
|
4 {desc|strip|firstline|escape|nonempty} |
35061
e9a8a941950a
hgweb: move changeset "tags" to a template in map file (gitweb and monoblue)
Anton Shestakov <av6@dwimlabs.net>
parents:
35060
diff
changeset
|
5 {alltags} |
35060
f9b23fa35cb3
hgweb: split long lines in gitweb and monoblue (changeset summary and tags)
Anton Shestakov <av6@dwimlabs.net>
parents:
33557
diff
changeset
|
6 </a> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
7 </div> |
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
8 <div class="title_text"> |
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
9 <div class="log_link"> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
15375
diff
changeset
|
10 <a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">changeset</a><br/> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
11 </div> |
8427
cebdfdcc3e42
git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents:
8235
diff
changeset
|
12 <i>{author|obfuscate} [{date|rfc822date}] rev {rev}</i><br/> |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
13 </div> |
33557
875b054e5b95
gitweb: preserve whitespace in description
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31625
diff
changeset
|
14 <div class="log_body description">{desc|strip|escape|websub|nonempty} |
875b054e5b95
gitweb: preserve whitespace in description
Gregory Szorc <gregory.szorc@gmail.com>
parents:
31625
diff
changeset
|
15 |
1572
385b8872b8e3
[hgweb] Initial import of the "gitweb" style
Josef "Jeff" Sipek <jeffpc@optonline.net>
parents:
diff
changeset
|
16 </div> |