{% extends "base.html" %} {% from "macros.html" import link, page_header %} {% block content %} {% if heading %} {% if project %} {% call page_header(heading, "Project") %} {{ project }} {% endcall %} {% else %} {{ page_header(heading) }} {% endif %} {% endif %} {% if rows %}
{% include "table.html" %}
{% elif empty_message %}

{{ empty_message }}

{% elif cols is defined %}
{% include "table.html" %}
{% endif %} {% if pagination %} {% with current_page=pagination.current_page, pagecount=pagination.pagecount, has_prev=pagination.has_prev, has_next=pagination.has_next, prev_url=pagination.prev_url, next_url=pagination.next_url, total_pages=pagination.total_pages, page_links=pagination.page_links %} {% include "pagination.html" %} {% endwith %} {% endif %} {% endblock %}