From 9ae357facb86006f3d2087883e087d72b4e58cb9 Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Sun, 10 May 2015 02:37:47 +0100 Subject: [PATCH] Explicitly build post mod delete links --- templates/post/post_controls.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html index 99a8484c..de2e1438 100644 --- a/templates/post/post_controls.html +++ b/templates/post/post_controls.html @@ -2,13 +2,13 @@ {% if mod|hasPermission(config.mod.delete, board.uri) %} - {{ secure_link_confirm(config.mod.link_delete, 'Delete'|trans, 'Are you sure you want to delete this?'|trans, board.dir ~ 'delete/' ~ post.id) }}  + {{ config.mod.link_delete }}  {% endif %} {% if mod|hasPermission(config.mod.deletebyip, board.uri) %} - {{ secure_link_confirm(config.mod.link_deletebyip, 'Delete all posts by IP'|trans, 'Are you sure you want to delete all posts by this IP address?'|trans, board.dir ~ 'deletebyip/' ~ post.id) }}  + {{ config.mod.link_deletebyip }}  {% endif %} {% if mod|hasPermission(config.mod.deletebyip_global, board.uri) %} - {{ secure_link_confirm(config.mod.link_deletebyip_global, 'Delete all posts by IP across all boards'|trans, 'Are you sure you want to delete all posts by this IP address, across all boards?'|trans, board.dir ~ 'deletebyip/' ~ post.id ~ '/global') }}  + {{ config.mod.link_deletebyip_global }}  {% endif %} {% if mod|hasPermission(config.mod.ban, board.uri) %} {{ config.mod.link_ban }}