X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Flayout.html;h=ce4b89b22d46a71b428377613b6c2a8f1b0b16fe;hb=132669d1d6494fdeee1a7f54661d43950c6bd538;hp=78f4ece045f13717a8f7ea585fc8d095c711f62d;hpb=10e7bb1b361c544099c610103f115d11b5a61889;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index 78f4ece..ce4b89b 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -30,10 +30,8 @@ {% endif %}
- {% if not session.logged_in %} - Connexion - {% else %} - {{ session.nickname }} + {% if 'username' in session %} + {{ session.username }} + {% else %} + Connexion {% endif %}