From a633b78565bdfb4eaeaf602ece90419dfae23920 Mon Sep 17 00:00:00 2001 From: Tasos Katsoulas Date: Wed, 4 Dec 2024 11:40:39 +0200 Subject: [PATCH] Do not edit question details after moderation --- .../questions/jinja2/questions/question_details.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kitsune/questions/jinja2/questions/question_details.html b/kitsune/questions/jinja2/questions/question_details.html index eb0b4295c17..eacb2de5c5c 100644 --- a/kitsune/questions/jinja2/questions/question_details.html +++ b/kitsune/questions/jinja2/questions/question_details.html @@ -423,7 +423,7 @@

{{ _('Post a Reply') }}

{% endif %} - {% if not question.is_moderated and is_trusted_user(request.user) %} + {% if is_trusted_user(request.user) %}
  • @@ -435,7 +435,7 @@
    {% endif %} - {% if user and user.has_perm('questions.change_question') %} + {% if not question.is_moderated and user and user.has_perm('questions.change_question') %} - {% if user and user.has_perm('questions.change_question') %} + {% if not question.is_moderated and user and user.has_perm('questions.change_question') %}