Mercurial > hg
view mercurial/templates/monoblue/changeset.tmpl @ 14046:b24e5a708fad
web: Made elapsed time calculation dynamic (javascript).
This allow safe caching of the pages by the browser and still display the right
amount of elapsed time upon page refresh.
If javascript is disabled, absolute time is displayed, leaving it readable.
All the templates have been updated.
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Thu, 28 Apr 2011 17:02:39 +0200 |
parents | b5b84dd43613 |
children | fe9d36a6853e |
line wrap: on
line source
{header} <title>{repo|escape}: changeset {rev}:{node|short}</title> <link rel="alternate" type="application/atom+xml" href="{url}atom-log" title="Atom feed for {repo|escape}"/> <link rel="alternate" type="application/rss+xml" href="{url}rss-log" title="RSS feed for {repo|escape}"/> </head> <body> <div id="container"> <div class="page-header"> <h1><a href="{url}summary{sessionvars%urlparameter}">{repo|escape}</a> / files</h1> <form action="{url}log"> {sessionvars%hiddenformentry} <dl class="search"> <dt><label>Search: </label></dt> <dd><input type="text" name="rev" /></dd> </dl> </form> <ul class="page-nav"> <li><a href="{url}summary{sessionvars%urlparameter}">summary</a></li> <li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> <li><a href="{url}changelog{sessionvars%urlparameter}">changelog</a></li> <li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> <li><a href="{url}bookmarks{sessionvars%urlparameter}">bookmarks</a></li> <li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> <li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> <li><a href="{url}help{sessionvars%urlparameter}">help</a></li> </ul> </div> <ul class="submenu"> <li class="current">changeset</li> <li><a href="{url}raw-rev/{node|short}">raw</a> {archives%archiveentry}</li> </ul> <h2 class="no-link no-border">changeset</h2> <h3 class="changeset"><a href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a></h3> <p class="changeset-age age">{date|date}</p> <dl class="overview"> <dt>author</dt> <dd>{author|obfuscate}</dd> <dt>date</dt> <dd>{date|date}</dd> {branch%changesetbranch} <dt>changeset {rev}</dt> <dd>{node|short}</dd> {parent%changesetparent} {child%changesetchild} </dl> <p class="description">{desc|strip|escape|addbreaks|nonempty}</p> <table> {files} </table> <div class="diff"> {diff} </div> {footer}