{# The body of a report page - parameter form, view tabs, buttons, grid / design / dashboard - shared by the portal's report page (report.html) and a table link's page (public_report.html). The calls go to api_base: the portal's report API, or the link's own (routes/public.py). #} {% from "_param_options.html" import option_list %} {% if definition.params %}
{% endif %} {% set icons = {'grid': 'table', 'html': 'layout-dashboard', 'bi': 'chart-pie'} %} {% set data_views = definition.views | selectattr('ok') | map(attribute='key') | reject('equalto', 'bi') | list %}{{ v.error.code }}{{ v.error.detail }}{% endif %}