Ignore:
Timestamp:
10 Jul 2006, 20:04:08 (18 years ago)
Author:
joachim
Message:

=add actions changed

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/faculty.xml

    r199 r290  
    2828  <property name="size_max">200</property>
    2929 </widget>
     30 <widget name="institution_type" meta_type="Select Widget">
     31  <property name="title">Type of Institution</property>
     32  <property name="fields">
     33   <element value="institution_type"/>
     34  </property>
     35  <property name="label">Type of Institution</property>
     36  <property name="label_edit">Type of Institution</property>
     37  <property name="readonly_layout_modes"/>
     38  <property name="hidden_layout_modes"/>
     39  <property name="hidden_readonly_layout_modes"/>
     40  <property name="vocabulary">institution_types_voc</property>
     41 </widget>
    3042 <table>
    3143  <row>
    3244   <cell name="Title"/>
     45  </row>
     46  <row>
     47   <cell name="institution_type"/>
    3348  </row>
    3449  <row>
  • WAeUP_SRP/trunk/profiles/default/schemas/faculty.xml

    r199 r290  
    11<?xml version="1.0"?>
    2 <object name="faculty" meta_type="CPS Schema"/>
     2<object name="faculty" meta_type="CPS Schema">
     3 <field name="institution_type" meta_type="CPS String Field"/>
     4</object>
  • WAeUP_SRP/trunk/profiles/default/types/AcademicsFolder.xml

    r279 r290  
    4343 <action title="Add Faculty" action_id="add_faculty" category="object"
    4444    condition_expr="python:True or member and 'UniversityManager'in member.getRoles()"
    45     url_expr="string:${object/absolute_url}/create_common?type_name=Faculty"
     45    url_expr="string:${object/absolute_url}/content_create?type_name=Faculty"
    4646    visible="True"/>
    4747 <action title="action_folder_contents" action_id="contents" category="object"
  • WAeUP_SRP/trunk/profiles/default/types/Department.xml

    r274 r290  
    4343    condition_expr="python:member and 'Manager' in member.getRoles()"
    4444    url_expr="string:${object_url}/cpsdocument_edit_form" visible="True">
    45   <permission value="Modify portal content"/>
     45  <permission value=""/>
    4646 </action>
    4747 <action title="Add Course" action_id="create_course" category="object"
    48     condition_expr="" url_expr="string:${object/absolute_url}/create_course"
     48    condition_expr="" url_expr="string:${object/absolute_url}/content_create?type_name=Course"
    4949    visible="True">
    50   <permission value="University Manage"/>
     50  <permission value=""/>
     51 </action>
     52 <action title="Add Certificate" action_id="create_certificate" category="object"
     53    condition_expr="" url_expr="string:${object/absolute_url}/content_create?type_name=Certificate"
     54    visible="True">
    5155 </action>
    5256 <action title="action_folder_contents" action_id="contents" category="object"
    5357    condition_expr="python:member and 'Manager' in member.getRoles()"
    5458    url_expr="string:${object_url}/folder_contents" visible="True">
    55   <permission value="Modify portal content"/>
     59  <permission value=""/>
    5660 </action>
    5761 <action title="action_metadata" action_id="metadata" category="object"
  • WAeUP_SRP/trunk/profiles/default/types/Faculty.xml

    r274 r290  
    4545 </action>
    4646 <action title="Add Department" action_id="add_department" category="object"
     47    url_expr="string:${object/absolute_url}/content_create?type_name=Department"
    4748    condition_expr=""
    48     url_expr="string:${object/absolute_url}/create_common?type_name=Department"
    4949    visible="True">
    50   <permission value="University Manage"/>
     50  <permission value=""/>
    5151 </action>
    5252 <action title="action_folder_contents" action_id="contents" category="object"
    5353    condition_expr="" url_expr="string:${object_url}/folder_contents"
    5454    visible="False">
    55   <permission value="University Manage"/>
     55  <permission value=""/>
    5656 </action>
    5757 <action title="action_metadata" action_id="metadata" category="object"
     
    6565  <permission value="Modify portal content"/>
    6666 </action>
    67  <action title="Add Faculty" action_id="add_faculty" category="object"
    68     condition_expr="python:member and 'UniversityManager'in member.getRoles()"
    69     url_expr="string:${object/absolute_url}/create_common?type_name=Faculty"
    70     visible="True">
    71   <permission value="University Manage"/>
    72  </action>
    7367</object>
  • WAeUP_SRP/trunk/profiles/default/vocabularies.xml

    r238 r290  
    44 <object name="courselevel" meta_type="CPS Vocabulary"/>
    55 <object name="faculties" meta_type="CPS Vocabulary"/>
     6 <object name="institution_types_voc" meta_type="CPS Vocabulary"/>
    67 <object name="get_departments_voc" meta_type="CPS Method Vocabulary"/>
    78 <object name="get_faculties_voc" meta_type="CPS Method Vocabulary"/>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r282 r290  
    5656  </type>
    5757  <type type_id="CourseTicket">
    58    <bound-workflow workflow_id="waeup_student_wf"/>
     58   <bound-workflow workflow_id="waeup_base_wf"/>
    5959  </type>
    6060  <type type_id="Department">
     
    7777  </type>
    7878  <type type_id="Semester">
    79    <bound-workflow workflow_id="waeup_student_wf"/>
     79   <bound-workflow workflow_id="waeup_base_wf"/>
    8080  </type>
    8181  <type type_id="Student">
Note: See TracChangeset for help on using the changeset viewer.