summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24bf368)
raw | patch | inline | side by side (parent: 24bf368)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 3 Feb 2003 00:01:44 +0000 (00:01 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 3 Feb 2003 00:01:44 +0000 (00:01 +0000) |
- fixed layout issues with forms in sidebar
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1485 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1485 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/client.py | patch | blob | history | |
roundup/templates/classic/html/page | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 1d3c15d595d2023c9636a5add0b10cdaf990b0c1..b46ed5e1b9edf2e3d0388192cd401e9fa67cbfe8 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
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
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 3cb0915741cc94e4a8a8ee7a218c1bc03224ae0f..108e52cf4a425b42fbb2811dbf26c897beb4dbe4 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $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).
('logout', 'logout_action'),
('search', 'searchAction'),
('retire', 'retireAction'),
+ ('show', 'showAction'),
)
def handle_action(self):
''' Determine whether there should be an _action called.
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
#
index 033a379f292de3ba1aa9a87136216791e4b0551c..112fbcecfb78e3b15e548a0567643fec6713d604 100644 (file)
</tal:block>
</p>
- <p class="classblock"
+ <form method="POST">
+ <p class="classblock"
tal:condition="python:request.user.hasPermission('View', 'issue')">
- <b>Issues</b><br>
- <a tal:condition="python:request.user.hasPermission('Edit', 'issue')"
+ <b>Issues</b><br>
+ <a tal:condition="python:request.user.hasPermission('Edit', 'issue')"
href="issue?:template=item">Create New<br></a>
- <a href="issue?:sort=-activity&:group=priority&:filter=status,assignedto&:columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=-1">Show Unassigned</a><br>
- <a href="issue?:sort=-activity&:group=priority&:filter=status&:columns=id,activity,title,creator,assignedto,status&status=-1,1,2,3,4,5,6,7">Show All</a><br>
- <a href="issue?:template=search">Search</a>
- </p>
+ <a href="issue?:sort=-activity&:group=priority&:filter=status,assignedto&:columns=id,activity,title,creator,status&status=-1,1,2,3,4,5,6,7&assignedto=-1">Show Unassigned</a><br>
+ <a href="issue?:sort=-activity&:group=priority&:filter=status&:columns=id,activity,title,creator,assignedto,status&status=-1,1,2,3,4,5,6,7">Show All</a><br>
+ <a href="issue?:template=search">Search</a><br>
+ <input type="submit" value="Show issue no."><input size="4" type="text" name=":number">
+ <input type="hidden" name=":type" value="issue">
+ <input type="hidden" name=":action" value="show">
+ </p>
+ </form>
<p class="classblock"
tal:condition="python:request.user.hasPermission('View', 'keyword')">
href="user?:template=item">Add User</a>
</p>
- <p class="userblock" tal:condition="python:request.user.username=='anonymous'">
- <form method="POST" action="">
+ <form method="POST" action="">
+ <p class="userblock" tal:condition="python:request.user.username=='anonymous'">
<input size="10" name="__login_name"><br>
<input size="10" type="password" name="__login_password"><br>
<input type="submit" name=":action" value="login">
<span tal:replace="structure request/indexargs_form" />
- </form>
- <a href="user?:template=register">Register</a>
- </p>
+ <a href="user?:template=register">Register</a>
+ </p>
+ </form>
<p class="userblock" tal:condition="python:request.user.username != 'anonymous'">
<b>Hello,</b><br><b tal:content="request/user/username">username</b><br>