{% extends 'admin/model/list.html' %} {% import 'lib.html' as lib2 with context %} {% block model_menu_bar %} {% endblock %} {% block model_list_table %} {% block list_header scoped %} {% if actions %} {% endif %} {% block list_row_actions_header scoped %} {% if admin_view.can_create %} {% else %} {{ super() }} {% endif %} {% endblock %} {% set column = 0 %} {% for c, name in list_columns %} {% set column = column + 1 %} {% endfor %} {% endblock %} {% for row in data %} {% block list_row scoped %} {% if actions %} {% endif %} {% block list_row_actions_column scoped %} {% endblock %} {% for c, name in list_columns %} {% endfor %} {% endblock %} {% else %} {% endfor %}
actions {% if admin_view.is_sortable(c) %} {% if sort_column == column %} {{ name }} {% if sort_desc %} {% else %} {% endif %} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %} {% if admin_view.column_descriptions.get(c) %} {% endif %}
{% block list_row_actions scoped %} {{ super() }} {% if admin_view.can_create %} {% endif %} {% if admin_view.can_export %} {% endif %} {% endblock %} {{ get_value(row, c) }}
{% block empty_list_message %}
{{ admin_view.get_empty_list_message() }}
{% endblock %}
{{ lib2.pager(page, num_pages, pager_url) }} {% endblock %} {% block tail %} {{ super() }} {{ actionlib.script(_gettext('Please select at least one model.'), actions, actions_confirmation) }} {% endblock %}