Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 1407:f7c24fd93dfe
added a form to show a specific issue
fixed layout issues with forms in sidebar
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Feb 2003 00:01:44 +0000 |
| parents | 27586da5557c |
| children | 8dc60d87ab42 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Sun Feb 02 23:59:48 2003 +0000 +++ b/roundup/cgi/client.py Mon Feb 03 00:01:44 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.74 2003-01-27 16:32:48 kedder Exp $ +# $Id: client.py,v 1.75 2003-02-03 00:01:44 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -396,6 +396,7 @@ ('logout', 'logout_action'), ('search', 'searchAction'), ('retire', 'retireAction'), + ('show', 'showAction'), ) def handle_action(self): ''' Determine whether there should be an _action called. @@ -1023,6 +1024,15 @@ return 1 + def showAction(self): + ''' Show a node + ''' + t = self.form[':type'].value + n = self.form[':number'].value + url = '%s%s%s'%(self.db.config.TRACKER_WEB, t, n) + raise Redirect, url + + # # Utility methods for editing #
