summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc4e77b)
raw | patch | inline | side by side (parent: dc4e77b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 02:49:08 +0000 (02:49 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 25 Mar 2004 02:49:08 +0000 (02:49 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2184 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/templating.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 00e3161f9ab3a9036223ded5ebec93d8aa1964ca..73ef60c2cd7f7e19cfc468492c49c0d9eff5ed6d 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
Fixed:
- Boolean HTML templating was broken
+- Link HTML templating field() was broken
2004-03-24 0.7.0b1
index df604bb45af6afe901f23e50c4218d2f3df35414..9a36a47af6871f8cbf38a404983f61ab37d925af 100644 (file)
else:
k = linkcl.getkey()
if k:
- label = linkcl.get(self._value, k)
+ value = linkcl.get(self._value, k)
else:
- label = self._value
- value = cgi.escape(str(self._value))
+ value = self._value
+ value = cgi.escape(str(value))
value = '"'.join(value.split('"'))
return '<input name="%s" value="%s" size="%s">'%(self._formname,
- label, size)
+ value, size)
def menu(self, size=None, height=None, showid=0, additional=[],
sort_on=None, **conditions):