changeset 2994:29e7a2ff6434

fix hyperlinking of items [SF#1080251]
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Dec 2004 02:29:28 +0000
parents b9725abb0048
children 08a17fc4dc01
files CHANGES.txt doc/announcement.txt roundup/cgi/templating.py
diffstat 3 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Wed Dec 08 02:21:52 2004 +0000
+++ b/CHANGES.txt	Wed Dec 08 02:29:28 2004 +0000
@@ -52,6 +52,7 @@
 - reset ID counters if the database is cleared (thanks William)
 - apply IE caching "fix" to automatically serve up all pages expired
 - fix typo (sf patch 1076629)
+- fix hyperlinking of items (sf bug 1080251)
 
 
 2004-10-26 0.7.9
--- a/doc/announcement.txt	Wed Dec 08 02:21:52 2004 +0000
+++ b/doc/announcement.txt	Wed Dec 08 02:29:28 2004 +0000
@@ -1,5 +1,9 @@
 I'm proud to release this 8th major feature release of Roundup.
 
+First up, big thanks go to alexander smishlajev who has done some really
+good work getting the i18n and new configuration components of this release
+going.
+
 Version 0.8 introduces far too many features to list here so I've put
 together a What's New page:
 
@@ -12,7 +16,8 @@
 * several speed optimisations,
 * integration of the python logging module,
 * optional configuration of roundup-server through a configuration file,
-* Permissions definable on a per-property basis,
+* creation of items check the new Create Permission rather than Edit now,
+* Permissions may be defined on a per-property basis,
 * Permissions may include a fragment of code to run to check, and
 * a bunch of smaller feature additions... 
 
--- a/roundup/cgi/templating.py	Wed Dec 08 02:21:52 2004 +0000
+++ b/roundup/cgi/templating.py	Wed Dec 08 02:29:28 2004 +0000
@@ -1124,9 +1124,9 @@
                 cl = self._db.getclass(s1)
                 if not cl.hasnode(s2):
                     raise KeyError, 'oops'
-                return '<a href="%s">%s%s</a>'%(s, s1, s2)
+                return '<a href="%s%s">%s</a>'%(s1, s2, s)
             except KeyError:
-                return '%s%s'%(s1, s2)
+                return s
 
     def hyperlinked(self):
         ''' Render a "hyperlinked" version of the text '''

Roundup Issue Tracker: http://roundup-tracker.org/