hide regular comment delete button when the ue comment is reported

This commit is contained in:
imperosol committed 2026-10-02 15:09:14 +02:00
1 parent 9924dc05d0
commit 80f0517bf8
1 file changed
+1 -1
@@ -87,7 +87,6 @@
> >
<i class="fa fa-exclamation delete-action"></i> <i class="fa fa-exclamation delete-action"></i>
</a> </a>
{% 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") %}
<a <a
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}" href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
@@ -96,6 +95,7 @@
<i class="fa fa-trash-can delete-action"></i> <i class="fa fa-trash-can delete-action"></i>
</a> </a>
{% endif %} {% endif %}
{% endif %}
</div> </div>
</div> </div>
<div class="comment-stars"> <div class="comment-stars">