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

« back to all changes in this revision

Viewing changes to ivle/webapp/tos/__init__.py

Allow XHTML views to specify that they cannot have overlays.

We utilise this in +{tos,logout,login}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    If a user has already accepted it, they just see a static page.
34
34
    """
35
35
 
 
36
    allow_overlays = False
 
37
 
36
38
    def __init__(self, req):
37
39
        # We need to be able to handle the case where a user has status
38
40
        # 'no_agreement'. In that case, req.user will be None, so we have