{% extends "misago/admin/generic/list.html" %} {% load i18n misago_capture misago_forms %} {% block page-actions %}
{% trans "New agreement" %}
{% endblock %} {% block table-header %} {% trans "Title" %}   {% trans "Type" %} {% trans "Created" %} {% trans "Modified" %}       {% endblock table-header %} {% block table-row %} {{ item.get_final_title }} {% if item.is_active %} {% else %}   {% endif %} {{ item.get_type_display }} {% capture trimmed as created_on %} {% endcapture %} {% capture trimmed as created_by %} {% if item.created_by %} {{ item.created_by }} {% else %} {{ item.created_by_name }} {% endif %} {% endcapture %} {% blocktrans trimmed with created_on=created_on|safe created_by=created_by|safe %} {{ created_on }} by {{ created_by }} {% endblocktrans %} {% if item.last_modified_on %} {% capture trimmed as last_modified_on %} {% endcapture %} {% capture trimmed as last_modified_by %} {% if item.last_modified_by %} {{ item.last_modified_by }} {% else %} {{ item.last_modified_by }} {% endif %} {% endcapture %} {% blocktrans trimmed with last_modified_on=last_modified_on|safe last_modified_by=last_modified_by|safe %} {{ last_modified_on }} by {{ last_modified_by }} {% endblocktrans %} {% else %} {% trans "never" %} {% endif %} {% if not item.is_active %}
{% else %}   {% endif %}
{% endblock %} {% block emptylist %} {% if active_filters %}

{% trans "No agreements matching search criteria have been found" %}

{% else %}

{% trans "No agreements are currently set." %}

{% endif %} {% endblock emptylist %} {% block javascripts %} {{ block.super }} {% endblock %} {% block modal-title %} {% trans "Search bans" %} {% endblock modal-title %} {% block modal-body %}
{% form_row search_form.type %}
{% form_row search_form.content %}
{% endblock modal-body %}