6 |
# Make this a folder so we can toss in some talking points |
# Make this a folder so we can toss in some talking points |
7 |
schema = BaseFolderSchema + Schema(( |
schema = BaseFolderSchema + Schema(( |
8 |
|
|
9 |
|
StringField('title', |
10 |
|
required=1, |
11 |
|
searchable=1, |
12 |
|
default='', |
13 |
|
accessor='Title', |
14 |
|
widget=StringWidget(label_msgid="label_title", |
15 |
|
description_msgid="help_title", |
16 |
|
i18n_domain="plone"), |
17 |
|
), |
18 |
|
IntegerField('talkingPoints', |
19 |
|
widget=IntegerWidget(label='Number of Talking Points'), |
20 |
|
), |
21 |
TextField('instructions', |
TextField('instructions', |
22 |
widget=RichWidget(label='Instructions'), |
widget=RichWidget(label='Instructions'), |
23 |
), |
), |
27 |
class ActionPhone(BaseFolder): |
class ActionPhone(BaseFolder): |
28 |
"""Phone Action""" |
"""Phone Action""" |
29 |
archetype_name = "Action (Phone)" |
archetype_name = "Action (Phone)" |
30 |
|
allowed_content_types = ('TalkingPoint',) |
31 |
schema = schema |
schema = schema |
32 |
actions = ( { |
actions = ( { |
33 |
'id': 'folder_contents', |
'id': 'folder_contents', |