summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFontenaySousBois pseudo user <fsb@fontenay-sous-bois.dev.entrouvert.org>2014-12-18 10:20:01 (GMT)
committerFontenaySousBois pseudo user <fsb@fontenay-sous-bois.dev.entrouvert.org>2014-12-18 10:20:01 (GMT)
commit9134acdd60c96643ef800f45484b2e9083e85287 (patch)
tree4377674310d8aed8536de33302e76af81adb942a
parent270cf92941b1848f69b706192fd758997f506ca2 (diff)
downloadfontenay-sous-bois-9134acdd60c96643ef800f45484b2e9083e85287.zip
fontenay-sous-bois-9134acdd60c96643ef800f45484b2e9083e85287.tar.gz
fontenay-sous-bois-9134acdd60c96643ef800f45484b2e9083e85287.tar.bz2
authentic comme le reste (reorg menus)
-rw-r--r--authentic2/templates/base.html23
1 files changed, 11 insertions, 12 deletions
diff --git a/authentic2/templates/base.html b/authentic2/templates/base.html
index eb46f1e..ea7db19 100644
--- a/authentic2/templates/base.html
+++ b/authentic2/templates/base.html
@@ -35,10 +35,10 @@
{% if request.user.is_authenticated %}
<ul class="links">
<li class="first">
- <a href="{{ idp_url }}/accounts/">{{ user.get_full_name }}</a>
+ <a href="{{ portal_url }}">{{ user.get_full_name }}</a>
</li>
<li>
- <a href="{{ LOGOUT_URL }}">Déconnexion</a>
+ <a href="{% url 'auth_logout' %}">Déconnexion</a>
</li>
</ul>
{% else %}
@@ -72,14 +72,14 @@
<ul class="menuTop">
<li class="home">
- <a href="{{ portal_url }}" target="_top"><span>fontenay-sous-bois.fr</span></a>
+ <a href="{{ portal_url }}" target="_top"><span>Accueil usager</span></a>
</li>
{% block rubriques %}
- <li class="menu1 level1"><a href="{{ wcs_url }}">Démarches<br> en ligne</a></li>
- <li class="menu3 level1"><a href="{{ idp_url }}/accounts/">Mon compte</a></li>
- <li class="menu2 level1"><a href="{{ portal_url }}/famille">Ma famille</a></li>
- <li class="menu4 level1"><a href="{{ wcs_url }}/myspace/">Mes demandes</a></li>
- <li class="menu2 level1"><a href="{{ portal_url }}/factures">Mes factures</a></li>
+ <li class="menu1 level1"><a href="{{ portal_url }}">{% if user.is_authenticated %}Mon compte{% else %}Accueil usager{% endif %}</a></li>
+ <li class="menu2 level1 active"><a href="{{ idp_url }}/accounts/">Mon profil</a></li>
+ <li class="menu3 level1"><a href="{{ portal_url }}/famille/">Ma famille</a></li>
+ <li class="menu4 level1"><a href="{{ portal_url }}/factures/">Mes factures</a></li>
+ <li class="menu6 level1"><a href="{{ wcs_url }}/{% if user.is_authenticated %}login/{% endif %}">Tous les<br />téléservices</a></li>
{% endblock %}
</ul>
@@ -130,9 +130,9 @@
<h2>{{ user.get_full_name }}</h2>
<div class="content">
<ul class="submenu">
- <li class="first"><a href="{{ idp_url }}/accounts/">Mon compte</a></li>
- <li class=""><a href="{{ wcs_url }}/myspace/">Mes démarches en cours</a></li>
- <li class="last"><a href="{{ LOGOUT_URL }}">Déconnexion</a></li>
+ <li class="first"><a href="{{ portal_url }}">Mon compte</a></li>
+ <li class="first"><a href="{{ idp_url }}/accounts/">Mon profil</a></li>
+ <li class="last"><a href="{% url 'auth_logout' %}">Déconnexion</a></li>
</ul>
</div>
{% else %}
@@ -141,7 +141,6 @@
<ul class="submenu">
<li class="first"><a href="{{ idp_url }}/login">Connexion</a></li>
<li class=""><a href="{{ idp_url }}/accounts/register/">Créer un compte</a></li>
- <li class="last"><a href="{{ wcs_url }}">Démarches en ligne</a></li>
</ul>
</div>
{% endif %}