apply review comments

This commit is contained in:
imperosol committed 2026-10-02 15:09:14 +02:00
1 parent 614b870133
commit 9924dc05d0
1 file changed
+3 -3
@@ -30,7 +30,7 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div>
{% if user.has_perm("pedagogy.delete_uecomment") %} {% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
<div class="alert-aside"> <div class="alert-aside">
<a <a
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}" href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
@@ -66,7 +66,7 @@
</time> </time>
</div> </div>
<div class="comment-options"> <div class="comment-options">
{% if user.can_edit(comment) %} {% if comment.author_id == user.id or user.has_perm("pedagogy.change_uecomment") %}
<a <a
class="clickable" class="clickable"
hx-get="{{ url('pedagogy:comment_update', comment_id=comment.id) }}" hx-get="{{ url('pedagogy:comment_update', comment_id=comment.id) }}"
@@ -88,7 +88,7 @@
<i class="fa fa-exclamation delete-action"></i> <i class="fa fa-exclamation delete-action"></i>
</a> </a>
{% endif %} {% endif %}
{% if 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) }}"
tooltip="{% trans %}Delete{% endtrans %}" tooltip="{% trans %}Delete{% endtrans %}"