1 | <?xml version="1.0"?> |
---|
2 | <object name="GlossaryItem" meta_type="CPS Flexible Type Information" |
---|
3 | xmlns:i18n="http://xml.zope.org/namespaces/i18n"> |
---|
4 | <property name="title">portal_type_GlossaryItem_title</property> |
---|
5 | <property name="description">portal_type_GlossaryItem_description</property> |
---|
6 | <property name="content_icon">glossary_icon.png</property> |
---|
7 | <property name="content_meta_type">CPS Document</property> |
---|
8 | <property name="product">CPSDocument</property> |
---|
9 | <property name="factory">addCPSDocument</property> |
---|
10 | <property name="immediate_view">cpsdocument_view</property> |
---|
11 | <property name="global_allow">True</property> |
---|
12 | <property name="filter_content_types">True</property> |
---|
13 | <property name="allowed_content_types"/> |
---|
14 | <property name="allow_discussion">False</property> |
---|
15 | <property name="cps_is_searchable">True</property> |
---|
16 | <property name="cps_proxy_type">document</property> |
---|
17 | <property name="cps_display_as_document_in_listing">False</property> |
---|
18 | <property name="schemas"> |
---|
19 | <element value="metadata"/> |
---|
20 | <element value="common"/> |
---|
21 | </property> |
---|
22 | <property name="layouts"> |
---|
23 | <element value="common"/> |
---|
24 | <element value="glossaryitem"/> |
---|
25 | </property> |
---|
26 | <property name="layout_clusters"> |
---|
27 | <element value="metadata:metadata"/> |
---|
28 | </property> |
---|
29 | <property name="flexible_layouts"/> |
---|
30 | <property name="storage_methods"/> |
---|
31 | <property name="cps_is_portlet">False</property> |
---|
32 | <alias from="(Default)" to="cpsdocument_view"/> |
---|
33 | <alias from="view" to="cpsdocument_view"/> |
---|
34 | <action title="action_view" action_id="view" category="object" |
---|
35 | condition_expr="" url_expr="string:${object_url}/cpsdocument_view" |
---|
36 | visible="True"> |
---|
37 | <permission value="View"/> |
---|
38 | </action> |
---|
39 | <action title="action_new_content" action_id="new_content" category="object" |
---|
40 | condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'" |
---|
41 | url_expr="string:${object_url}/folder_factories" visible="True"> |
---|
42 | <permission value="Modify portal content"/> |
---|
43 | </action> |
---|
44 | <action title="action_folder_contents" action_id="contents" category="object" |
---|
45 | condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'" |
---|
46 | url_expr="string:${object_url}/folder_contents" visible="True"> |
---|
47 | <permission value="Modify portal content"/> |
---|
48 | </action> |
---|
49 | <action title="action_edit" action_id="edit" category="object" |
---|
50 | condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form" |
---|
51 | visible="True"> |
---|
52 | <permission value="Modify portal content"/> |
---|
53 | </action> |
---|
54 | <action title="action_metadata" action_id="metadata" category="object" |
---|
55 | condition_expr="not:portal/portal_membership/isAnonymousUser" |
---|
56 | url_expr="string:${object_url}/cpsdocument_metadata" visible="True"> |
---|
57 | <permission value="View"/> |
---|
58 | </action> |
---|
59 | <action title="action_local_roles" action_id="localroles" category="object" |
---|
60 | condition_expr="python:object.getTypeInfo().cps_proxy_type != 'document'" |
---|
61 | url_expr="string:${object_url}/folder_localrole_form" visible="True"> |
---|
62 | <permission value="Change permissions"/> |
---|
63 | </action> |
---|
64 | <action title="action_status_history" action_id="status_history" |
---|
65 | category="workflow" |
---|
66 | condition_expr="" |
---|
67 | url_expr="string:${object_url}/content_status_history" visible="True"> |
---|
68 | <permission value="View status history"/> |
---|
69 | </action> |
---|
70 | </object> |
---|