Mercurial > hg
comparison mercurial/templates/monoblue/map @ 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 | d5a65e3ee6b1 |
comparison
equal
deleted
inserted
replaced
14045:1c38777f7b8a | 14046:b24e5a708fad |
---|---|
137 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> | 137 <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> |
138 </dd>' | 138 </dd>' |
139 tags = tags.tmpl | 139 tags = tags.tmpl |
140 tagentry = ' | 140 tagentry = ' |
141 <tr class="parity{parity}"> | 141 <tr class="parity{parity}"> |
142 <td class="nowrap">{date|age}</td> | 142 <td class="nowrap age">{date|date}</td> |
143 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td> | 143 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td> |
144 <td class="nowrap"> | 144 <td class="nowrap"> |
145 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | | 145 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
146 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | | 146 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
147 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | 147 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
148 </td> | 148 </td> |
149 </tr>' | 149 </tr>' |
150 bookmarks = bookmarks.tmpl | 150 bookmarks = bookmarks.tmpl |
151 bookmarkentry = ' | 151 bookmarkentry = ' |
152 <tr class="parity{parity}"> | 152 <tr class="parity{parity}"> |
153 <td class="nowrap">{date|age}</td> | 153 <td class="nowrap date">{date|date}</td> |
154 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td> | 154 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{bookmark|escape}</a></td> |
155 <td class="nowrap"> | 155 <td class="nowrap"> |
156 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | | 156 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
157 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | | 157 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
158 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | 158 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
159 </td> | 159 </td> |
160 </tr>' | 160 </tr>' |
161 branches = branches.tmpl | 161 branches = branches.tmpl |
162 branchentry = ' | 162 branchentry = ' |
163 <tr class="parity{parity}"> | 163 <tr class="parity{parity}"> |
164 <td class="nowrap">{date|age}</td> | 164 <td class="nowrap age">{date|date}</td> |
165 <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> | 165 <td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{node|short}</a></td> |
166 <td class="{status}">{branch|escape}</td> | 166 <td class="{status}">{branch|escape}</td> |
167 <td class="nowrap"> | 167 <td class="nowrap"> |
168 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | | 168 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | |
169 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | | 169 <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | |
192 branchtag = '<span class="branchtag" title="{name}">{name}</span> ' | 192 branchtag = '<span class="branchtag" title="{name}">{name}</span> ' |
193 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' | 193 inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> ' |
194 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' | 194 bookmarktag = '<span class="bookmarktag" title="{name}">{name}</span> ' |
195 shortlogentry = ' | 195 shortlogentry = ' |
196 <tr class="parity{parity}"> | 196 <tr class="parity{parity}"> |
197 <td class="nowrap">{date|age}</td> | 197 <td class="nowrap age">{date|date}</td> |
198 <td>{author|person}</td> | 198 <td>{author|person}</td> |
199 <td> | 199 <td> |
200 <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> | 200 <a href="{url}rev/{node|short}{sessionvars%urlparameter}"> |
201 {desc|strip|firstline|escape|nonempty} | 201 {desc|strip|firstline|escape|nonempty} |
202 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> | 202 <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span> |
207 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> | 207 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a> |
208 </td> | 208 </td> |
209 </tr>' | 209 </tr>' |
210 filelogentry = ' | 210 filelogentry = ' |
211 <tr class="parity{parity}"> | 211 <tr class="parity{parity}"> |
212 <td class="nowrap">{date|age}</td> | 212 <td class="nowrap age">{date|date}</td> |
213 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> | 213 <td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a></td> |
214 <td class="nowrap"> | 214 <td class="nowrap"> |
215 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> | 215 <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> | <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
216 {rename%filelogrename} | 216 {rename%filelogrename} |
217 </td> | 217 </td> |
220 indexentry = ' | 220 indexentry = ' |
221 <tr class="parity{parity}"> | 221 <tr class="parity{parity}"> |
222 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> | 222 <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td> |
223 <td>{description}</td> | 223 <td>{description}</td> |
224 <td>{contact|obfuscate}</td> | 224 <td>{contact|obfuscate}</td> |
225 <td>{lastchange|age}</td> | 225 <td class="age">{lastchange|date}</td> |
226 <td class="indexlinks">{archives%indexarchiveentry}</td> | 226 <td class="indexlinks">{archives%indexarchiveentry}</td> |
227 <td> | 227 <td> |
228 <div class="rss_logo"> | 228 <div class="rss_logo"> |
229 <a href="{url}rss-log">RSS</a> | 229 <a href="{url}rss-log">RSS</a> |
230 <a href="{url}atom-log">Atom</a> | 230 <a href="{url}atom-log">Atom</a> |