Use the default authentic2 manager homepage as base tempate for the pr@tic manager homepage

This commit is contained in:
Benjamin Dauvergne 2015-06-16 12:23:15 +02:00
parent c288260dee
commit b8fc7d423d
1 changed files with 1 additions and 14 deletions

View File

@ -1,21 +1,8 @@
{% extends "authentic2_pratic/base.html" %}
{% extends "authentic2/manager/homepage.html" %}
{% load i18n %}
{% block beforecontent %}
{% endblock %}
{% block appbar %}
<h2>{% trans "Welcome" %}</h2>
{% endblock %}
{% block content %}
<div id="content">
<div id="user-info">
{{ user.get_full_name }}
(<a href="{% url "password_change" %}">{% trans "Password change" %}</a>)
</div>
{% if user.is_superuser %}
<ul class="apps">
<li class="icon-roles" id="pratic-collectivities"><a href="{% url "a2-pratic-collectivities" %}">{% trans "Collectivities" %}</a></li>