This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
montpellier-themes/templates/authentic2/base-page.html

30 lines
808 B
HTML

{% extends "authentic2/base.html" %}
{% load i18n authentic2 %}
{% block placeholder-content %}
<div class="a2-block">
{% block content %}
{% endblock %}
</div>
{% endblock %}
{% block user-info %}
{% if user.is_authenticated %}
<div id="toplinks">
<span>
<a class="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a>
{% if is_eservice_admin %}
<a class="restricted" href="{{ wcs_url }}admin/">Administration</a>
{% elif is_eservice_backoffice_user %}
<a class="restricted" href="{{ wcs_url }}backoffice/">Back office</a>
{% endif %}
</span>
</div>
<div id="username">{{ user.first_name }} {{ user.last_name }}</div>
{% endif %}
{% endblock %}
{% block js-endpage %}
{% renderblock "js-endpage" %}
{% endblock %}