Skip to content

Commit ffcd026

Browse files
author
Justus Pendleton
committed
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.
1 parent b4bc53b commit ffcd026

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roundup/scripts/roundup_server.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
"""Command-line script that runs a server over roundup.cgi.client.
1919
20-
$Id: roundup_server.py,v 1.91 2007-09-03 17:26:42 jpend Exp $
20+
$Id: roundup_server.py,v 1.92 2007-09-07 20:27:46 jpend Exp $
2121
"""
2222
__docformat__ = 'restructuredtext'
2323

@@ -243,7 +243,11 @@ def index(self):
243243
template = open(self.CONFIG['TEMPLATE']).read()
244244
pt = PageTemplate()
245245
pt.write(template)
246-
extra = { 'trackers': self.TRACKERS }
246+
extra = { 'trackers': self.TRACKERS,
247+
'nothing' : None,
248+
'true' : 1,
249+
'false' : 0,
250+
}
247251
w(pt.pt_render(extra_context=extra))
248252
else:
249253
w(_('<html><head><title>Roundup trackers index</title></head>\n'

0 commit comments

Comments
 (0)