Пример #1
0
                    widget=atapi.IntegerWidget(
                        label=_(u'label_web_toc_depth',
                                default=u'Table of contents depth'),
                        description=_(u'help_web_toc_depth',
                                      default=u''))),
 atapi.StringField(
     name='latex_layout',
     required=True,
     vocabulary_factory='ftw.book.layoutsVocabulary',
     default_method='getDefaultLaTeXLayout',
     widget=atapi.SelectionWidget(
         label=_(u'book_label_layout', default=u'Layout'))),
 atapi.BooleanField(name='use_titlepage',
                    default=True,
                    widget=atapi.BooleanWidget(
                        label=_(u'book_label_use_titlepage',
                                default=u'Embedd a title page'),
                        description=_(u'book_help_use_titlepage',
                                      default=u''))),
 atapi.BooleanField(name='use_toc',
                    default=True,
                    widget=atapi.BooleanWidget(
                        label=_(u'book_label_use_toc',
                                default=u'Embedd table of contents'),
                        description=_(u'book_help_use_toc',
                                      default=u''))),
 atapi.BooleanField(name='use_lot',
                    default=True,
                    widget=atapi.BooleanWidget(
                        label=_(u'book_label_use_lot',
                                default=u'Embedd list of tables.'),
Пример #2
0
     default_output_type='text/x-html-safe',
     widget=atapi.RichWidget(
         description='',
         label=_at(u'label_body_text', default=u'Body Text'),
         rows=25,
         allow_file_upload=zconf.ATDocument.allow_document_upload),
 ),
 atapi.BooleanField(
     'hideTitle',
     required=False,
     languageIndependent=True,
     default=False,
     storage=atapi.AnnotationStorage(),
     schemata='settings',
     accessor='HideTitle',
     widget=atapi.BooleanWidget(
         description='',
         label=_(u'label_hide_title', default=u'Hide title'),
         visible={
             'view': 'hidden',
             'edit': 'visible'
         },
     ),
 ),
 atapi.BooleanField(
     'hideDescription',
     required=False,
     languageIndependent=True,
     default=False,
     storage=atapi.AnnotationStorage(),
     schemata='settings',
Пример #3
0
                      u"this tracker, one per line. E-mail addresses are "
                      u"allowed too. These persons will receive "
                      u"an email when an issue or response is added to the "
                      u"tracker. Members can also add themselves as "
                      u"watchers.")),
     ),
     write_permission=permissions.ModifyIssueWatchers),
 atapi.BooleanField(
     name='sendNotificationEmails',
     default=True,
     widget=atapi.BooleanWidget(
         label=_(u'Poi_label_sendNotificationEmails',
                 default=u"Send notification emails"),
         description=_(
             u'Poi_help_sendNotificationEmails',
             default=(
                 u"If selected, tracker managers will receive an email "
                 u"each time a new issue or response is posted, and "
                 u"issue submitters will receive an email when there "
                 u"is a new response and when an issue has been "
                 u"resolved, awaiting confirmation. Technicians will "
                 u"get an email when an issue is assigned to them.")),
     ),
 ),
 atapi.StringField(
     name='mailingList',
     widget=atapi.StringWidget(
         label=_(u'Poi_label_mailingList', default=u"Mailing list"),
         description=_(
             u'Poi_help_mailingList',
             default=(u"If given, and if 'Send notification emails' is "
Пример #4
0
     required=True,
     storage=atapi.AnnotationStorage(),
     searchable=False,
     default=0,
     widget=atapi.IntegerWidget(
         description='',
         label=_('Enter the number of the first reference number'),
         default=
         _('All payments will have consecutive numbers, enter here the value of the first.'
           ),  # no-qa
         size=10)),
 atapi.BooleanField(
     'mipago_use_debug_environment',
     required=False,
     default=True,
     widget=atapi.BooleanWidget(
         description='',
         label=_(
             'Check if the payments should be made on the TEST platform'),
     )),
 atapi.StringField(
     'citizen_surname1',
     schemata='citizendata',
     searchable=0,
     required=0,
     vocabulary='fieldsDisplayList',
     widget=atapi.SelectionWidget(
         label=_(u'Citizen surname1 field'),
         description=_(
             u"Select which field of the form has the citizen's 1st surname"
         ),
Пример #5
0
    atapi.TextField(
        name='description',
        searchable=True,
        widget=atapi.TextAreaWidget(
            label='Description',
            label_msgid='label_description',
            i18n_domain='plone',
        )
    ),
    atapi.BooleanField(
        'show_title',
        accessor='getShowTitle',
        widget=atapi.BooleanWidget(
            label=_(u'label_show_title', default=u"Show title"),
            description=_(
                u'help_show_title',
                default=u"Show title in page composition."
            )
        ),
        default=1,
        languageIndependent=True,
        schemata="settings"),

    atapi.BooleanField(
        'show_description',
        accessor='getShowDescription',
        widget=atapi.BooleanWidget(
            label=_(u'label_show_description',
                    default='Show description'),
            description=_(
                u'help_show_description',