summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2013-01-27 18:44:53 +1100
committerMichael Save <savetheinternet@tinyboard.org>2013-01-27 18:44:53 +1100
commitb85b4a5a750aabda00c00051d1c41a2fb957bce1 (patch)
treea26608a0ebad66e782107f3c349ca2a9462557b9
parentdb1b50cfc3a7f3b45891b0ff69db4892b0e6929e (diff)
Added more debug links to dashboard
-rw-r--r--templates/mod/dashboard.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html
index 04da9e70..2f0b03ad 100644
--- a/templates/mod/dashboard.html
+++ b/templates/mod/dashboard.html
@@ -121,6 +121,10 @@
<legend>{% trans 'Debug' %}</legend>
<ul>
<li><a href="?/debug/antispam">{% trans 'Anti-spam' %}</a></li>
+ <li><a href="?/debug/recent">{% trans 'Recent posts' %}</a></li>
+ {% if mod|hasPermission(config.mod.debug_sql) %}
+ <li><a href="?/debug/sql">{% trans 'SQL' %}</a></li>
+ {% endif %}
</ul>
</fieldset>
{% endif %}