Ignore:
Timestamp:
29/06/10 10:28:18 (10 years ago)
Author:
astephen
Message:

more fixes for admin interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/renderer/ui_renderer.py

    r7115 r7118  
    2121        # Instantiate Genshi template loader 
    2222        self.template_dir = config["wps.template_dir"] 
    23         self.templateLoader = TemplateLoader(self.template_dir, auto_reload=True) 
     23        self.templateLoader = TemplateLoader(self.template_dir, auto_reload = True) 
    2424 
    2525    def _htmlifyItems(self, items): 
     
    4040        """ 
    4141        tmpl_gen = self.templateLoader.load("ui_template.html") 
     42 
    4243        # Make sure items are HTML and won't be escaped 
    4344        items = self._htmlifyItems(items) 
    4445        stream = tmpl_gen.generate(title = title, items = items,  
    4546                        wps_capabilities_url = "/wps?Service=WPS&Request=GetCapabilities&Format=text/xml", 
    46                         admin = admin, bbox_required = bbox_required) 
     47                        bbox_required = bbox_required) 
    4748        return stream.render('xhtml') 
    4849 
     
    7475                 ("Jobs", jobs_html)]   
    7576 
    76         return self.render("Jobs Page", items, admin = admin) 
     77        return self.render("Jobs Page", items)#, admin = admin) 
    7778 
    7879 
Note: See TracChangeset for help on using the changeset viewer.