From 8d487231583e3597a28cdb348be0b410dd3446ea Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 11 Jul 2020 04:29:59 +0100 Subject: [PATCH] Swap edit and delete buttons in comments --- app/templates/macros/threads.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index 21283d79..d19aae57 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -22,6 +22,13 @@
+ {% if r.checkPerm(current_user, "DELETE_REPLY") %} + + + + {% endif %} + {% if current_user == thread.author and thread.review and thread.replies[0] == r %} @@ -34,13 +41,6 @@ {% endif %} - {% if r.checkPerm(current_user, "DELETE_REPLY") %} - - - - {% endif %} - {{ r.comment | markdown }}