{% load django_tables2 %} {% load tables %} {% block content %} {% load i18n %} {% block table %}
{% for key,value in request.GET.iteritems %} {% endfor %} {% if request.GET.end %}{% endif %} {% if request.GET.start %}{% endif %} {% if request.GET.health_check %}{% endif %}
Show entries
{% if table.Meta.searches|get_search_data:table.prefix %}
{% for key,value in request.GET.iteritems %} {% endfor %}
{% endif %}
{% for column in table.columns %} {% endfor %} {% block table.thead %} {% for column in table.columns %} {% if column.orderable %} {% else %} {% endif %} {% endfor %} {% endblock table.thead %} {% block table.tbody %} {% for row in table.page.object_list|default:table.rows %} {# support pagination #} {% block table.tbody.row %} {% for column, cell in row.items %} {% endfor %} {% endblock table.tbody.row %} {% empty %} {% if table.empty_text %} {% block table.tbody.empty_text %} {% endblock table.tbody.empty_text %} {% endif %} {% endfor %} {% endblock table.tbody %} {% block table.tfoot %} {% endblock table.tfoot %}
{{ column.header }} {% if column.is_ordered %} {% if column.order_by_alias.0 == "-" %} {% else %} {% endif %} {% else %} {% endif %} {{ column.header }}
{{ cell }}
{{ table.empty_text }}
{% endblock table %} {% if table.page %} {% block pagination %} {% if table.page.has_previous or table.page.has_next %} {% endif %} {% endblock pagination %} {% endif %} {% endblock %}