Ignore:
Timestamp:
19 Oct 2006, 17:06:51 (18 years ago)
Author:
joachim
Message:

Import and Manager view for full-time students + results

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

Legend:

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

    r486 r723  
    1414  <property name="label">Ansbook</property>
    1515  <property name="label_edit">Ansbook</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
     20 <widget name="semester" meta_type="Int Widget">
     21  <property name="title">Semester</property>
     22  <property name="fields">
     23   <element value="semester"/>
     24  </property>
     25  <property name="label">Semester</property>
     26  <property name="label_edit">Semester</property>
    1627  <property name="readonly_layout_modes"/>
    1728  <property name="hidden_layout_modes"/>
     
    108119 <table>
    109120  <row>
     121   <cell name="semester"/>
     122  </row>
     123  <row>
    110124   <cell name="grade"/>
    111125  </row>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_study_course.xml

    r486 r723  
    1919  <property name="hidden_readonly_layout_modes"/>
    2020 </widget>
     21 <widget name="department" meta_type="String Widget">
     22  <property name="title">Department Code</property>
     23  <property name="fields">
     24   <element value="department"/>
     25  </property>
     26  <property name="is_required">True</property>
     27  <property name="label">Department Code</property>
     28  <property name="label_edit">Department Code</property>
     29  <property name="readonly_layout_modes"/>
     30  <property name="hidden_layout_modes"/>
     31  <property name="hidden_readonly_layout_modes"/>
     32 </widget>
     33 <widget name="faculty" meta_type="String Widget">
     34  <property name="title">Faculty Code</property>
     35  <property name="fields">
     36   <element value="faculty"/>
     37  </property>
     38  <property name="is_required">True</property>
     39  <property name="label">Faculty Code</property>
     40  <property name="label_edit">Faculty Code</property>
     41  <property name="readonly_layout_modes"/>
     42  <property name="hidden_layout_modes"/>
     43  <property name="hidden_readonly_layout_modes"/>
     44 </widget>
    2145 <table>
    2246  <row>
    2347   <cell name="study_course"/>
    2448  </row>
     49  <row>
     50   <cell name="faculty"/>
     51  </row>
     52  <row>
     53   <cell name="department"/>
     54  </row>
    2555 </table>
    2656</object>
  • WAeUP_SRP/trunk/profiles/default/schemas/student_course_results.xml

    r486 r723  
    88 <field name="score" meta_type="CPS Int Field"/>
    99 <field name="status" meta_type="CPS String Field"/>
    10  <field name="verdict" meta_type="CPS String Field"/>
     10<field name="semester" meta_type="CPS Int Field">
     11 <property name="default_expr">python:1</property>
     12</field> <field name="verdict" meta_type="CPS String Field"/>
    1113 <field name="weight" meta_type="CPS String Field"/>
    1214</object>
  • WAeUP_SRP/trunk/profiles/default/schemas/student_study_course.xml

    r486 r723  
    11<?xml version="1.0"?>
    22<object name="student_study_course" meta_type="CPS Schema">
    3  <field name="study_course" meta_type="CPS String Field"/>
     3<field name="study_course" meta_type="CPS String Field">
     4<property name="is_searchabletext">True</property>
     5</field>
     6 <field name="faculty" meta_type="CPS String Field">
     7    <property name="is_searchabletext">True</property>
     8</field>
     9 <field name="department" meta_type="CPS String Field">
     10    <property name="is_searchabletext">True</property>
     11</field>
    412</object>
  • WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml

    r684 r723  
    1717 <property name="cps_display_as_document_in_listing">True</property>
    1818 <property name="schemas">
    19   <element value="course_results"/>
     19  <element value="student_course_results"/>
    2020 </property>
    2121 <property name="layouts">
    22   <element value="course_results"/>
     22  <element value="student_course_results"/>
    2323 </property>
    2424 <property name="layout_clusters"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentStudyCourse.xml

    r486 r723  
    3030 <property name="storage_methods"/>
    3131 <property name="cps_is_portlet">False</property>
    32  <alias from="(Default)" to="academics_contents"/>
    33  <alias from="view" to="academics_contents"/>
     32 <alias from="(Default)" to="student_index"/>
     33 <alias from="view" to="student_index"/>
    3434 <action title="View" action_id="view" category="object" condition_expr=""
    35     url_expr="string:${object_url}/academics_contents" visible="True">
     35    url_expr="string:${object_url}/student_index" visible="True">
    3636  <permission value="View"/>
    3737 </action>
  • WAeUP_SRP/trunk/profiles/default/types/StudentStudyLevel.xml

    r486 r723  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentStudyLevel</property>
    10  <property name="immediate_view">academics_contents</property>
     10 <property name="immediate_view">student_index</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2828 <property name="storage_methods"/>
    2929 <property name="cps_is_portlet">False</property>
    30  <alias from="(Default)" to="academics_contents"/>
     30 <alias from="(Default)" to="student_index"/>
    3131 <alias from="create_do" to="waeup_document_create_do"/>
    3232 <alias from="created" to="level_created"/>
    33  <alias from="view" to="academics_contents"/>
     33 <alias from="view" to="student_index"/>
    3434 <action title="View" action_id="view" category="object" condition_expr=""
    35     url_expr="string:${object_url}/academics_contents" visible="True">
     35    url_expr="string:${object_url}/student_index" visible="True">
    3636  <permission value="View"/>
    3737 </action>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r639 r723  
    5858   <bound-workflow workflow_id="section_folder_wf"/>
    5959  </type>
    60   <type type_id="Semester">
    61    <bound-workflow workflow_id="section_folder_wf"/>
    62   </type>
    6360  <type type_id="Student">
    6461   <bound-workflow workflow_id="waeup_student_wf"/>
     
    7774  </type>
    7875  <type type_id="StudentStudyCourse">
    79    <bound-workflow workflow_id="section_folder_wf"/>
     76   <bound-workflow workflow_id="waeup_student_subobject_wf"/>
    8077  </type>
    8178  <type type_id="StudentCourseResult">
    82    <bound-workflow workflow_id="waeup_base_wf"/>
     79   <bound-workflow workflow_id="waeup_student_subobject_wf"/>
    8380  </type>
    8481  <type type_id="StudentsFolder">
     
    8986  </type>
    9087  <type type_id="StudentStudyLevel">
    91    <bound-workflow workflow_id="section_folder_wf"/>
    92   </type>
    93   <type type_id="StudentSemester">
    94    <bound-workflow workflow_id="section_folder_wf"/>
     88   <bound-workflow workflow_id="waeup_course_registration_wf"/>
    9589  </type>
    9690  <type type_id="University">
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_course_registration_wf/definition.xml

    r722 r723  
    2323 </state>
    2424 <state state_id="created" title="">
     25  <exit-transition transition_id="create_content"/>
    2526  <exit-transition transition_id="enter_school_fee_pin"/>
     27  <exit-transition transition_id="pass_A"/>
     28  <exit-transition transition_id="pass_B"/>
     29  <exit-transition transition_id="probate_C"/>
     30  <exit-transition transition_id="reject_D"/>
     31  <exit-transition transition_id="reject_E"/>
     32  <exit-transition transition_id="reject_F"/>
    2633 </state>
    2734 <state state_id="school_fee_pin_entered" title="">
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml

    r659 r723  
    1212 <state state_id="created" title="">
    1313  <exit-transition transition_id="close"/>
     14  <exit-transition transition_id="create_content"/>
    1415  <exit-transition transition_id="open"/>
    1516  <permission-map name="Modify portal content"
     
    2425 <state state_id="opened" title="">
    2526  <exit-transition transition_id="close"/>
     27  <exit-transition transition_id="create_content"/>
    2628  <permission-map name="Modify portal content"
    2729                  acquired="True">
     
    5557  <transition-behavior behavior_id="initial-create"/>
    5658 </transition>
     59 <transition transition_id="create_content" title=""
     60             new_state="" trigger="USER" before_script=""
     61             after_script="">
     62 
     63  <guard>
     64  </guard>
     65  <transition-behavior behavior_id="allow-sub-create"/>
     66 </transition>
    5767 <transition transition_id="open" title=""
    5868             new_state="opened" trigger="USER"
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r677 r723  
    3737 <state state_id="created" title="">
    3838  <exit-transition transition_id="create_content"/>
     39  <exit-transition transition_id="clear_and_validate"/>
    3940  <exit-transition transition_id="enter_application_pin"/>
    4041  <exit-transition transition_id="open"/>
Note: See TracChangeset for help on using the changeset viewer.