diff --git a/app/templates/widgets/thread.html b/app/templates/widgets/thread.html index c790396..1add484 100644 --- a/app/templates/widgets/thread.html +++ b/app/templates/widgets/thread.html @@ -32,13 +32,9 @@ Déplacer {% endif %} - {% if can_punish %} - {% if post.author.type == "member" %} - Supprimer{{ suffix }} (normal) - Supprimer{{ suffix }} (pénalité) - {% else %} - Supprimer{{ suffix }} - {% endif %} + {% if can_punish and post.author.type == "member"%} + Supprimer{{ suffix }} (normal) + Supprimer{{ suffix }} (pénalité) {% elif can_delete %} Supprimer{{ suffix }} {% endif %}