diff roundup/cgi/engine_jinja2.py @ 4753:df36d7bd9a02

- Add more templates - Move page-header to a block of its own - Make the status message available to templates
author Pradip Caulagi <caulagi@gmail.com>
date Sun, 03 Feb 2013 11:58:25 +0530
parents a8c95abaf3fb
children a6b3134f26da
line wrap: on
line diff
--- a/roundup/cgi/engine_jinja2.py	Sun Feb 03 00:08:54 2013 +0530
+++ b/roundup/cgi/engine_jinja2.py	Sun Feb 03 11:58:25 2013 +0530
@@ -82,8 +82,9 @@
     def render(self, client, classname, request, **options):
         # [ ] limit the information passed to the minimal necessary set
         c = context(client, self, classname, request)
-        '''c.update({'options': options})
+        c.update({'options': options})
 
+        '''
         def translate(msgid, domain=None, mapping=None, default=None):
             result = client.translator.translate(domain, msgid,
                          mapping=mapping, default=default)

Roundup Issue Tracker: http://roundup-tracker.org/