Mercurial > p > roundup > code
diff roundup/scripts/roundup_server.py @ 635:3d61b5d2243e
Added popup help for classes using the classhelp html template function.
- add <display call="classhelp('priority', 'id,name,description')">
to an item page, and it generates a link to a popup window which displays
the id, name and description for the priority class. The description
field won't exist in most installations, but it will be added to the
default templates.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Feb 2002 06:57:39 +0000 |
| parents | 2256f81293c1 |
| children | 3569dfce4bc5 |
line wrap: on
line diff
--- a/roundup/scripts/roundup_server.py Thu Feb 21 06:23:00 2002 +0000 +++ b/roundup/scripts/roundup_server.py Thu Feb 21 06:57:39 2002 +0000 @@ -18,7 +18,7 @@ # """ HTTP Server that serves roundup. -$Id: roundup_server.py,v 1.2 2002-01-29 20:07:15 jhermann Exp $ +$Id: roundup_server.py,v 1.3 2002-02-21 06:57:39 richard Exp $ """ # python version check @@ -158,6 +158,7 @@ env['SCRIPT_NAME'] = '' env['SERVER_NAME'] = self.server.server_name env['SERVER_PORT'] = str(self.server.server_port) + env['HOST'] = self.headers['host'] decoded_query = query.replace('+', ' ') @@ -248,6 +249,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.2 2002/01/29 20:07:15 jhermann +# Conversion to generated script stubs +# # Revision 1.1 2002/01/29 19:53:08 jhermann # Moved scripts from top-level dir to roundup.scripts subpackage #
