X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Flayout.html;h=cbcef4990caa67103cdbc659afcb618fc9867e15;hb=4517694972e64e0b3a26b6bc9a7fc39d7ac8af38;hp=e3f83725bab97f00112f05563568a7f1a14ae711;hpb=00a6f73a96b004e9323779ab42fa0eb435be12dd;p=cavote.git diff --git a/templates/layout.html b/templates/layout.html index e3f8372..cbcef49 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -22,7 +22,7 @@ Accueil Votes en cours Archives - {% if session.is_admin %} + {% if session.user and session.user.is_admin %} Admin