src/pyams_content/features/menu/portlet/navigation/simple.py
branchdev-dc
changeset 858 1afd36ed6947
parent 691 773429b4a3ed
child 1157 ffb751b038cc
equal deleted inserted replaced
857:67e46871cb2a 858:1afd36ed6947
    44 @factory_config(provided=ISimpleNavigationPortletSettings)
    44 @factory_config(provided=ISimpleNavigationPortletSettings)
    45 class SimpleNavigationPortletSettings(PortletSettings):
    45 class SimpleNavigationPortletSettings(PortletSettings):
    46     """Simple navigation portlet settings"""
    46     """Simple navigation portlet settings"""
    47 
    47 
    48     title = FieldProperty(ISimpleNavigationPortletSettings['title'])
    48     title = FieldProperty(ISimpleNavigationPortletSettings['title'])
    49     subtitle = FieldProperty(ISimpleNavigationPortletSettings['subtitle'])
       
    50 
    49 
    51     @property
    50     @property
    52     def links(self):
    51     def links(self):
    53         return get_annotation_adapter(self, SIMPLE_NAVIGATION_LINKS_KEY, Menu,
    52         return get_annotation_adapter(self, SIMPLE_NAVIGATION_LINKS_KEY, Menu,
    54                                       markers=ISimpleNavigationMenu, name='++ass++links')
    53                                       markers=ISimpleNavigationMenu, name='++ass++links')