{# A report opened by a public link (drscore.publiclink): no menu, no session, no form but the parameters the link lets a reader change. Dark by default ([public] theme): a wall screen. #} {{ title or t('public.not_found_title') }} · {{ app_name }} {% if missing %}

{{ t('public.not_found_title') }}

{{ t('public.not_found') }}

{% else %} {# An HTML design shows its own title, filters and time: the bar only carries a form to change. #} {% if not page.html or page.editable %}
{{ page.name }}
{% if page.editable %}
{% for p in page.editable %} {% endfor %}
{% endif %}
{% if page.as_of %}{{ t('report.data_as_of', time=page.as_of) }}{% endif %} {% if page.refresh %}· {{ t('public.refresh_every', minutes=('%g' | format(page.refresh / 60))) }}{% endif %}
{% endif %}
{% if page.error %} {% elif page.html %} {# public.js puts the design in a frame, then refreshes it behind the one shown. #}
{{ t('public.loading') }}
{% elif page.bi and page.bi.mode == 'LINK' %} {% elif page.bi %}
{{ t('public.loading') }}
{% elif page.grid %}
{% for c in page.grid.columns %}{% endfor %} {% for row in page.grid.rows %} {% for v in row %}{% set c = page.grid.columns[loop.index0] %}{% endfor %} {% endfor %}
{{ c.label }}
{{ v | public_cell(c.type) }}
{% if page.grid.cut %}
{{ t('public.rows_cut', shown=page.grid.rows|length, total=page.grid.row_count) }}
{% endif %}
{% endif %}
{% if page.bi and page.bi.mode == 'EMBED' and not page.error %}{% endif %} {% endif %}