src/pyams_content/shared/view/interfaces.py
changeset 1389 1485db1e2b5e
parent 1281 327666db65f9
child 1428 48c1ee485dc0
equal deleted inserted replaced
1388:8c757af2fc50 1389:1485db1e2b5e
   285 
   285 
   286 class IViewCollectionsSettings(IViewSettings):
   286 class IViewCollectionsSettings(IViewSettings):
   287     """View collections settings"""
   287     """View collections settings"""
   288 
   288 
   289     select_context_collections = Bool(title=_("Select context collections?"),
   289     select_context_collections = Bool(title=_("Select context collections?"),
   290                                       description=_("If 'yes', collections will be extracted from context"),
   290                                       description=_("If 'yes', collections will be extracted "
       
   291                                                     "from context"),
   291                                       required=False,
   292                                       required=False,
   292                                       default=False)
   293                                       default=False)
   293 
   294 
   294     collections = ThesaurusTermsListField(title=_("Other collections"),
   295     collections = ThesaurusTermsListField(title=_("Other collections"),
   295                                           required=False)
   296                                           required=False)