From be9e33ae39826be83212de68cc3ac16ad96c8cca Mon Sep 17 00:00:00 2001 From: Situphen Date: Thu, 4 Mar 2021 01:27:11 +0100 Subject: [PATCH] =?UTF-8?q?Cache=20les=20boutons=20Spam=20potentiel=20et?= =?UTF-8?q?=20R=C3=A9ponse=20utile=20pour=20les=20messages=20masqu=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/misc/message.part.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/misc/message.part.html b/templates/misc/message.part.html index dc2dead2fc..40b5b493b9 100644 --- a/templates/misc/message.part.html +++ b/templates/misc/message.part.html @@ -213,7 +213,7 @@ {% endif %} {% endif %} - {% if user.is_authenticated and helpful_link and topic.author != user %} + {% if user.is_authenticated and message.is_visible and helpful_link and topic.author != user %}
  • {% csrf_token %} @@ -244,7 +244,7 @@
  • {% endif %} - {% if user.is_authenticated and perms.utils.change_comment_potential_spam and potential_spam_link %} + {% if user.is_authenticated and message.is_visible and perms.utils.change_comment_potential_spam and potential_spam_link %}