diff --git a/tildes/scss/modules/_comment.scss b/tildes/scss/modules/_comment.scss index 64aa7f6..ca40275 100644 --- a/tildes/scss/modules/_comment.scss +++ b/tildes/scss/modules/_comment.scss @@ -88,6 +88,12 @@ overflow: auto; } +.comment-removed-warning { + color: $warning-color; + font-weight: bold; + font-size: 0.6rem; +} + .comment-votes { font-size: 0.6rem; font-weight: bold; diff --git a/tildes/tildes/templates/macros/comments.jinja2 b/tildes/tildes/templates/macros/comments.jinja2 index 2a5ebaf..ea02df7 100644 --- a/tildes/tildes/templates/macros/comments.jinja2 +++ b/tildes/tildes/templates/macros/comments.jinja2 @@ -99,8 +99,8 @@ data-js-external-links-new-tabs {% endif %} > - {% if comment.is_removed and 'admin' in request.effective_principals %} -

Comment removed

+ {% if comment.is_removed %} +

This comment has been removed and is not visible to other users

{% endif %} {{ comment.rendered_html|safe }}