From 4184fdec6ec3db4d80a0d429f1a3c0dae1ae2675 Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Sun, 10 May 2015 02:56:48 +0100 Subject: Pass the thread ID when banning/deleting --- templates/mod/confirm.html | 2 +- templates/post/post_controls.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/mod/confirm.html b/templates/mod/confirm.html index 65e43eb3..ab91c9ba 100644 --- a/templates/mod/confirm.html +++ b/templates/mod/confirm.html @@ -1,5 +1,5 @@

- {% trans 'Are you sure you want to do that?' %} {% trans 'Click to proceed to' %} ?/{{ request }}. + {% trans 'Are you sure you want to do that?' %} {% trans 'Click to proceed to' %} ?/{{ request }}.

{% trans 'You are probably seeing this message because Javascript being disabled. This is a necessary security measure to prevent CSRF attacks.' %} diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html index de2e1438..108d80b3 100644 --- a/templates/post/post_controls.html +++ b/templates/post/post_controls.html @@ -2,19 +2,19 @@ {% if mod|hasPermission(config.mod.delete, board.uri) %} - {{ config.mod.link_delete }}  + {{ config.mod.link_delete }}  {% endif %} {% if mod|hasPermission(config.mod.deletebyip, board.uri) %} - {{ config.mod.link_deletebyip }}  + {{ config.mod.link_deletebyip }}  {% endif %} {% if mod|hasPermission(config.mod.deletebyip_global, board.uri) %} - {{ config.mod.link_deletebyip_global }}  + {{ config.mod.link_deletebyip_global }}  {% endif %} {% if mod|hasPermission(config.mod.ban, board.uri) %} - {{ config.mod.link_ban }}  + {{ config.mod.link_ban }}  {% endif %} {% if mod|hasPermission(config.mod.bandelete, board.uri) %} - {{ config.mod.link_bandelete }}  + {{ config.mod.link_bandelete }}  {% endif %} {% if not post.thread %} -- cgit v1.3