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:
Deimos
2020-06-02 12:50:40 -06:00
parent e8f8885f22
commit e15359919d

View File

@@ -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 %}