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

« back to all changes in this revision

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

ivle.webapp.base.views#XHTMLView: Include req.write_javascript_settings in
    context.
ivle.webapp.base/ivle-headings.html:
 + Clean up a bit.
 + Respect write_javascript_settings.
 + Change titles to '${view_title} - IVLE', not 'IVLE - ${view_title}'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        ctx['favicon'] = None
112
112
        ctx['root_dir'] = ivle.conf.root_dir
113
113
        ctx['public_host'] = ivle.conf.public_host
 
114
        ctx['write_javascript_settings'] = req.write_javascript_settings
114
115
        if req.user:
115
116
            ctx['login'] = req.user.login
116
117
            ctx['logged_in'] = True