Changeset 3361 in products for quintagroup.portlet.cumulus
- Timestamp:
- Feb 24, 2012 10:15:53 AM (12 years ago)
- Location:
- quintagroup.portlet.cumulus/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.portlet.cumulus/trunk/docs/HISTORY.txt
r3317 r3361 1 1 Changelog 2 2 ========= 3 4 1.2 (2012-02-24) 5 ------------------ 6 7 * Implemented max. number of tags to be displayed (Suresh V) 3 8 4 9 1.1.1 (2011-10-28) -
quintagroup.portlet.cumulus/trunk/quintagroup/portlet/cumulus/cumulusportlet.py
r1041 r3361 98 98 required=True, 99 99 default=u'pt') 100 101 max_tags = schema.Int( 102 title=_(u'Maximum number of tags to display'), 103 description=_(u'Used when too many tags make the display ugly.'), 104 required=True, 105 default=50) 100 106 101 107 class Assignment(base.Assignment): … … 122 128 largest = 22 123 129 unit = u'pt' 130 max_tags = 50 124 131 125 132 def __init__(self, **kw): … … 209 216 return [] 210 217 218 tags.sort(lambda x,y: (x[1]<y[1] and 1) or (x[1]>y[1] and -1) or 0) 219 tags = tags[:self.data.max_tags] 220 211 221 number_of_entries = [i[1] for i in tags] 212 222 -
quintagroup.portlet.cumulus/trunk/setup.py
r3323 r3361 2 2 import os 3 3 4 version = '1. 1.1'4 version = '1.2' 5 5 6 6 setup(name='quintagroup.portlet.cumulus',
Note: See TracChangeset
for help on using the changeset viewer.