src/pyams_content/component/paragraph/portlet/interfaces.py
changeset 1140 1df391914ba5
parent 1125 7f0cb6e407fc
equal deleted inserted replaced
1139:b99e7d0757cd 1140:1df391914ba5
    40     anchors_only = Bool(title=_("Anchors only?"),
    40     anchors_only = Bool(title=_("Anchors only?"),
    41                         description=_("If 'yes', only paragraphs set as 'anchors' will be selected"),
    41                         description=_("If 'yes', only paragraphs set as 'anchors' will be selected"),
    42                         required=True,
    42                         required=True,
    43                         default=False)
    43                         default=False)
    44 
    44 
       
    45     display_navigation_links = Bool(title=_("Display navigation links?"),
       
    46                                     description=_("If 'no', navigation links to previous and next contents "
       
    47                                                   "will not be displayed"),
       
    48                                     required=True,
       
    49                                     default=True)
       
    50 
    45 
    51 
    46 class IParagraphNavigationPortletSettings(IPortletSettings):
    52 class IParagraphNavigationPortletSettings(IPortletSettings):
    47     """Paragraphs container navigation settings interface"""
    53     """Paragraphs container navigation settings interface"""
    48 
    54 
    49     paragraphs = List(title=_("Selected paragraphs"),
    55     paragraphs = List(title=_("Selected paragraphs"),