diff roundup/scripts/roundup_server.py @ 3890:41948328f987

a couple more variables for tracker index templates per alex Not sure what to do about utils and i18n. Those are both tracker specific, I think. If you have multiple trackers which utils and i18n do you use? If someone ever asks for that we can tackle it then. The tracker index page should be fairly simple. I imagine they mostly just want to have some prettier HTML and/or CSS.
author Justus Pendleton <jpend@users.sourceforge.net>
date Fri, 07 Sep 2007 20:27:46 +0000
parents 1165f2204542
children 410cae6ab7dd
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py	Fri Sep 07 20:18:15 2007 +0000
+++ b/roundup/scripts/roundup_server.py	Fri Sep 07 20:27:46 2007 +0000
@@ -17,7 +17,7 @@
 
 """Command-line script that runs a server over roundup.cgi.client.
 
-$Id: roundup_server.py,v 1.91 2007-09-03 17:26:42 jpend Exp $
+$Id: roundup_server.py,v 1.92 2007-09-07 20:27:46 jpend Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -243,7 +243,11 @@
             template = open(self.CONFIG['TEMPLATE']).read()
             pt = PageTemplate()
             pt.write(template)
-            extra = { 'trackers': self.TRACKERS }
+            extra = { 'trackers': self.TRACKERS,
+                'nothing' : None,
+                'true' : 1,
+                'false' : 0,
+            }
             w(pt.pt_render(extra_context=extra))
         else:
             w(_('<html><head><title>Roundup trackers index</title></head>\n'

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