Ignore:
Timestamp:
15 Jul 2006, 14:41:46 (18 years ago)
Author:
joachim
Message:

=more changes

Location:
WAeUP_SRP/trunk/profiles/default
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/roots/campus/academics.xml

    r289 r311  
    11<?xml version="1.0"?>
    22<object name="academics">
    3   <property name="title">Academics</property>
     3  <property name="Title">Academics</property>
    44</object>
  • WAeUP_SRP/trunk/profiles/default/types/Certificate.xml

    r308 r311  
    2424 </property>
    2525 <property name="layouts">
     26  <element value="common"/>
    2627  <element value="certificate"/>
    2728 </property>
     
    3233 <property name="storage_methods"/>
    3334 <property name="cps_is_portlet">False</property>
    34  <alias from="(Default)" to="certificate_view"/>
    35  <alias from="view" to="certificate_view"/>
     35 <alias from="(Default)" to="academics_contents"/>
     36 <alias from="view" to="academics_contents"/>
    3637 <action title="View" action_id="view" category="object" condition_expr=""
    37     url_expr="string:${object_url}/certificate_view" visible="True">
     38    url_expr="string:${object_url}/academics_contents" visible="True">
    3839  <permission value="View"/>
    3940 </action>
    4041 <action title="action_edit" action_id="edit" category="object"
    41     condition_expr="python:member and 'Manager' in member.getRoles()"
    42     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     42    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     43    visible="True">
    4344  <permission value="Modify portal content"/>
    4445 </action>
    4546 <action title="action_metadata" action_id="metadata" category="object"
    46     condition_expr="python:member and 'Manager' in member.getRoles()"
    47     url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
     47    condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
     48    visible="False">
    4849  <permission value="Modify portal content"/>
    4950 </action>
     
    5354  <permission value="Modify portal content"/>
    5455 </action>
    55  <action title="action_folder_contents" action_id="contents" category="object"
    56     condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"
    57     visible="True"/>
    5856</object>
  • WAeUP_SRP/trunk/profiles/default/types/CertificateCourse.xml

    r308 r311  
    3131 <property name="storage_methods"/>
    3232 <property name="cps_is_portlet">False</property>
    33  <alias from="(Default)" to="temporary_view_all"/>
    34  <alias from="view" to="temporary_view_all"/>
     33 <alias from="(Default)" to="cpsdocument_view"/>
     34 <alias from="view" to="cpsdocument_view"/>
    3535 <action title="Standard View" action_id="view" category="object"
    36     condition_expr="" url_expr="string:${object_url}/temporary_view_all"
     36    condition_expr="" url_expr="string:${object_url}/cpsdocument_view"
    3737    visible="True">
    3838  <permission value="View"/>
    3939 </action>
    4040 <action title="action_edit" action_id="edit" category="object"
    41     condition_expr="" url_expr="string:${object_url}/waeup_edit_form"
     41    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
    4242    visible="True"/>
    4343 <action title="action_metadata" action_id="metadata" category="object"
    44     condition_expr="python:member and 'Manager' in member.getRoles()"
    45     url_expr="string:${object_url}/cpsdocument_metadata" visible="False"/>
     44    condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
     45    visible="False"/>
    4646 <action title="delegate" action_id="localroles" category="object"
    4747    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
  • WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml

    r310 r311  
    11<?xml version="1.0"?>
    2 <object name="CertificatesFolder" meta_type="CPS Flexible Type Information"
     2<object name="Certificate" meta_type="CPS Flexible Type Information"
    33   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
    4  <property name="title"></property>
     4 <property name="title">WAeUP Certificate</property>
    55 <property name="description"></property>
    66 <property name="content_icon"></property>
    7  <property name="content_meta_type">CPS Document</property>
    8  <property name="product">CPSDocument</property>
    9  <property name="factory">addCPSDocument</property>
    10  <property name="immediate_view"></property>
     7 <property name="content_meta_type">Certificate</property>
     8 <property name="product">WAeUP_SRP</property>
     9 <property name="factory">addCertificate</property>
     10 <property name="immediate_view">folder_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
    1313 <property name="allowed_content_types">
    14   <element value="Certificate"/>
     14  <element value="StudyLevel"/>
    1515 </property>
    1616 <property name="allow_discussion">False</property>
    1717 <property name="cps_is_searchable">True</property>
    18  <property name="cps_proxy_type">document</property>
    19  <property name="cps_display_as_document_in_listing">False</property>
    20  <property name="schemas"/>
    21  <property name="layouts"/>
    22  <property name="layout_clusters"/>
     18 <property name="cps_proxy_type">folder</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="certificate"/>
     24 </property>
     25 <property name="layouts">
     26  <element value="common"/>
     27  <element value="certificate"/>
     28 </property>
     29 <property name="layout_clusters">
     30  <element value="metadata:metadata"/>
     31 </property>
    2332 <property name="flexible_layouts"/>
    2433 <property name="storage_methods"/>
    2534 <property name="cps_is_portlet">False</property>
    26  <alias from="(Default)" to="academics_contents"/>
    27  <alias from="view" to="academics_contents"/>
     35 <alias from="(Default)" to="certificate_view"/>
     36 <alias from="view" to="certificate_view"/>
    2837 <action title="View" action_id="view" category="object" condition_expr=""
    29     url_expr="string:${object_url}/academics_contents" visible="True">
     38    url_expr="string:${object_url}/certificate_view" visible="True">
    3039  <permission value="View"/>
    3140 </action>
    32  <action title="Add Certificate" action_id="add_certificate" category="object"
    33     condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
    34     url_expr="string:${object/absolute_url}/create_certificate"
    35     visible="True"/>
     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="action_metadata" action_id="metadata" category="object"
     47    condition_expr="python:member and 'Manager' in member.getRoles()"
     48    url_expr="string:${object_url}/cpsdocument_metadata" visible="False">
     49  <permission value="Modify portal content"/>
     50 </action>
    3651 <action title="delegate" action_id="localroles" category="object"
    3752    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    38     visible="True"/>
    39  <action title="Add Certificate" action_id="new_entry" category="object"
    40     condition_expr=""
    41     url_expr="string:${object/absolute_url}/content_create?type_name=Certificate"
    42     visible="True"/>
     53    visible="True">
     54  <permission value="Modify portal content"/>
     55 </action>
    4356</object>
  • WAeUP_SRP/trunk/profiles/default/types/Course.xml

    r308 r311  
    2222 </property>
    2323 <property name="layouts">
     24  <element value="common"/>
    2425  <element value="course"/>
    2526 </property>
     
    3031 <property name="storage_methods"/>
    3132 <property name="cps_is_portlet">False</property>
    32  <alias from="(Default)" to="temporary_view_all"/>
    33  <alias from="view" to="temporary_view_all"/>
     33 <alias from="(Default)" to="cpsdocument_view"/>
     34 <alias from="view" to="cpsdocument_view"/>
    3435 <action title="Standard View" action_id="view" category="object"
    35     condition_expr="" url_expr="string:${object_url}/temporary_view_all"
     36    condition_expr="" url_expr="string:${object_url}/cpsdocument_view"
    3637    visible="True">
    3738  <permission value="View"/>
    3839 </action>
    3940 <action title="action_edit" action_id="edit" category="object"
    40     condition_expr="python:member and 'Manager' in member.getRoles()"
    41     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
     41    condition_expr="" url_expr="string:${object_url}/cpsdocument_edit_form"
     42    visible="True">
    4243  <permission value="Modify portal content"/>
    43   <permission value="University Manage"/>
    44  </action>
    45  <action title="action_folder_contents" action_id="contents" category="object"
    46     condition_expr="python:member and 'Manager' in member.getRoles()"
    47     url_expr="string:${object_url}/folder_contents" visible="True">
    48   <permission value="Modify portal content"/>
    49   <permission value="University Manage"/>
    5044 </action>
    5145 <action title="action_metadata" action_id="metadata" category="object"
    52     condition_expr="python:member and 'Manager' in member.getRoles()"
    53     url_expr="string:${object_url}/cpsdocument_metadata" visible="True">
     46    condition_expr="" url_expr="string:${object_url}/cpsdocument_metadata"
     47    visible="True">
    5448  <permission value="Modify portal content"/>
    5549 </action>
  • WAeUP_SRP/trunk/profiles/default/types/CoursesFolder.xml

    r309 r311  
    1616 <property name="allow_discussion">False</property>
    1717 <property name="cps_is_searchable">True</property>
    18  <property name="cps_proxy_type">document</property>
     18 <property name="cps_proxy_type">folder</property>
    1919 <property name="cps_display_as_document_in_listing">False</property>
    2020 <property name="schemas"/>
     
    3030  <permission value="View archived revisions"/>
    3131 </action>
    32  <action title="Add Course" action_id="add_course" category="object"
    33     condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
    34     url_expr="string:${object/absolute_url}/create_course" visible="True"/>
    35  <action title="action_folder_contents" action_id="contents" category="object"
    36     condition_expr="" url_expr="string:${object/absolute_url}/folder_contents"
    37     visible="False"/>
    3832 <action title="delegate" action_id="localroles" category="object"
    3933    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r310 r311  
    4242 <action title="action_edit" action_id="edit" category="object"
    4343    condition_expr="python:member and 'Manager' in member.getRoles()"
    44     url_expr="string:${object_url}/faculty_edit_form" visible="True">
     44    url_expr="string:${object_url}/academics_edit_form" visible="True">
    4545  <permission value="Modify portal content"/>
    4646 </action>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/courselevel.xml

    r199 r311  
    99 <item key="300" msgid="">Year 3 (300 Level)</item>
    1010 <item key="400" msgid="">Year 4 (400 Level)</item>
     11 <item key="500" msgid="">Year 5 (400 Level)</item>
    1112</object>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r309 r311  
    2727   <bound-workflow workflow_id="workspace_calendar_wf"/>
    2828  </type>
    29   <type type_id="CertificateFolder">
     29  <type type_id="CertificatesFolder">
    3030   <bound-workflow workflow_id="waeup_base_wf"/>
    3131  </type>
     
    3636   <bound-workflow workflow_id="waeup_base_wf"/>
    3737  </type>
    38   <type type_id="CourseFolder">
     38  <type type_id="CoursesFolder">
    3939   <bound-workflow workflow_id="waeup_base_wf"/>
    4040  </type>
Note: See TracChangeset for help on using the changeset viewer.