{% load i18n static django_grid_view %} {% if load_assets %} {% grid_view_bundle %} {% endif %} {% if config.wrapper == "full" %}
{% elif config.wrapper == "shell" %}
{% endif %} {% if config.show_toolbar %} {% if config.wrapper == "full" or config.toolbar_left or config.toolbar_center or config.search_mode != "disabled" or config.export_csv or config.export_xlsx or config.export_pdf %}
{% if config.toolbar_left %}
{{ config.toolbar_left }}
{% endif %} {% if config.search_mode != "disabled" %} {% endif %} {% if config.toolbar_center %}
{{ config.toolbar_center }}
{% endif %} {% if config.show_counter %} {{ count }} {% translate 'tables.records' %} {% endif %}
{% if config.export_csv %} {% include "django_grid_view/partials/export_csv_button.html" %} {% endif %} {% if config.export_xlsx %} {% include "django_grid_view/partials/export_xlsx_button.html" %} {% endif %} {% if config.export_pdf %} {% include "django_grid_view/partials/export_pdf_link.html" with href=config.export_pdf_url %} {% endif %}
{% endif %} {% endif %} {% for hrow in header_rows %} {% for h in hrow %} {% endfor %} {% endfor %} {% for row in rows %} {% for cell in row.cells %} {% endfor %} {% empty %} {% endfor %} {% if footer_cells %} {% for cell in footer_cells %} {% endfor %} {% endif %}
1 %}colspan="{{ h.colspan }}"{% endif %} {% if h.rowspan > 1 %}rowspan="{{ h.rowspan }}"{% endif %} {% if h.width %}style="width:{{ h.width }}"{% endif %}> {{ h.label }}{% if h.sortable %} {% endif %}
{{ cell.html }}
{{ config.empty_message }}
1 %}colspan="{{ cell.colspan }}"{% endif %}>{{ cell.html }}
{% if config.wrapper == "full" or config.wrapper == "shell" %}
{% else %} {% endif %}