{% load i18n %} {% load comments_ink %} {% with cflags=comment.get_flags %} {% if perms.comments.can_moderate and cflags.counter > 0 %}
{{ cflags.counter }} 🚩
{% blocktrans count counter=cflags.counter %}A user has flagged this comment as inappropriate.{% plural %}{{ counter }} users have flagged this comment as inappropriate.{% endblocktrans %}
{% endif %}
{% if user in cflags.users %}🏴
{% trans "You have flagged this comment as inappropriate" %}
{% else %}🏳
{% trans "Flag this comment as inappropriate" %}
{% endif %}
{% endwith %}