{% set navigation_bar = [ ("", ['income_statement', 'balance_sheet', 'trial_balance', 'journal', 'query']), ("Other", [ 'holdings', 'net_worth', 'commodities', 'documents', 'notes', 'events']), ("Configuration", [ 'source', 'errors', 'options', 'statistics', 'help']) ] %} {% set all_pages = { 'income_statement': (_('Income Statement'), 'g i'), 'balance_sheet': (_('Balance Sheet'), 'g b'), 'trial_balance': (_('Trial Balance'), 'g t'), 'journal': (_('Journal'), 'g j'), 'query': (_('Query'), 'g q'), 'holdings': (_('Holdings'), 'g h'), 'net_worth': (_('Net Worth'), 'g w'), 'commodities': (_('Commodities'), 'g c'), 'documents': (_('Documents'), 'g d'), 'notes': (_('Notes'), 'g n'), 'events': (_('Events'), 'g e'), 'source': (_('Source'), 'g s'), 'errors': (_('Errors'), 'g r'), 'options': (_('Options'), 'g o'), 'statistics': (_('Statistics'), 'g x'), 'help': (_('Help'), 'g shift+h'), } %} {% set page_title = all_pages[active_page].0 if not page_title else page_title %} {% set short_title = page_title if not short_title else short_title %} {% set show_filters = show_filters|default(True) %} {% set user_queries = api.queries[:config['sidebar-show-queries']] %} {% set sidebar_links = api.sidebar_links() %} {{ short_title }} - {{ api.title }}

{{ api.title or 'fava' }}{{ ' ▾' if config['APIS']|length > 1 else '' }}{{ page_title }} {% if config['APIS']|length > 1 %}
{% endif %}

{% if show_filters %} {% endif %}
{% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {% block content %}{% endblock %}
{% include "overlays/_keyboard_shortcuts.html" %} {% include "overlays/_documents_upload.html" %} {% block javascript %}{% endblock %}