In manager adapt greetings to type of user
This commit is contained in:
parent
03ace51c89
commit
8c60d7cc34
|
@ -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 %}
|
||||
|
|
Reference in New Issue