{% load common report_filters %} {% startpartial report_view %}
{% if report.searchable_fields %}
{{ report.quicksearch.form.search }}
{% for k, v in report.initials.items %}{% endfor %} {% trans 'Searchable Fields' %}: {% with report.searchable_fields.values|join:', ' as field_name %} {{ report.template.model.model_class|get_verbose_name:field_name }} {% endwith %}
{% endif %}
{% if report.have_template %} {% if report.filters %} {% endif %}
{% if report.templates and report.templates.count > 1 %}
{% for template in report.templates %} {{ template.title }} {% if template.is_page_default %}({% trans 'default' %}){% endif %} {% endfor %}
{% endif %}
{% if report.template.has_export %} {% for format in report.export_formats %} {% trans 'download' %} {{ format.name }} {% endfor %} {% endif %} {% if report.used_filters %} {% trans 'clear filters' %} {% endif %} {% if not report.is_page_table %} {% trans 'edit template' %} {% endif %}
{% if report.used_filters %}
{% trans 'results for' %}

«{{ report.used_filters }}»

{% endif %}
{% for _, column in report.columns.items %} {% endfor %} {% if report.template.buttons.exists %} {% endif %} {% for record in report.pagination.qs %} {% for column in report.columns.values %}{% endfor %} {% if report.template.buttons.exists %} {% endif %} {% empty %} {% endfor %}
#{{ report.template.model.model_class|get_verbose_name:column }}
{% trans 'Actions' %}
{{ forloop.counter0|add:report.pagination.qs.start_index }}{{ record|get_row_value:column }}
{% for button in report.buttons %} {% if button.icon %}{{ button.icon }}{% endif %} {% endfor %}
{% trans 'No data has been submitted.' %}
{% show_pagination report.pagination scroll_tag="#report-view-top" link_attributes="hx-select='#report-view' hx-target='#report-view' hx-indicator='#page-loading'" %}
{% else %}
{% trans 'No template has been set for this page.' %}
{% endif %}
{% endpartial %} {% partial report_view %}