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

« back to all changes in this revision

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

Merge from new-dispatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    template = 'template.html'
42
42
    plugin_scripts = {}
43
43
    plugin_styles = {}
 
44
    allow_overlays = True
44
45
    overlay_blacklist = []
45
46
 
46
47
    def __init__(self, req, **kwargs):
144
145
        scripts_init.
145
146
        """
146
147
        overlays = []
 
148
        if not self.allow_overlays:
 
149
            return overlays
 
150
 
147
151
        for plugin in req.plugin_index[OverlayPlugin]:
148
152
            for overclass in plugin.overlays:
149
153
                if overclass in self.overlay_blacklist: