{% extends "misago/profile/base.html" %} {% load humanize i18n misago_avatars misago_capture misago_dates misago_pagination %} {% block meta-description %}{% blocktrans trimmed with user=profile 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 %}
{% if warning_level %}

{{ warning_level }}

{% if warning_level.has_restrictions %} {% endif %} {% else %}

{% trans "No warnings are active." %}

{% endif %}
{% blocktrans trimmed with level=warning_level.level %} Warning level is {{ level }} {% endblocktrans %}
{% for warning in warnings.object_list %}
{% if warning.reason %} {{ warning.reason|escape|urlize|linebreaks }} {% else %}

{% trans "No warning reason was provided." %}

{% endif %}
{% endfor %}
{% pagination warnings "misago/profile/pagination.html" 'misago:user_warnings' user_slug=profile.slug user_id=profile.id %} {% else %}

{% if is_authenticated_user %} {% blocktrans trimmed with user=profile %} Your have no warnings, {{ user }}. {% endblocktrans %} {% else %} {% blocktrans trimmed with user=profile %} {{ user }} has no warnings. {% endblocktrans %} {% endif %}

{% endif %} {% endblock page %} {% block javascripts %} {{ block.super }} {% endblock javascripts %}