{% extends 'admin/master.html' %} {% import 'admin/lib.html' as lib with context %} {% import 'admin/static.html' as admin_static with context%} {% import 'admin/model/layout.html' as model_layout with context %} {% import 'admin/actions.html' as actionlib with context %} {% import 'admin/model/row_actions.html' as row_actions with context %} {% from 'govuk_frontend_jinja/components/button/macro.html' import govukButton %} {% from 'govuk_frontend_jinja/components/pagination/macro.html' import govukPagination %} {% block head %} {{ super() }} {{ lib.form_css() }} {% endblock %} {% block action_panel %}
{% if admin_view.is_sortable(c) %} {% set sortClasses = "gfa-link--sort" %} {% if sort_column == column %} {% set sortClasses = "gfa-link--sort " + ("gfa-link--sort-descending" if sort_desc else "gfa-link--sort-ascending") %} {{ name }} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %} | {% endfor %}
---|
{% if loop.index == 1 %} View and edit {{ admin_view.name }} {{ get_value(row, c) }} {% else %} {{ get_value(row, c) }} {% endif %} | {% endfor %}
{% block empty_list_message %}
{{ admin_view.get_empty_list_message() }} {% endblock %} |