Mercurial > hg
comparison mercurial/templates/gitweb/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 | 616ad3f6fd33 |
children | fe9d36a6853e |
comparison
equal
deleted
inserted
replaced
14045:1c38777f7b8a | 14046:b24e5a708fad |
---|---|
30 <a class="title" href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> | 30 <a class="title" href="{url}raw-rev/{node|short}">{desc|strip|escape|firstline|nonempty} <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span></a> |
31 </div> | 31 </div> |
32 <div class="title_text"> | 32 <div class="title_text"> |
33 <table cellspacing="0"> | 33 <table cellspacing="0"> |
34 <tr><td>author</td><td>{author|obfuscate}</td></tr> | 34 <tr><td>author</td><td>{author|obfuscate}</td></tr> |
35 <tr><td></td><td>{date|date} ({date|age})</td></tr> | 35 <tr><td></td><td class="date age">{date|date}</td></tr> |
36 {branch%changesetbranch} | 36 {branch%changesetbranch} |
37 <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr> | 37 <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr> |
38 {parent%changesetparent} | 38 {parent%changesetparent} |
39 {child%changesetchild} | 39 {child%changesetchild} |
40 </table></div> | 40 </table></div> |