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

=backoffice enhencements

Location:
WAeUP_SRP/trunk/profiles/default
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/schemas.xml

    r256 r296  
    1010 <object name="department" meta_type="CPS Schema"/>
    1111 <object name="faculty" meta_type="CPS Schema"/>
     12 <object name="faculty_row" meta_type="CPS Schema"/>
    1213 <object name="jamb" meta_type="CPS Schema"/>
    1314 <object name="semester" meta_type="CPS Schema"/>
  • WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml

    r290 r296  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addAcademicsFolder</property>
    10  <property name="immediate_view">folder_view</property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    3434 <property name="storage_methods"/>
    3535 <property name="cps_is_portlet">False</property>
    36  <alias from="(Default)" to="temporary_view_all"/>
    37  <alias from="view" to="temporary_view_all"/>
    38  <action title="Standard View" action_id="view" category="object"
    39     condition_expr="" url_expr="string:${object_url}/temporary_view_all"
     36 <alias from="(Default)" to="academics_contents"/>
     37 <alias from="view" to="academics_contents"/>
     38 <action title="View" action_id="academics_view" category="object"
     39    condition_expr="" url_expr="string:${object_url}/academics_contents"
    4040    visible="True">
    4141  <permission value="View"/>
     
    4747 <action title="action_folder_contents" action_id="contents" category="object"
    4848    condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"
    49     visible="True"/>
     49    visible="False"/>
    5050 <action title="delegate" action_id="localroles" category="object"
    5151    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
  • WAeUP_SRP/trunk/profiles/default/types/Department.xml

    r295 r296  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addDepartment</property>
    10  <property name="immediate_view">folder_view</property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    3333 <property name="storage_methods"/>
    3434 <property name="cps_is_portlet">False</property>
    35  <alias from="(Default)" to="temporary_view_all"/>
    36  <alias from="view" to="temporary_view_all"/>
    37  <action title="Standard View" action_id="view" category="object"
    38     condition_expr="" url_expr="string:${object_url}/temporary_view_all"
    39     visible="True">
     35 <alias from="(Default)" to="academics_contents"/>
     36 <alias from="view" to="academics_contents"/>
     37 <action title="View" action_id="view" category="object" condition_expr=""
     38    url_expr="string:${object_url}/academics_contents" visible="True">
    4039  <permission value="View"/>
    4140 </action>
     
    5352 <action title="action_folder_contents" action_id="contents" category="object"
    5453    condition_expr="python:member and 'Manager' in member.getRoles()"
    55     url_expr="string:${object_url}/folder_contents" visible="True"/>
     54    url_expr="string:${object_url}/folder_contents" visible="False"/>
    5655 <action title="action_metadata" action_id="metadata" category="object"
    5756    condition_expr="python:member and 'Manager' in member.getRoles()"
    58     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
     57    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
    5958  <permission value="Modify portal content"/>
    6059 </action>
    6160 <action title="delegate" action_id="localroles" category="object"
    6261    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    63     visible="False">
     62    visible="True">
    6463  <permission value="Modify portal content"/>
    6564 </action>
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r290 r296  
    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">folder_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="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="temporary_view_all"/>
    35  <alias from="view" to="temporary_view_all"/>
    36  <action title="Standard View" action_id="view" category="object"
    37     condition_expr="" url_expr="string:${object_url}/temporary_view_all"
    38     visible="True">
    39   <permission value="View"/>
    40  </action>
    41  <action title="action_edit" action_id="edit" category="object"
    42     condition_expr="python:member and 'Manager' in member.getRoles()"
    43     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
    44   <permission value="Modify portal content"/>
    45  </action>
    46  <action title="Add Department" action_id="add_department" category="object"
    47     url_expr="string:${object/absolute_url}/content_create?type_name=Department"
    48     condition_expr=""
    49     visible="True">
    50   <permission value=""/>
    51  </action>
    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   <permission value=""/>
    56  </action>
    57  <action title="action_metadata" action_id="metadata" category="object"
    58     condition_expr="python:member and 'Manager' in member.getRoles()"
    59     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
    60   <permission value="Modify portal content"/>
    61  </action>
    62  <action title="delegate" action_id="localroles" category="object"
    63     condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    64     visible="False">
    65   <permission value="Modify portal content"/>
    66  </action>
    67 </object>
  • WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml

    r200 r296  
    66 <property name="content_icon">students_folder.gif</property>
    77 <property name="content_meta_type">StudentsFolder</property>
    8  <property name="product">CPSDefault</property>
    9  <property name="factory">addFolder</property>
     8 <property name="product">WAeUP_SRP</property>
     9 <property name="factory">addStudentsFolder</property>
    1010 <property name="immediate_view">folder_view</property>
    1111 <property name="global_allow">True</property>
Note: See TracChangeset for help on using the changeset viewer.