bugfix
[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="content_icon">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="immediate_view">object/view</property>
11 <property name="global_allow">True</property>
12 <property name="filter_content_types">True</property>
13 <property name="allowed_content_types">
14 <element value="Event"/>
15 </property>
16 <property name="allow_discussion">True</property>
17 <alias from="(Default)" to="cal_calendar_view"/>
18 <alias from="view" to="cal_calendar_view"/>
19 <action title="View" action_id="view" category="object" condition_expr=""
20 url_expr="string:${object_url}/cal_calendar_view" visible="True">
21 <permission value="View"/>
22 </action>
23 <action title="Edit" action_id="edit" category="object" condition_expr=""
24 url_expr="string:${object_url}/folder_edit_form" visible="False">
25 <permission value="Manage properties"/>
26 </action>
27 <action title="Share" action_id="localroles" category="object"
28 condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
29 visible="True">
30 <permission value="Manage properties"/>
31 </action>
32 <action title="Status history" action_id="history" category="object"
33 condition_expr="" url_expr="string:${object_url}/content_status_history"
34 visible="True">
35 <permission value="Request review"/>
36 <permission value="Review portal content"/>
37 </action>
38 </object>