equal
deleted
inserted
replaced
59 |
59 |
60 class NavigationComponent(Component): |
60 class NavigationComponent(Component): |
61 """abstract base class for navigation components""" |
61 """abstract base class for navigation components""" |
62 id = 'navigation' |
62 id = 'navigation' |
63 __select__ = paginated_rset() |
63 __select__ = paginated_rset() |
|
64 |
|
65 property_defs = { |
|
66 _('visible'): dict(type='Boolean', default=True, |
|
67 help=_('display the component or not')), |
|
68 } |
64 |
69 |
65 page_size_property = 'navigation.page-size' |
70 page_size_property = 'navigation.page-size' |
66 start_param = '__start' |
71 start_param = '__start' |
67 stop_param = '__stop' |
72 stop_param = '__stop' |
68 page_link_templ = u'<span class="slice"><a href="%s" title="%s">%s</a></span>' |
73 page_link_templ = u'<span class="slice"><a href="%s" title="%s">%s</a></span>' |