{% extends "base.html" %} {% set r = definition.report %} {% block title %}{{ r.name }}{% endblock %} {% block head %}{% endblock %} {% block header %}
{{ r.group_name }} ยท {{ r.code }}

{{ r.name }}

{% if r.description %}
{{ r.description }}
{% endif %} {% endblock %} {% block header_actions %} {% if can_edit %} {% endif %} {% endblock %} {% block content %} {% with api_base = '/api/reports/' ~ r.code %}{% include "_report_body.html" %}{% endwith %} {% endblock %} {% block scripts %} {% if bi and bi.mode == 'EMBED' %}{% endif %} {# Only for a report with a parameter whose options depend on another one (see the form above). #} {% if definition.params | selectattr('depends_on') | list %}{% endif %} {% endblock %}