This commit is contained in:
Michael Foster 2013-09-23 10:26:13 +10:00
parent 4ce6218ba0
commit 6eefc5ea2a

View File

@ -8,10 +8,10 @@
</tr>
{% for var in cached_vars %}
<tr>
<td class="minimal">{{ var.key ? var.key : var.info }}</td>
<td class="minimal">{{ var.nhits ? var.nhits : var.num_hits }}</td>
<td class="minimal">{{ (var.ctime ? var.ctime : var.creation_time)|ago }} ago</td>
<td class="minimal">{{ ((var.ctime ? var.ctime : var.creation_time) + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td>
<td class="minimal">{{ var.key is defined ? var.key : var.info }}</td>
<td class="minimal">{{ var.nhits is defined ? var.nhits : var.num_hits }}</td>
<td class="minimal">{{ (var.ctime is defined ? var.ctime : var.creation_time)|ago }} ago</td>
<td class="minimal">{{ ((var.ctime is defined ? var.ctime : var.creation_time) + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td>
<td class="minimal">{{ var.mem_size }} bytes</td>
</tr>
{% endfor %}