mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
hide expired cache shit
This commit is contained in:
parent
6eefc5ea2a
commit
04cfeaf01c
@ -6,7 +6,7 @@
|
||||
<th class="minimal">Expires</th>
|
||||
<th class="minimal">Size</th>
|
||||
</tr>
|
||||
{% for var in cached_vars %}
|
||||
{% for var in cached_vars if (var.ctime is defined ? var.ctime : var.creation_time) + var.ttl > time() %}
|
||||
<tr>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user