Ignore:
Timestamp:
Jan 31, 2012 12:20:31 PM (12 years ago)
Author:
chervol
Message:

pep fixes, portal_tabs cache condition added, extended readme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/interfaces.py

    r3339 r3347  
    1010cachings = SimpleVocabulary( 
    1111    [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')), ] 
    1313    ) 
     14 
    1415 
    1516class IDropDownMenuLayer(IDefaultPloneLayer): 
     
    8384        default=u"_sub", 
    8485        required=False) 
    85      
     86 
    8687    enable_caching = schema.Bool( 
    8788        title=_(u"Enable menu caching"), 
    8889        description=_(u"Caching of the menu viewlet improves page rendering " 
    8990                      u"speed."), 
    90         default=True         
     91        default=True 
    9192        ) 
    9293 
     
    9596    description=_(u"Caching strategy defines how the cache key will be built."), 
    9697    default="anonymous", 
    97     vocabulary=cachings         
     98    vocabulary=cachings 
    9899    ) 
Note: See TracChangeset for help on using the changeset viewer.