~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

Fix the XHTML base template to not crash when not logged in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
            ctx['nick'] = req.user.nick
96
96
        else:
97
97
            ctx['login'] = None
 
98
            ctx['logged_in'] = False
98
99
        ctx['publicmode'] = req.publicmode
99
100
        ctx['apps_in_tabs'] = []
100
101
        for urlname in ivle.conf.apps.apps_in_tabs: