{# Show the setup name, as set in the config file, as tab title. Don't escape HTML entities. #}
{{ setupname|safe }}
{% block header %}
{{ setupname|safe }}
Home
{# Show a link to the settings, if a user logged in via password (authlevel 2). #} {% if authuser is defined and authlevel|default(0) > 1 %}
Settings
{% if authuser.is_admin and authlevel|default(0) > 2 %}
Administration
Sales Statistics
{% endif %} {% endif %} {# Login/Logout buttons #} {% if authuser is defined %}
Logout
{% else %}
Login
{% if signup|default(false) %}
Signup
{% endif %} {% endif %}
{% endblock %}
{% block notifications %} {% for n in notifications | default([]) %}
{{ n.msg|safe }}
{% endfor %} {% endblock %} {% block main %} {# Here be content. #} {% endblock %}
{% if eanwebsocket %} {% endif %}