Réindexation des memberdata. Refactoring.
[Plinn.git] / profiles / default / types / Calendar.xml
1 <?xml version="1.0"?>
2 <object name="Calendar" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title">Agenda</property>
5 <property name="description">Calendar contains events.</property>
6 <property name="icon_expr">string:${portal_url}/calendar_icon.gif</property>
7 <property name="content_meta_type">Plinn Calendar</property>
8 <property name="product">Plinn</property>
9 <property name="factory">manage_addPlinnFolder</property>
10 <property name="add_view_expr"></property>
11 <property name="link_target"></property>
12 <property name="immediate_view">object/view</property>
13 <property name="global_allow">True</property>
14 <property name="filter_content_types">True</property>
15 <property name="allowed_content_types">
16 <element value="Event"/>
17 </property>
18 <property name="allow_discussion">False</property>
19 <alias from="(Default)" to="cal_calendar_view"/>
20 <alias from="view" to="cal_calendar_view"/>
21 <action title="View" action_id="view" category="object" condition_expr=""
22 icon_expr="" link_target=""
23 url_expr="string:${object_url}/cal_calendar_view" visible="True">
24 <permission value="View"/>
25 </action>
26 <action title="Edit" action_id="edit" category="object" condition_expr=""
27 icon_expr="" link_target=""
28 url_expr="string:${object_url}/folder_edit_form" visible="False">
29 <permission value="Manage properties"/>
30 </action>
31 <action title="Share" action_id="localroles" category="object"
32 condition_expr="" icon_expr="" link_target=""
33 url_expr="string:${object_url}/folder_localrole_form" visible="True">
34 <permission value="Manage properties"/>
35 </action>
36 <action title="Status history" action_id="history" category="object"
37 condition_expr="" icon_expr="" link_target=""
38 url_expr="string:${object_url}/content_status_history" visible="True">
39 <permission value="Request review"/>
40 <permission value="Review portal content"/>
41 </action>
42 </object>