{% extends "django_cradmin/base.django.html" %} {% load i18n %} {% load cradmin_icon_tags %} {% block title %}{{ pagetitle }}{% endblock title %} {% block pageheader-inner %}

{% block heading %} {{ pageheading }} {% endblock heading %}

{% endblock pageheader-inner %} {% block content %} {% if buttons or enable_search %}
{% if buttons and enable_search %} {% endif %}
{% endif %} {% if use_this_hidden_attribute %}
{% endif %}
{% block tablewrapper %}
{% if queryset_contains_items %}
{% if multiselect_actions %} {% comment %} NOTE: Used by the views handling the multiselect to distinguish between POST requests from this view, and within that view. {% endcomment %} {% endif %} {% csrf_token %} {% if multiselect_actions %} {% endif %} {% for column in columns %} {% endfor %} {% for row in table %} {% if multiselect_actions %} {% endif %} {% for column, rendered_cell in row.cells %} {% endfor %} {% endfor %}
{% if column.is_sortable %} {{ column.get_header|capfirst }} {% if column.orderinginfo.order_ascending %} - {% trans "Ordered ascending - Click to order descending" %} {% else %} - {% trans "Ordered descending - Click to order ascending" %} {% endif %} {% if column.is_ordered %} {% if multicolumn_ordering %} - {% trans "Ordering priority" %} {{ column.orderinginfo.orderingstringindex|add:1 }} {% endif %} {% if column.orderinginfo.order_ascending %} {% else %} {% endif %} {% endif %} {% else %} {{ column.get_header|capfirst }} {% endif %}
{{ rendered_cell }}
{% include "django_cradmin/viewhelpers/includes/pager.django.html" with extra_querystring=pager_extra_querystring %} {% if multiselect_actions %}
{% endif %}
{# END div with ng-controller="CradminMultiselectObjectTableViewController" #} {% else %}
{{ no_items_message|safe }}
{% endif %} {% if current_search_matchcount == 0 %}
{{ no_searchresults_message|safe }}
{% endif %}
{% endblock tablewrapper %}
{% endblock content %} {% block outside-bodycontentwrapper %} {{ block.super }} {% if enable_previews %}
{% include "django_cradmin/pagepreview/includes/pagepreview-fullsize-iframe-wrapper.django.html" %}
{% endif %} {% endblock outside-bodycontentwrapper %}