Some APC libraries/versions do stuff differently.
This commit is contained in:
parent
fcbc211314
commit
4ce6218ba0
@ -8,10 +8,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% for var in cached_vars %}
|
{% for var in cached_vars %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="minimal">{% if var.key %}{{ var.key }}{% else %}{{ var.info }}{% endif %}</td>
|
<td class="minimal">{{ var.key ? var.key : var.info }}</td>
|
||||||
<td class="minimal">{{ var.num_hits }}</td>
|
<td class="minimal">{{ var.nhits ? var.nhits : var.num_hits }}</td>
|
||||||
<td class="minimal">{{ var.creation_time|ago }} ago</td>
|
<td class="minimal">{{ (var.ctime ? var.ctime : var.creation_time)|ago }} ago</td>
|
||||||
<td class="minimal">{{ (var.creation_time + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td>
|
<td class="minimal">{{ ((var.ctime ? var.ctime : var.creation_time) + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td>
|
||||||
<td class="minimal">{{ var.mem_size }} bytes</td>
|
<td class="minimal">{{ var.mem_size }} bytes</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user