Changeset 320 for WAeUP_SRP/trunk


Ignore:
Timestamp:
16 Jul 2006, 20:34:37 (18 years ago)
Author:
Henrik Bettermann
Message:

unchecked action added, and some content types fixed

Location:
WAeUP_SRP/trunk
Files:
1 added
5 edited

Legend:

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

    r308 r320  
    138138              title="User preferences" priority="5"
    139139              icon_expr="actionicon_user_preferences.png"/>
     140 <action-icon category="user" action_id="unchecked"
     141              title="Unchecked" priority="6"
     142              icon_expr="actionicon_reject.png"/>             
    140143 <action-icon category="navigation"
    141144              action_id="view_academics" title="Academics"
     
    154157              title="Import Faculties" priority="0"
    155158              icon_expr="actionicon_submit.png"/>
     159 <action-icon category="import"
     160              action_id="import_departments"
     161              title="Import Departments" priority="1"
     162              icon_expr="actionicon_submit.png"/>
    156163 <action-icon category="import" action_id="import_courses"
    157164              title="Import Courses" priority="2"
     
    165172              title="Import CertCourses" priority="4"
    166173              icon_expr="actionicon_submit.png"/>
    167  <action-icon category="import"
    168               action_id="import_departments"
    169               title="Import Departments" priority="1"
    170               icon_expr="actionicon_submit.png"/>
    171174</action-icons>
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r300 r320  
    105105   <permission>View</permission>
    106106  </action>
     107  <action title="Unchecked" action_id="unchecked"
     108     category="user"
     109     condition_expr=""
     110     url_expr="string:./unchecked"
     111     visible="True">
     112   <permission>View</permission>
     113  </action> 
    107114 </action-provider>
    108115 <action-provider name="portal_registration">
  • WAeUP_SRP/trunk/profiles/default/types/CertificatesFolder.xml

    r319 r320  
    22<object name="CertificatesFolder" meta_type="CPS Flexible Type Information"
    33   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
    4  <property name="title">WAeUP Certificate</property>
     4 <property name="title">WAeUP Certificates Folder</property>
    55 <property name="description"></property>
    66 <property name="content_icon"></property>
    7  <property name="content_meta_type">Certificate</property>
     7 <property name="content_meta_type">CertificatesFolder</property>
    88 <property name="product">WAeUP_SRP</property>
    9  <property name="factory">addCertificate</property>
    10  <property name="immediate_view">folder_view</property>
     9 <property name="factory">addCertificatesFolder</property>
     10 <property name="immediate_view">academics_contents</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="StudyLevel"/>
     14  <element value="Certificate"/>
    1515 </property>
    1616 <property name="allow_discussion">False</property>
    1717 <property name="cps_is_searchable">True</property>
    1818 <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>
     19 <property name="cps_display_as_document_in_listing">False</property>
     20 <property name="schemas"/>
     21 <property name="layouts"/>
     22 <property name="layout_clusters"/>
    3223 <property name="flexible_layouts"/>
    3324 <property name="storage_methods"/>
     
    4132 <action title="Delegate" action_id="localroles" category="object"
    4233    condition_expr="" url_expr="string:${object_url}/folder_localrole_form"
    43     visible="True">
    44   <permission value="Modify portal content"/>
    45  </action>
     34    visible="False"/>
    4635 <action title="Add Certificate" action_id="new_entry" category="object"
    4736    condition_expr=""
    4837    url_expr="string:${object/absolute_url}/content_create?type_name=Certificate"
    4938    visible="True"/>
    50  <action title="action_edit" action_id="edit" category="object"
    51     condition_expr="python:member and 'Manager' in member.getRoles()"
    52     url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
    53   <permission value="Modify portal content"/>
    54  </action>
    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="False">
    58   <permission value="Modify portal content"/>
    59  </action>
    6039</object>
  • WAeUP_SRP/trunk/profiles/default/types/CoursesFolder.xml

    r319 r320  
    22<object name="CoursesFolder" 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 Courses Folder</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">CoursesFolder</property>
     8 <property name="product">WAeUP_SRP</property>
     9 <property name="factory">addCoursesFolder</property>
     10 <property name="immediate_view">academics_contents</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2828 <action title="View" action_id="view" category="object" condition_expr=""
    2929    url_expr="string:${object_url}/academics_contents" visible="True">
    30   <permission value="View archived revisions"/>
     30  <permission value="View"/>
    3131 </action>
    3232 <action title="Delegate" action_id="localroles" category="object"
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r311 r320  
    2727   <bound-workflow workflow_id="workspace_calendar_wf"/>
    2828  </type>
    29   <type type_id="CertificatesFolder">
    30    <bound-workflow workflow_id="waeup_base_wf"/>
    31   </type>
    3229  <type type_id="Certificate">
    3330   <bound-workflow workflow_id="waeup_base_wf"/>
    3431  </type>
    3532  <type type_id="CertificateCourse">
    36    <bound-workflow workflow_id="waeup_base_wf"/>
    37   </type>
    38   <type type_id="CoursesFolder">
    3933   <bound-workflow workflow_id="waeup_base_wf"/>
    4034  </type>
Note: See TracChangeset for help on using the changeset viewer.