Changeset 3347 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/interfaces.py
- Timestamp:
- Jan 31, 2012 12:20:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/interfaces.py
r3339 r3347 10 10 cachings = SimpleVocabulary( 11 11 [SimpleTerm(value=u'anonymous', title=_(u'Cache only for anonymous')), 12 SimpleTerm(value=u'all', title=_(u'Cache for all users')), ]12 SimpleTerm(value=u'all', title=_(u'Cache for all users')), ] 13 13 ) 14 14 15 15 16 class IDropDownMenuLayer(IDefaultPloneLayer): … … 83 84 default=u"_sub", 84 85 required=False) 85 86 86 87 enable_caching = schema.Bool( 87 88 title=_(u"Enable menu caching"), 88 89 description=_(u"Caching of the menu viewlet improves page rendering " 89 90 u"speed."), 90 default=True 91 default=True 91 92 ) 92 93 … … 95 96 description=_(u"Caching strategy defines how the cache key will be built."), 96 97 default="anonymous", 97 vocabulary=cachings 98 vocabulary=cachings 98 99 )
Note: See TracChangeset
for help on using the changeset viewer.