Mercurial > hg
view mercurial/templates/spartan/shortlog.tmpl @ 20683:6cb419dd3703
templatekw: move from dict() construction to {} literals
The latter are both faster and more consistent across Python 2 and 3.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 12 Mar 2014 13:20:42 -0400 |
parents | 9409aeaafdc1 |
children | 1cac419ab831 |
line wrap: on
line source
{header} <title>{repo|escape}: shortlog</title> <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}"> <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}"> </head> <body> <div class="buttons"> <a href="{url|urlescape}log/{rev}{sessionvars%urlparameter}">changelog</a> <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> <a href="{url|urlescape}file/{node|short}/{sessionvars%urlparameter}">files</a> {archives%archiveentry} <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <a type="application/rss+xml" href="{url|urlescape}rss-log">rss</a> <a type="application/rss+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / shortlog</h2> <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search1">search:</label> <input name="rev" id="search1" type="text" size="30"> navigate: <small class="navigate">{changenav%navshort}</small> </p> </form> {entries%shortlogentry} <form action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p> <label for="search2">search:</label> <input name="rev" id="search2" type="text" size="30"> navigate: <small class="navigate">{changenav%navshort}</small> </p> </form> {footer}