summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f49674)
raw | patch | inline | side by side (parent: 0f49674)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 23 Jan 2002 06:15:24 +0000 (06:15 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 23 Jan 2002 06:15:24 +0000 (06:15 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@593 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index 6390a2b52b1eb26e99e347c1b305fb8ff6c8547e..c4f8866fc05239d29ad26c4ebcd3e1c896072386 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: htmltemplate.py,v 1.70 2002-01-23 05:47:57 richard Exp $
+# $Id: htmltemplate.py,v 1.71 2002-01-23 06:15:24 richard Exp $
__doc__ = """
Template engine.
return _('[List: not a Multilink]')
value = self.determine_value(property)
- if not value:
- return ''
+ if not value:
+ return ''
+ # sort, possibly revers and then re-stringify
+ value = map(int, value)
value.sort()
if reverse:
value.reverse()
+ value = map(str, value)
# render the sub-index into a string
fp = StringIO.StringIO()
#
# $Log: not supported by cvs2svn $
+# Revision 1.70 2002/01/23 05:47:57 richard
+# more HTML template cleanup and unit tests
+#
# Revision 1.69 2002/01/23 05:10:27 richard
# More HTML template cleanup and unit tests.
# - download() now implemented correctly, replacing link(is_download=1) [fixed in the