Mercurial > wikked
changeset 350:1df31795fcab
Fix incorrect login/logout navigation section for the special pages.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 19 Sep 2015 22:06:38 -0700 |
parents | 128df013c9c0 |
children | 71181f1f824d |
files | wikked/templates/special-nav.html |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wikked/templates/special-nav.html Sat Sep 19 22:01:42 2015 -0700 +++ b/wikked/templates/special-nav.html Sat Sep 19 22:06:38 2015 -0700 @@ -17,7 +17,7 @@ </fieldset> </form> <ul class="pure-menu-divider"> - {%if auth%} + {%if auth.is_logged_in%} <li><a href="{{auth.url_profile}}"><span class="fa fa-cog"></span> {{auth.username}}</a></li> <li><a href="{{auth.url_logout}}"><span class="fa fa-log-out"></span> Logout</a></li> {%else%}