{% extends "base.html" %} {% block content %}

Get this data as: HTML, {% for fmt, link in formats %} {{ fmt }}{% if not loop.last %}, {% endif %} {% endfor %}

{% for name, link in location %} {% if link %} {{ name }} {% else %} {{ name }} {% endif %} {% if not loop.last %}/{% endif %} {% endfor %}

{% if empty %}
No data.
{% elif params.pk %} {% for row in data %} {% for title, cell in zip(header, row) %} {% if column in ('id', 'type') %} {{ cell.value }} {% elif cell.link %} {{ cell.value }} {% else %} {{ cell.value }} {% endif %} {% endfor %}
{{ title }}
{% endfor %} {% else %} {% for cell in header %} {% endfor %} {% for row in data %} {% for cell in row %} {% if cell.link %} {{ cell.value }} {% else %} {{ cell.value }} {% endif %} {% endfor %} {% endfor %}
{{ cell }}
{% if not data.exhausted %}

Number of rows is limited up to {{ data.limit }} rows.

{% endif %} {% endif %} {% endblock %}