{% load string_manipulation %}
{% if report.table.header.cells %} {% for cell in report.table.header.cells %} {% endfor %} {% endif %} {% if report.table.footer.cells %} {% for cell in report.table.footer.cells %} {% endfor %} {% endif %} {% if page %} {% for row in page %} {% for cell in row.cells %} {% endfor %} {% endfor %} {% else %} {% endif %}
{% if paginate %} {# Pagination list #}
  • Page size:
  • Page {{ page.number }} of {{ page.paginator.num_pages }}
  • First
  • {% if page.has_previous %}
  • «
  • {% else %}
  • «
  • {% endif %} {% for page_number in current_page_range %}
  • {{ page_number }}
  • {% endfor %} {% if page.has_next %}
  • »
  • {% else %}
  • »
  • {% endif %}
  • Last
{% endif %} {{ report.title }} {% if paginate %} ({{ page.start_index }} - {{ page.end_index }} of {{ page.paginator.count }}) {% endif %}
{% if cell.uri and add_sort_links %} {{ cell.text }} {% else %} {{ cell.text }} {% endif %}
{{ cell.sum }}
{% if cell.uri %} {{ cell.text|default:"" }} {% else %} {{ cell.text|deep_urlize|default:""|safe }} {% endif %}