In manager adapt greetings to type of user

This commit is contained in:
Benjamin Dauvergne 2015-06-16 16:18:33 +02:00
parent 03ace51c89
commit 8c60d7cc34
1 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,14 @@
{% extends "authentic2/manager/homepage.html" %}
{% load i18n %}
{% block appbar %}
{% if user.is_superuser %}
<p>{% blocktrans %}Here you can manage collectivities and services.{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}Here you can manage users, services and their accesses.{% endblocktrans %}</p>
{% endif %}
{% endblock %}
{% block content %}
<div id="content">
{% if user.is_superuser %}