{% extends "misago/admin/generic/list.html" %} {% load i18n %} {% block page-actions %}
{% trans "New warning level" %}
{% endblock %} {% block table-header %} {% trans "Warning level" %} {% trans "Length" %} {% trans "Replying" %} {% trans "Starting threads" %} {% for action in extra_actions %}   {% endfor %}         {% endblock table-header %} {% block table-row %} #{{ forloop.counter }} {{ item }} {% if item.length %} {{ item.length }} {% else %} {% trans "Permanent" %} {% endif %} {% if item.restricts_posting_replies == 0 %}
{% trans "Not restricted" %}
{% elif item.restricts_posting_replies == 1 %}
{% trans "Moderated" %}
{% else %}
{% trans "Forbidden" %}
{% endif %} {% if item.restricts_posting_threads == 0 %}
{% trans "Not restricted" %}
{% elif item.restricts_posting_threads == 1 %}
{% trans "Moderated" %}
{% else %}
{% trans "Forbidden" %}
{% endif %} {% include "misago/admin/generic/list_extra_actions.html" %} {% if not forloop.last %}
{% csrf_token %}
{% else %}   {% endif %} {% if not forloop.first %}
{% csrf_token %}
{% else %}   {% endif %}
{% csrf_token %}
{% endblock %} {% block blankslate %} {% trans "No warning levels are set." %} {% endblock blankslate %} {% block javascripts %} {% endblock %}