mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-03 17:34:15 +00:00
apply review comments
This commit is contained in:
1 parent
614b870133
commit
9924dc05d0
1 file changed
+3
-3
@@ -30,7 +30,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</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">
|
||||
<a
|
||||
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
|
||||
@@ -66,7 +66,7 @@
|
||||
</time>
|
||||
</div>
|
||||
<div class="comment-options">
|
||||
{% if user.can_edit(comment) %}
|
||||
{% if comment.author_id == user.id or user.has_perm("pedagogy.change_uecomment") %}
|
||||
<a
|
||||
class="clickable"
|
||||
hx-get="{{ url('pedagogy:comment_update', comment_id=comment.id) }}"
|
||||
@@ -88,7 +88,7 @@
|
||||
<i class="fa fa-exclamation delete-action"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if user.has_perm("pedagogy.delete_uecomment") %}
|
||||
{% if comment.author_id == user.id or user.has_perm("pedagogy.delete_uecomment") %}
|
||||
<a
|
||||
href="{{ url("pedagogy:comment_delete", comment_id=comment.id) }}"
|
||||
tooltip="{% trans %}Delete{% endtrans %}"
|
||||
|
||||
Reference in new issue
Block a user