Ignore:
Timestamp:
1 Jun 2006, 16:57:18 (18 years ago)
Author:
joachim
Message:

=import csv

Location:
waeup_product/trunk/profiles/default
Files:
7 added
9 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/profiles/default/layouts.xml

    r199 r238  
    2424 <object name="student_semester" meta_type="CPS Layout"/>
    2525 <object name="study_level" meta_type="CPS Layout"/>
     26 <object name="studycourse" meta_type="CPS Layout"/>
    2627 <object name="university" meta_type="CPS Layout"/>
    2728 <object name="waeup_common" meta_type="CPS Layout"/>
  • waeup_product/trunk/profiles/default/layouts/course.xml

    r199 r238  
    3535  <property name="label_edit">Credit</property>
    3636 </widget>
    37  <widget name="heading" meta_type="String Widget">
    38   <property name="fields">
    39    <element value="heading"/>
    40   </property>
    41   <property name="is_required">True</property>
    42   <property name="label">Title</property>
    43   <property name="label_edit">Title</property>
    44   <property name="help">Course Title</property>
    45   <property name="display_width">40</property>
    46   <property name="size_max">40</property>
    47  </widget>
    4837 <widget name="level" meta_type="Select Widget">
    4938  <property name="fields">
     
    5544  <property name="vocabulary">courselevel</property>
    5645 </widget>
    57  <widget name="nr_of_seats" meta_type="Int Widget">
     46 <widget name="passmark" meta_type="Int Widget">
    5847  <property name="fields">
    59    <element value="nr_of_seats"/>
     48   <element value="passmark"/>
    6049  </property>
    6150  <property name="is_required">True</property>
    62   <property name="label">Nr. of seats</property>
    63   <property name="label_edit">Nr. of seats</property>
     51  <property name="label">Passmark</property>
     52  <property name="label_edit">Passmark</property>
     53  <property name="readonly_layout_modes"/>
     54  <property name="hidden_layout_modes"/>
     55  <property name="hidden_readonly_layout_modes"/>
    6456 </widget>
    65  <widget name="semester" meta_type="Boolean Widget">
     57 <widget name="semester" meta_type="Select Widget">
     58  <property name="title">Semester</property>
    6659  <property name="fields">
    6760   <element value="semester"/>
    6861  </property>
    69   <property name="is_required">True</property>
    7062  <property name="label">Semester</property>
    7163  <property name="label_edit">Semester</property>
    72   <property name="label_false">Second Semester</property>
    73   <property name="label_true">First Semester</property>
     64  <property name="readonly_layout_modes"/>
     65  <property name="hidden_layout_modes"/>
     66  <property name="hidden_readonly_layout_modes"/>
     67  <property name="vocabulary">semester_voc</property>
    7468 </widget>
    7569 <widget name="text" meta_type="Text Widget">
     
    108102  </row>
    109103  <row>
    110    <cell name="nr_of_seats"/>
     104   <cell name="passmark"/>
    111105  </row>
    112106 </table>
  • waeup_product/trunk/profiles/default/schemas.xml

    r199 r238  
    2121 <object name="student_schoolresults" meta_type="CPS Schema"/>
    2222 <object name="students" meta_type="CPS Schema"/>
     23 <object name="studycourse" meta_type="CPS Schema"/>
    2324 <object name="study_level" meta_type="CPS Schema"/>
    2425 <object name="university" meta_type="CPS Schema"/>
  • waeup_product/trunk/profiles/default/schemas/course.xml

    r199 r238  
    1010  <property name="default_expr">string:</property>
    1111 </field>
    12  <field name="heading" meta_type="CPS String Field">
    13   <property name="is_searchabletext">True</property>
    14  </field>
    1512 <field name="level" meta_type="CPS String Field">
    1613  <property name="is_searchabletext">True</property>
    1714 </field>
    18  <field name="nr_of_seats" meta_type="CPS Int Field"/>
    19  <field name="semester" meta_type="CPS Boolean Field">
    20   <property name="default_expr">python:True</property>
     15 <field name="passmark" meta_type="CPS Int Field">
     16  <property name="default_expr">python:40</property>
    2117 </field>
     18 <field name="semester" meta_type="CPS String Field"/>
    2219 <field name="text" meta_type="CPS String Field">
    2320  <property name="is_searchabletext">True</property>
    2421 </field>
    2522</object>
     23
  • waeup_product/trunk/profiles/default/types.xml

    r200 r238  
    1212 <object name="ScratchCard" meta_type="CPS Flexible Type Information"/>
    1313 <object name="Semester" meta_type="CPS Flexible Type Information"/>
     14 <object name="SCFolder" meta_type="CPS Flexible Type Information"/>
     15 <object name="StudyCourse" meta_type="CPS Flexible Type Information"/>
    1416 <object name="Student" meta_type="CPS Flexible Type Information"/>
    1517 <object name="StudentDocuments" meta_type="CPS Flexible Type Information"/>
  • waeup_product/trunk/profiles/default/types/AcademicsFolder.xml

    r200 r238  
    1313 <property name="allowed_content_types">
    1414  <element value="Faculty"/>
     15  <element value="SCFolder"/>
    1516 </property>
    1617 <property name="allow_discussion">False</property>
  • waeup_product/trunk/profiles/default/types/Department.xml

    r200 r238  
    1212 <property name="filter_content_types">True</property>
    1313 <property name="allowed_content_types">
     14  <element value="Course"/>
    1415  <element value="Student"/>
    15   <element value="Course"/>
    1616 </property>
    1717 <property name="allow_discussion">False</property>
    1818 <property name="cps_is_searchable">True</property>
    19  <property name="cps_proxy_type">folder</property>
     19 <property name="cps_proxy_type">btreefolderishdocument</property>
    2020 <property name="cps_display_as_document_in_listing">True</property>
    2121 <property name="schemas">
  • waeup_product/trunk/profiles/default/vocabularies.xml

    r205 r238  
    1212 <object name="range5" meta_type="CPS Vocabulary"/>
    1313 <object name="range50" meta_type="CPS Vocabulary"/>
     14 <object name="semester_voc" meta_type="CPS Vocabulary"/>
    1415 </object>
  • waeup_product/trunk/profiles/default/workflows.xml

    r209 r238  
    44 <object name="waeup_base_wf" meta_type="CPS Workflow"/>
    55 <object name="waeup_faculty_wf" meta_type="CPS Workflow"/>
     6 <object name="waeup_studycourse_wf" meta_type="CPS Workflow"/>
    67 <object name="waeup_department_wf" meta_type="CPS Workflow"/>
    78 <object name="waeup_course_wf" meta_type="CPS Workflow"/>
     
    2223   <bound-workflow workflow_id="section_folder_wf"/>
    2324  </type>
     25  <type type_id="SCFolder">
     26   <bound-workflow workflow_id="section_folder_wf"/>
     27  </type>
    2428  <type type_id="Faculty">
    2529   <bound-workflow workflow_id="waeup_faculty_wf"/>
     
    3034  <type type_id="Course">
    3135   <bound-workflow workflow_id="waeup_course_wf"/>
     36  </type>
     37  <type type_id="StudyCourse">
     38   <bound-workflow workflow_id="waeup_studycourse_wf"/>
    3239  </type>
    3340  <type type_id="StudentsFolder">
Note: See TracChangeset for help on using the changeset viewer.