From ff81af326eca110fbf1973669041a39e493ba38f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 25 Oct 2022 11:05:34 -0500 Subject: [PATCH] fix issue where unable to self remove posts --- files/templates/post_actions.html | 5 +---- files/templates/post_admin_actions_mobile.html | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 0a46a53c11..68a314cd47 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -61,10 +61,7 @@ {% endif %} {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - {% if v.id != p.author.id %} - Remove - {% endif %} - + Remove Approve {% if p.oauth_app %} diff --git a/files/templates/post_admin_actions_mobile.html b/files/templates/post_admin_actions_mobile.html index 0e06b16162..18d9dd750e 100644 --- a/files/templates/post_admin_actions_mobile.html +++ b/files/templates/post_admin_actions_mobile.html @@ -25,11 +25,7 @@ {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - - {% if v.id != p.author.id %} - - {% endif %} - + {% endif %} {% if p.oauth_app and v.admin_level >= PERMS['APPS_MODERATION'] %}