{% import "_charts.html" as charts with context %} {% import "_globals.html" as globals with context %} {% set partial = request.args.get('partial', False) %} {% set page_title = globals.all_pages[active_page].0 if not page_title else page_title %} {% set short_title = page_title if not short_title else short_title %} {% if not partial %} {{ short_title }} - {{ api.title }}

{{ api.title or 'fava' }}{{ ' ▾' if config['APIS']|length > 1 else '' }}{{ page_title }} {% if config['APIS']|length > 1 %}
    {% for file_slug, file_api in config['APIS'].items() %}
  • {{ file_api.title or 'fava' }}
  • {% endfor %}
{% endif %}

{% include "_entry_filters.html" %}
{%- endif %} {% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {% block content %}{% endblock %} {%- if not partial %}
{% include "overlays/_keyboard_shortcuts.html" %} {% include "overlays/_documents_upload.html" %} {% include "overlays/_transaction_form.html" %}
{%- endif %}