Refactoring, commentaires.
[Plinn.git] / profiles / default / types / Topic.xml
1 <?xml version="1.0"?>
2 <object name="Topic" meta_type="Factory-based Type Information"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n">
4 <property name="title"></property>
5 <property
6 name="description">Topics are canned queries for organizing content with up to date queries into the catalog.</property>
7 <property name="content_icon">topic_icon.gif</property>
8 <property name="content_meta_type">Plinn Topic</property>
9 <property name="product"></property>
10 <property name="factory">plinn.topic</property>
11 <property name="immediate_view">object/edit</property>
12 <property name="global_allow">True</property>
13 <property name="filter_content_types">True</property>
14 <property name="allowed_content_types">
15 <element value="Topic"/>
16 </property>
17 <property name="allow_discussion">False</property>
18 <alias from="(Default)" to="topic_view"/>
19 <alias from="view" to="topic_view"/>
20 <action title="View" action_id="view" category="object" condition_expr=""
21 url_expr="string:${object_url}/topic_view" visible="True">
22 <permission value="View"/>
23 </action>
24 <action title="Edit" action_id="edit" category="object" condition_expr=""
25 url_expr="string:${object_url}/topic_edit_form" visible="True">
26 <permission value="Change portal topics"/>
27 </action>
28 <action title="Subtopics" action_id="folderContents" category="object"
29 condition_expr="" url_expr="string:${object_url}/folder_contents"
30 visible="True">
31 <permission value="View"/>
32 </action>
33 <action title="New..." action_id="new" category="object" condition_expr=""
34 url_expr="string:${object_url}/folder_factories" visible="False">
35 <permission value="Add portal topics"/>
36 </action>
37 <action title="Rename items" action_id="rename_items" category="object"
38 condition_expr="" url_expr="string:${object_url}/folder_rename_form"
39 visible="False">
40 <permission value="Add portal topics"/>
41 </action>
42 <action title="Status history" action_id="history" category="object"
43 condition_expr="" url_expr="string:${object_url}/content_status_history"
44 visible="True">
45 <permission value="Request review"/>
46 <permission value="Review portal content"/>
47 </action>
48 </object>