diff roundup/cgi/templating.py @ 2995:4f4ad11ab69c maint-0.7

merge from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Wed, 08 Dec 2004 02:30:14 +0000
parents 409510fcb18f
children ef9f9c8b949c
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Tue Dec 07 23:31:00 2004 +0000
+++ b/roundup/cgi/templating.py	Wed Dec 08 02:30:14 2004 +0000
@@ -1080,9 +1080,9 @@
                 cl = self._db.getclass(s1.lower())
                 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/