{% load i18n users %} {% load url from future %}
{% block title %}{% endblock %}
{{ media }} {% block head_css %} {% endblock %} {% block head_js %} {% endblock %}
{% if user.is_authenticated %}
{% trans "Welcome" %} {{ user|pretty_username }}
{% if not user.username == 'USER' %}
{% trans "Logout" %}
{% trans "Change password" %}
{% endif %} {% else %}
{% trans "Log in" %}
{% endif %} {% if perms.auth.edit_users %}
{% trans "User administration" %}
{% endif %}
{{ PROJECTNAME }}
{% block projectlogo %}{% endblock %}
{% if navbar %}
{% for item in navbar %}
{{ item.label }}
{% endfor %}
{% endif %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% block content %}{% endblock %}