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