equal
deleted
inserted
replaced
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') |