summaryrefslogtreecommitdiff
path: root/templates/mod
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod')
-rw-r--r--templates/mod/debug/apc.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/templates/mod/debug/apc.html b/templates/mod/debug/apc.html
index 53f59eb0..0aa05e9f 100644
--- a/templates/mod/debug/apc.html
+++ b/templates/mod/debug/apc.html
@@ -5,19 +5,14 @@
<th class="minimal">Created</th>
<th class="minimal">Expires</th>
<th class="minimal">Size</th>
- <th>Value</th>
</tr>
{% for var in cached_vars %}
<tr>
- <td class="minimal">{{ var.key }}</td>
+ <td class="minimal">{% if var.key %}{{ var.key }}{% else %}{{ var.info }}{% endif %}</td>
<td class="minimal">{{ var.num_hits }}</td>
<td class="minimal">{{ var.creation_time|ago }} ago</td>
- <td class="minimal">{{ (var.creation_time + var.ttl)|until }} (ttl: {{ var.ttl }}s)</td>
+ <td class="minimal">{{ (var.creation_time + var.ttl)|until }} (ttl: {{ (time() + var.ttl)|until }})</td>
<td class="minimal">{{ var.mem_size }} bytes</td>
- <td style="word-wrap:break-word">
- {% set value = var.value|json_encode %}
- <code>{{ value[:80]|e('html') }}{% if value|length > 80 %}&hellip;{% endif %}</code>
- </td>
</tr>
{% endfor %}
</table> \ No newline at end of file