Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 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 | b9a55628a78d |
| children | 50b0f8e98247 |
line wrap: on
line diff
--- 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 '''
