Mercurial > hg
diff mercurial/templates/paper/header.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 | f91e5630ce7e |
children | 9409aeaafdc1 |
line wrap: on
line diff
--- a/mercurial/templates/paper/header.tmpl Wed Apr 27 21:55:46 2011 -0400 +++ b/mercurial/templates/paper/header.tmpl Thu Apr 28 17:02:39 2011 +0200 @@ -4,3 +4,4 @@ <link rel="icon" href="{staticurl}hgicon.png" type="image/png" /> <meta name="robots" content="index, nofollow" /> <link rel="stylesheet" href="{staticurl}style-paper.css" type="text/css" /> +<script type="text/javascript" src="{staticurl}mercurial.js"></script>