{# Shared presentation primitives. Import with context for url(), t() and csrf. #} {% macro csrf_input() -%}{%- endmacro %} {% macro brand_mark(large=false) -%} {% if logo_url %}{% else %}q.{% endif %} {%- endmacro %} {% macro nav_link(href, label, active=false) -%} {{ label }} {%- endmacro %} {% macro empty_state(heading, description='', class_name='empty-state', icon='') -%}
{% if icon %}{% endif %}

{{ t(heading) }}

{% if description %}

{{ t(description) }}

{% endif %}{% if caller is defined %}{{ caller() }}{% endif %}
{%- endmacro %} {% macro page_links(previous_url, next_url) -%} {% if previous_url %}← {{ t('Previous') }}{% endif %}{% if next_url %}{{ t('Next') }} →{% endif %} {%- endmacro %}