diff --git a/app/templates/widgets/thread.html b/app/templates/widgets/thread.html index 827c2d2..c790396 100644 --- a/app/templates/widgets/thread.html +++ b/app/templates/widgets/thread.html @@ -33,8 +33,12 @@ {% endif %} {% if can_punish %} - Supprimer{{ suffix }} (normal) - Supprimer{{ suffix }} (pénalité) + {% if post.author.type == "member" %} + Supprimer{{ suffix }} (normal) + Supprimer{{ suffix }} (pénalité) + {% else %} + Supprimer{{ suffix }} + {% endif %} {% elif can_delete %} Supprimer{{ suffix }} {% endif %}