src/pyams_content/features/menu/portlet/navigation/double.py
changeset 859 5139e1da058e
parent 691 773429b4a3ed
child 1073 195e567b69ac
equal deleted inserted replaced
856:0e8c775ca958 859:5139e1da058e
    44 @factory_config(provided=IDoubleNavigationPortletSettings)
    44 @factory_config(provided=IDoubleNavigationPortletSettings)
    45 class DoubleNavigationPortletSettings(PortletSettings):
    45 class DoubleNavigationPortletSettings(PortletSettings):
    46     """Double navigation portlet settings"""
    46     """Double navigation portlet settings"""
    47 
    47 
    48     title = FieldProperty(IDoubleNavigationPortletSettings['title'])
    48     title = FieldProperty(IDoubleNavigationPortletSettings['title'])
    49     subtitle = FieldProperty(IDoubleNavigationPortletSettings['subtitle'])
       
    50 
    49 
    51     @property
    50     @property
    52     def menus(self):
    51     def menus(self):
    53         return get_annotation_adapter(self, DOUBLE_NAVIGATION_LINKS_KEY, MenusContainer,
    52         return get_annotation_adapter(self, DOUBLE_NAVIGATION_LINKS_KEY, MenusContainer,
    54                                       markers=IDoubleNavigationMenusContainer, name='++ass++menus')
    53                                       markers=IDoubleNavigationMenusContainer, name='++ass++menus')