src/pyams_default_theme/component/association/interfaces.py
changeset 534 7d485d40eec3
parent 382 f0c399c2d649
equal deleted inserted replaced
533:6ad33b7488b7 534:7d485d40eec3
    46 
    46 
    47 class IAssociationParagraphSlicedRemoteContentRendererSettings(IBaseAssociationParagraphRemoteContentRendererSettings):
    47 class IAssociationParagraphSlicedRemoteContentRendererSettings(IBaseAssociationParagraphRemoteContentRendererSettings):
    48     """Associations paragraph renderer settings interface"""
    48     """Associations paragraph renderer settings interface"""
    49 
    49 
    50     paragraphs_count = Int(title=_("Paragraphs count"),
    50     paragraphs_count = Int(title=_("Paragraphs count"),
    51                            description=_("Number of paragraphs used for each remote content (default=1)"),
    51                            description=_("Number of paragraphs used for each remote content "
       
    52                                          "(default=1)"),
    52                            required=False,
    53                            required=False,
    53                            default=1)
    54                            default=1)
    54 
    55 
    55 
    56 
    56 class IAssociationParagraphRemoteContentRendererSettings(IBaseAssociationParagraphRemoteContentRendererSettings):
    57 class IAssociationParagraphRemoteContentRendererSettings(IBaseAssociationParagraphRemoteContentRendererSettings):
    61                                   "selection means that all paragraphs will be selected"),
    62                                   "selection means that all paragraphs will be selected"),
    62                     required=False,
    63                     required=False,
    63                     value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
    64                     value_type=Choice(vocabulary=PARAGRAPH_FACTORIES_VOCABULARY))
    64 
    65 
    65     anchors_only = Bool(title=_("Anchors only?"),
    66     anchors_only = Bool(title=_("Anchors only?"),
    66                         description=_("If 'yes', only paragraphs set as 'anchors' will be selected"),
    67                         description=_("If 'yes', only paragraphs set as 'anchors' will be "
       
    68                                       "selected"),
    67                         required=True,
    69                         required=True,
    68                         default=False)
    70                         default=False)