From 9f343692f6229e8bb8c5388f79a96f0be99b6349 Mon Sep 17 00:00:00 2001
From: richard
Date: Mon, 3 Feb 2003 00:01:44 +0000
Subject: [PATCH] - added a form to show a specific issue - fixed layout issues
with forms in sidebar
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1485 57a73879-2fb5-44c3-a270-3262357dd7e2
---
CHANGES.txt | 4 +++-
roundup/cgi/client.py | 12 +++++++++++-
roundup/templates/classic/html/page | 29 +++++++++++++++++------------
3 files changed, 31 insertions(+), 14 deletions(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index 1d3c15d..b46ed5e 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,7 +2,7 @@ This file contains the changes to the Roundup system over time. The entries
are given with the most recent entry first.
2003-??-?? 0.6.0
-- better hyperlinking in web message texts (handle ambiguous cases)
+- better hyperlinking in web message texts (sf bug 669777)
- support setting of properties on message and file through web and
email interface (thanks John Rouillard)
- allow additional control over the roundupdb email sending (explicit
@@ -25,6 +25,8 @@ are given with the most recent entry first.
for helping chase it down and Luke Opperman for confirming fix)
- added ability to display localized dates in web interface. User input is
convered to GMT (see doc/upgrading.txt).
+- added a form to show a specific issue
+- fixed layout issues with forms in sidebar
2003-??-?? 0.5.5
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 3cb0915..108e52c 100644
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
@@ -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 @@ class Client:
('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 @@ class Client:
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
#
diff --git a/roundup/templates/classic/html/page b/roundup/templates/classic/html/page
index 033a379..112fbce 100644
--- a/roundup/templates/classic/html/page
+++ b/roundup/templates/classic/html/page
@@ -28,15 +28,20 @@