Add FTI for Discussion Item and test
svn path=/plone.app.discussion/trunk/; revision=27068
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<object name="portal_types" meta_type="CMF Types Tool">
|
||||
<object name="Discussion Item" meta_type="Factory-based Type Information"/>
|
||||
</object>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<object name="Discussion Item" meta_type="Factory-based Type Information"
|
||||
i18n:domain="plone.app.discussion" xmlns:i18n="http://xml.zope.org/namespaces/i18n">
|
||||
<property name="title" i18n:translate="">Comment</property>
|
||||
<property name="description" i18n:translate="">Comments added to a content item.</property>
|
||||
<property name="content_icon">discussionitem_icon.gif</property>
|
||||
<property name="content_meta_type">Discussion Item</property>
|
||||
<property name="product"></property>
|
||||
<property name="factory">plone.Comment</property>
|
||||
<property name="immediate_view"></property>
|
||||
<property name="global_allow">False</property>
|
||||
<property name="filter_content_types">True</property>
|
||||
<property name="allowed_content_types"/>
|
||||
<property name="allow_discussion">True</property>
|
||||
<alias from="(Default)" to="@@view"/>
|
||||
<alias from="view" to="@@view"/>
|
||||
<action title="View" action_id="view" category="object" condition_expr=""
|
||||
url_expr="string:${object_url}/@@view" visible="True">
|
||||
<permission value="View"/>
|
||||
</action>
|
||||
</object>
|
||||
Reference in New Issue
Block a user