{% extends "misago/profile/base.html" %} {% load humanize i18n misago_avatars misago_capture misago_pagination %} {% block meta-description %}{% blocktrans trimmed with user=profile.username warnings=warnings.paginator.count|intcomma joined_on=profile.joined_on|date count counter=warnings.paginator.count %} {{ user }} was warned {{ warnings }} time since {{ joined_on }}. {% plural %} {{ user }} was warned {{ warnings }} times since {{ joined_on }}. {% endblocktrans %}{% endblock meta-description %} {% block page %} {% if warnings.object_list %}
{{ warning_level.name }}
{% if warning_level.has_restrictions %}{% trans "No warnings are active." %}
{% endif %}{{ warning.reason|escape|urlize|linebreaks }}
{% else %}{% trans "No warning reason was provided." %}
{% endif %}{% if is_authenticated_user %} {% blocktrans trimmed with user=profile.username %} Your have no warnings, {{ user }}. {% endblocktrans %} {% else %} {% blocktrans trimmed with user=profile.username %} {{ user }} has no warnings. {% endblocktrans %} {% endif %}
{% endif %} {% endblock page %} {% block javascripts %} {{ block.super }} {% endblock javascripts %}