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

« back to all changes in this revision

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

MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
        ctx['scripts_init'] = req.scripts_init
87
87
        ctx['app_template'] = app
 
88
        ctx['title_img'] = media_url(req, CorePlugin,
 
89
                                     "images/chrome/title.png")
88
90
        self.populate_headings(req, ctx)
89
91
        tmpl = loader.load(os.path.join(os.path.dirname(__file__), 
90
92
                                                        'ivle-headings.html'))
117
119
            for tab in plugin.tabs:
118
120
                # tab is a tuple: name, title, desc, icon, path
119
121
                new_app = {}
120
 
                new_app['this_app'] = hasattr(self, 'appname') \
121
 
                                      and tab[0] == self.appname
 
122
                new_app['this_app'] = hasattr(self, 'tab') \
 
123
                                      and tab[0] == self.tab
122
124
 
123
125
                # Icon name
124
126
                if tab[3] is not None: