From 060be53797af37c0dbe05b8f0fa8393f44a32cfc Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 24 Jan 2013 19:25:07 +1100 Subject: Show "most recent" in anti-spam debug page --- templates/mod/debug/antispam.html | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'templates') diff --git a/templates/mod/debug/antispam.html b/templates/mod/debug/antispam.html index a846bc17..95aa61a6 100644 --- a/templates/mod/debug/antispam.html +++ b/templates/mod/debug/antispam.html @@ -1,3 +1,44 @@ +

+ Most recent: +

+ + + + + + + + + + {% for hash in recent %} + + + + + + + + + {% endfor %} +
BoardThreadHash (SHA1)CreatedExpiresPassed
{{ config.board_abbreviation|sprintf(hash.board) }} + {% if hash.thread %} + {{ hash.thread }} + {% else %} + - + {% endif %} + {{ hash.hash }} + + {{ hash.created|ago }} ago + + {% if hash.expires %} + + {{ hash.expires|until }} + + {% else %} + - + {% endif %} + {{ hash.passed }}
+

Most used (in active):

@@ -38,6 +79,7 @@ {% endfor %} +

Total: {{ total }} ({{ expiring }} set to expire)

-- cgit v1.3