diff 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
line wrap: on
line diff
--- a/mercurial/templates/gitweb/changeset.tmpl	Wed Apr 27 21:55:46 2011 -0400
+++ b/mercurial/templates/gitweb/changeset.tmpl	Thu Apr 28 17:02:39 2011 +0200
@@ -32,7 +32,7 @@
 <div class="title_text">
 <table cellspacing="0">
 <tr><td>author</td><td>{author|obfuscate}</td></tr>
-<tr><td></td><td>{date|date} ({date|age})</td></tr>
+<tr><td></td><td class="date age">{date|date}</td></tr>
 {branch%changesetbranch}
 <tr><td>changeset {rev}</td><td style="font-family:monospace">{node|short}</td></tr>
 {parent%changesetparent}