{{ t('app.title') }}
{% for code, name in languages %}
{{ code|upper }}
{{ ' ยท ' if not loop.last }} {% endfor %}
{% if current_user.is_authenticated %}
{{ current_user.username }}
{% for endpoint, label in [('calc', t('nav.calc')), ('settings_view', t('nav.settings'))] %} {% set is_current = request.endpoint == endpoint %}
{{ label }}
{% endfor %}
{{ t('nav.logout') }}
{{ t('nav.version') }}
{{ version.commit_short }}
{{ t('nav.deployed') }}
{{ version.deployed or version.built or t('nav.dev') }}
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% for category, msg in messages %}
{{ msg }}
{% endfor %} {% endwith %} {% block content %}{% endblock %}
{% block scripts %}{% endblock %}