Changeset 297


Ignore:
Timestamp:
14 Jul 2006, 13:55:35 (18 years ago)
Author:
joachim
Message:

=fix broken Faculty.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r296 r297  
     1<?xml version="1.0"?>
     2<object name="Faculty" meta_type="CPS Flexible Type Information"
     3   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
     4 <property name="title">WAeUP Faculty</property>
     5 <property name="description"></property>
     6 <property name="content_icon"></property>
     7 <property name="content_meta_type">Faculty</property>
     8 <property name="product">WAeUP_SRP</property>
     9 <property name="factory">addFaculty</property>
     10 <property name="immediate_view">academics_contents</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="Department"/>
     15 </property>
     16 <property name="allow_discussion">False</property>
     17 <property name="cps_is_searchable">True</property>
     18 <property name="cps_proxy_type">btreefolderishdocument</property>
     19 <property name="cps_display_as_document_in_listing">True</property>
     20 <property name="schemas">
     21  <element value="metadata"/>
     22  <element value="common"/>
     23  <element value="faculty"/>
     24 </property>
     25 <property name="layouts">
     26  <element value="faculty"/>
     27 </property>
     28 <property name="layout_clusters">
     29  <element value="metadata:metadata"/>
     30 </property>
     31 <property name="flexible_layouts"/>
     32 <property name="storage_methods"/>
     33 <property name="cps_is_portlet">False</property>
     34 <alias from="(Default)" to="academics_contents"/>
     35 <alias from="edit" to="faculty_edit"/>
     36 <alias from="edit_form" to="faculty_edit_form"/>
     37 <alias from="view" to="academics_contents"/>
     38 <action title="Standard View" action_id="view" category="object"
     39    condition_expr="" url_expr="string:${object_url}/academics_contents"
     40    visible="True">
     41  <permission value="View"/>
     42 </action>
     43 <action title="action_edit" action_id="edit" category="object"
     44    condition_expr="python:member and 'Manager' in member.getRoles()"
     45    url_expr="string:${object_url}/faculty_edit_form" visible="True">
     46  <permission value="Modify portal content"/>
     47 </action>
     48 <action title="Add Department" action_id="add_department" category="object"
     49    condition_expr=""
     50    url_expr="string:${object/absolute_url}/content_create?type_name=Department"
     51    visible="True"/>
     52 <action title="action_folder_contents" action_id="contents" category="object"
     53    condition_expr="" url_expr="string:${object_url}/folder_contents"
     54    visible="False"/>
     55 <action title="action_metadata" action_id="metadata" category="object"
     56    condition_expr="python:member and 'Manager' in member.getRoles()"
     57    url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
     58  <permission value="Modify portal content"/>
     59 </action>
     60 <action title="delegate" action_id="localroles" category="object"
     61    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
     62    visible="False">
     63  <permission value="Modify portal content"/>
     64 </action>
     65</object>
Note: See TracChangeset for help on using the changeset viewer.