{% import "_charts.html" as charts with context %} {% set all_pages = { 'balance_sheet': _('Balance Sheet'), 'errors': _('Errors'), 'help': _('Help'), 'holdings': _('Holdings'), 'income_statement': _('Income Statement'), 'journal': _('Journal'), 'options': _('Options'), 'statistics': _('Statistics'), 'trial_balance': _('Trial Balance'), } %} {% set page_title = all_pages.get(active_page, "") if not page_title else page_title %} {% set partial = request.args.get('partial') %} {% if not partial %} {{ page_title }} - {{ ledger.options.title }}
{%- endif %} {% if not client_side_rendered %} {% block content %} {% if content %} {{ content }} {% else %} {% include active_page + '.html' %} {% endif %} {% endblock %} {% endif %} {% if partial %}{% endif %} {%- if not partial %}
{%- endif %}