diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2013-01-26 15:08:48 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2013-01-26 15:08:48 +0100 |
| commit | e6b9bad788a6d9ae5f203b999925b9368a77536c (patch) | |
| tree | 5d63bffd2418701b8f703050c9f289da74c0be35 /templates/mod/debug/antispam.html | |
| parent | 9b7b1c996f8800efc533dd11a82dffcefdeb726e (diff) | |
| parent | db1b50cfc3a7f3b45891b0ff69db4892b0e6929e (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
mod.php
Diffstat (limited to 'templates/mod/debug/antispam.html')
| -rw-r--r-- | templates/mod/debug/antispam.html | 42 |
1 files changed, 42 insertions, 0 deletions
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,4 +1,45 @@ <p style="text-align:center"> + Most recent: +</p> +<table class="modlog" style="width:700px;margin:auto"> + <tr> + <th>Board</th> + <th>Thread</th> + <th>Hash (SHA1)</th> + <th>Created</th> + <th>Expires</th> + <th>Passed</th> + </tr> + {% for hash in recent %} + <tr> + <td>{{ config.board_abbreviation|sprintf(hash.board) }}</td> + <td> + {% if hash.thread %} + {{ hash.thread }} + {% else %} + - + {% endif %}</td> + <td> + <small><code>{{ hash.hash }}</code></small> + </td> + <td> + <span title="{{ hash.created|date(config.post_date) }}">{{ hash.created|ago }} ago</span> + </td> + <td> + {% if hash.expires %} + <span title="{{ hash.expires|date(config.post_date) }}"> + {{ hash.expires|until }} + </span> + {% else %} + - + {% endif %} + </td> + <td>{{ hash.passed }}</td> + </tr> + {% endfor %} +</table> + +<p style="text-align:center"> Most used (in active): </p> <table class="modlog" style="width:700px;margin:auto"> @@ -38,6 +79,7 @@ </tr> {% endfor %} </table> + <p style="text-align:center"> Total: <strong>{{ total }}</strong> (<strong>{{ expiring }}</strong> set to expire) </p> |
