Skip to content

Commit 3f5fc9f

Browse files
author
Richard Jones
committed
fix hyperlinking of items [SF#1080251]
1 parent fa6f91a commit 3f5fc9f

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Fixed:
5252
- reset ID counters if the database is cleared (thanks William)
5353
- apply IE caching "fix" to automatically serve up all pages expired
5454
- fix typo (sf patch 1076629)
55+
- fix hyperlinking of items (sf bug 1080251)
5556

5657

5758
2004-10-26 0.7.9

doc/announcement.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
I'm proud to release this 8th major feature release of Roundup.
22

3+
First up, big thanks go to alexander smishlajev who has done some really
4+
good work getting the i18n and new configuration components of this release
5+
going.
6+
37
Version 0.8 introduces far too many features to list here so I've put
48
together a What's New page:
59

@@ -12,7 +16,8 @@ Some highlights:
1216
* several speed optimisations,
1317
* integration of the python logging module,
1418
* optional configuration of roundup-server through a configuration file,
15-
* Permissions definable on a per-property basis,
19+
* creation of items check the new Create Permission rather than Edit now,
20+
* Permissions may be defined on a per-property basis,
1621
* Permissions may include a fragment of code to run to check, and
1722
* a bunch of smaller feature additions...
1823

roundup/cgi/templating.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,9 +1124,9 @@ def _hyper_repl(self, match):
11241124
cl = self._db.getclass(s1)
11251125
if not cl.hasnode(s2):
11261126
raise KeyError, 'oops'
1127-
return '<a href="%s">%s%s</a>'%(s, s1, s2)
1127+
return '<a href="%s%s">%s</a>'%(s1, s2, s)
11281128
except KeyError:
1129-
return '%s%s'%(s1, s2)
1129+
return s
11301130

11311131
def hyperlinked(self):
11321132
''' Render a "hyperlinked" version of the text '''

0 commit comments

Comments
 (0)