<?xml version="1.0"?>
<object name="Remark"
        meta_type="Factory-based Type Information with dynamic views"
        i18n:domain="ftw.book"
        xmlns:i18n="http://xml.zope.org/namespaces/i18n">

    <property name="title" i18n:translate="">Remark</property>
    <property name="description" i18n:translate=""></property>
    <property name="content_meta_type">Remark</property>
    <property name="content_icon">++resource++ftw.book-resources/icon_remark.gif</property>
    <property name="product">ftw.book</property>
    <property name="factory">addRemark</property>

    <property name="global_allow">False</property>
    <property name="allow_discussion">False</property>

    <property name="immediate_view">paragraph_view</property>
    <property name="default_view">paragraph_view</property>
    <property name="view_methods">
        <element value="paragraph_view" />
    </property>

    <alias from="(Default)" to="(dynamic view)" />
    <alias from="edit" to="atct_edit" />
    <alias from="view" to="(selected layout)" />

    <action action_id="view"
            visible="True"
            title="View"
            url_expr="string:${object_url}/view"
            category="object"
            condition_expr="">
        <permission value="View" />
    </action>

    <action  action_id="edit"
             visible="True"
             title="Edit"
             url_expr="string:${object_url}/edit"
             category="object"
             condition_expr="">
        <permission value="Modify portal content" />
    </action>

    <action action_id="sl-edit"
            visible="True"
            title="Edit"
            url_expr="string:${object_url}/edit"
            category="sl-actions"
            icon_expr="string:edit.gif"
            condition_expr="">
        <permission value="Modify portal content"/>
    </action>

    <action action_id="sl-delete"
            visible="True"
            title="Delete"
            url_expr="string:${here/absolute_url}/delete_confirmation"
            category="sl-actions"
            condition_expr=""
            icon_expr="string:delete_icon.gif">
        <permission value="Delete objects"/>
    </action>

</object>
