mercurial/templates/atom/tags.tmpl
author Anton Shestakov <av6@dwimlabs.net>
Sun, 26 Jul 2015 00:11:23 +0800
branchstable
changeset 25871 20ed56771b21
parent 18526 9409aeaafdc1
permissions -rw-r--r--
hgweb: show ages in repos' Last modified column in monoblue and gitweb Index page, which shows the list of available repositories, has a column where the last modification date for each repo is shown. paper, coal and spartan already show the dates in relative format (e.g. "2 weeks ago"), because these styles have the required process_dates() js function call in their footer templates, which are included on every page. But monoblue and gitweb styles have more things in the footer templates, such as repo name and its atom/rss links, so they don't include the footer on index page (as this page doesn't have a single repo context). Let's call process_dates() without including the footer.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5269
diff changeset
     1
{header}
18526
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
     2
 <id>{urlbase}{url|urlescape}</id>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
     3
 <link rel="self" href="{urlbase}{url|urlescape}atom-tags"/>
9409aeaafdc1 hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents: 9999
diff changeset
     4
 <link rel="alternate" href="{urlbase}{url|urlescape}tags"/>
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5269
diff changeset
     5
 <title>{repo|escape}: tags</title>
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5269
diff changeset
     6
 <summary>{repo|escape} tag history</summary>
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff changeset
     7
 <author><name>Mercurial SCM</name></author>
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5269
diff changeset
     8
 {latestentry%feedupdated}
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff changeset
     9
8428
5ccca71775e1 atom/rss: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5269
diff changeset
    10
{entriesnotip%tagentry}
5269
46c5e1ee8aaa Added support for the Atom syndication format
Robert Bachmann <rbach@rbach.priv.at>
parents:
diff changeset
    11
</feed>