From 08f6bd8befa266d40f56b143193c8c1ca5fb2716 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 11 Jul 2020 03:35:14 +0100 Subject: Move DELETE_REPLY permission to ThreadReply --- app/templates/macros/threads.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/templates/macros/threads.html') diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index 32acbc4..e94cded 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -22,7 +22,7 @@
- {% if r != thread.replies[0] and thread.checkPerm(current_user, "DELETE_REPLY") %} + {% if r.checkPerm(current_user, "DELETE_REPLY") %} -- cgit v1.2.3