From 80f0517bf89ccc748aba578845fd98e37a6b4559 Mon Sep 17 00:00:00 2001 From: imperosol Date: Sun, 27 Sep 2026 19:13:05 +0200 Subject: [PATCH] hide regular comment delete button when the ue comment is reported --- .../pedagogy/fragments/ue_detail/comments.jinja | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja index a7a033b5..fc066b28 100644 --- a/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja +++ b/pedagogy/templates/pedagogy/fragments/ue_detail/comments.jinja @@ -87,14 +87,14 @@ > - {% endif %} - {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %} - - - + {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %} + + + + {% endif %} {% endif %}