mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Prioritize showing comment removal over deletion
If a comment is removed and then deleted by its author, we should continue showing it as removed, since that's the more significant action (and the deletion is usually *because* of the removal).
This commit is contained in:
@@ -72,14 +72,14 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% if comment.is_deleted %}
|
||||
<div class="is-comment-deleted">Comment deleted by author</div>
|
||||
{% elif comment.is_removed %}
|
||||
{% if comment.is_removed %}
|
||||
{% if comment.removed_marker %}
|
||||
<div class="is-comment-removed">{{ comment.removed_marker }}</div>
|
||||
{% else %}
|
||||
<div class="is-comment-removed">Comment removed by site admin</div>
|
||||
{% endif %}
|
||||
{% elif comment.is_deleted %}
|
||||
<div class="is-comment-deleted">Comment deleted by author</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user