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

« back to all changes in this revision

Viewing changes to ivle/webapp/console/overlay.py

Add an XHTMLUnauthorizedView which redirects unauthenticated users to the
login page if a page raises an Unauthorized. Alter UserSettingsView to raise
one in the right cases, for testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
                                         'images/interface/maximize.png')
35
35
        ctx['minimize_path'] = media_url(req, CorePlugin, 
36
36
                                         'images/interface/minimize.png')
37
 
        ctx['start_body_attrs'] = {'class': 'console_body windowpane minimal'}
 
37
        ctx['start_body_attrs'] = {'class': 'windowpane minimal'}
38
38
        return ctx