summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00c5d9f)
raw | patch | inline | side by side (parent: 00c5d9f)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Mar 2003 04:46:20 +0000 (04:46 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 17 Mar 2003 04:46:20 +0000 (04:46 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1595 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/client.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index aafba74e8166a811b8952a2609eb3ca7968abd61..e199686fbd6b71fd22a338e84e689b77f5948db7 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
- don't display "Editing" on read-only pages (sf bug 651967)
- re-worked detectors initialisation - woohoo, no more cross-importing!
- fixed export/import of retired nodes (sf bug 685273)
+- remember the display template specified during edit (sf bug 701815)
2003-??-?? 0.5.7
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 77a38a9bb9cf12b253e2cf609f4729e957fd1127..a2931d7601005e32ab9223ae2d361c83959907a2 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
-# $Id: client.py,v 1.105 2003-03-17 04:26:24 richard Exp $
+# $Id: client.py,v 1.106 2003-03-17 04:46:20 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
# nice message
message = _('You are now registered, welcome!')
- # redirect to the item's edit page
- raise Redirect, '%suser%s?@ok_message=%s'%(
- self.base, self.userid, urllib.quote(message))
+ # redirect to the user's page
+ raise Redirect, '%suser%s?@ok_message=%s&@template=%s'%(self.base,
+ self.userid, urllib.quote(message), urllib.quote(self.template))
def passResetAction(self):
''' Handle password reset requests.
self.db.commit()
# redirect to the item's edit page
- raise Redirect, '%s%s%s?@ok_message=%s'%(self.base, self.classname,
- self.nodeid, urllib.quote(message))
+ raise Redirect, '%s%s%s?@ok_message=%s&@template=%s'%(self.base,
+ self.classname, self.nodeid, urllib.quote(message),
+ urllib.quote(self.template))
def editItemPermission(self, props):
''' Determine whether the user has permission to edit this item.
# commit now that all the tricky stuff is done
self.db.commit()
- print '%s%s%s?@ok_message=%s'%(self.base, self.classname,
- self.nodeid, urllib.quote(messages))
# redirect to the new item's page
- raise Redirect, '%s%s%s?@ok_message=%s'%(self.base, self.classname,
- self.nodeid, urllib.quote(messages))
+ raise Redirect, '%s%s%s?@ok_message=%s&@template=%s'%(self.base,
+ self.classname, self.nodeid, urllib.quote(messages),
+ urllib.quote(self.template))
def newItemPermission(self, props):
''' Determine whether the user has permission to create (edit) this