Ignore:
Timestamp:
2 Sep 2006, 14:51:14 (18 years ago)
Author:
Henrik Bettermann
Message:

admission renamed, now application

Location:
WAeUP_SRP/trunk/profiles/default
Files:
7 added
7 deleted
6 edited

Legend:

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

    r463 r472  
    1313 <object name="student_check_pin" meta_type="CPS Layout"/>
    1414 <object name="student_study_course" meta_type="CPS Layout"/>
    15  <object name="student_admission" meta_type="CPS Layout"/>
    16  <object name="student_admission_fe" meta_type="CPS Layout"/>
     15 <object name="student_application" meta_type="CPS Layout"/>
     16 <object name="student_application_fe" meta_type="CPS Layout"/>
    1717 <object name="student_clearance" meta_type="CPS Layout"/>
    1818 <object name="student_clearance_fe" meta_type="CPS Layout"/>
  • WAeUP_SRP/trunk/profiles/default/schemas.xml

    r454 r472  
    1616 <object name="scratch_card_batch.xml" meta_type="CPS Schema"/>
    1717 <object name="student_accommodation" meta_type="CPS Schema"/>
    18  <object name="student_admission" meta_type="CPS Schema"/>
     18 <object name="student_application" meta_type="CPS Schema"/>
    1919 <object name="student_clearance" meta_type="CPS Schema"/>
    2020 <object name="student_personal" meta_type="CPS Schema"/>
  • WAeUP_SRP/trunk/profiles/default/types.xml

    r464 r472  
    2121 <object name="StudentCourseResult" meta_type="CPS Flexible Type Information"/>
    2222 <object name="StudentPersonal" meta_type="CPS Flexible Type Information"/>
    23  <object name="StudentAdmission" meta_type="CPS Flexible Type Information"/>
     23 <object name="StudentApplication" meta_type="CPS Flexible Type Information"/>
    2424 <object name="StudentSemester" meta_type="CPS Flexible Type Information"/>
    2525 <object name="StudentsFolder" meta_type="CPS Flexible Type Information"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml

    r470 r472  
    3939    condition_expr="" url_expr="string:${object/absolute_url}/create_jamb"
    4040    visible="False"/>
    41  <action title="Check Admission Status" action_id="check_admission"
     41 <action title="Check Application Status" action_id="check_application"
    4242    category="object"
    4343    condition_expr="object/portal_membership/isAnonymousUser"
    44     url_expr="string:${object/absolute_url}/check_admission" visible="False">
     44    url_expr="string:${object/absolute_url}/check_application" visible="False">
    4545  <permission value="View"/>
    4646 </action>
  • WAeUP_SRP/trunk/profiles/default/workflows.xml

    r464 r472  
    7171   <bound-workflow workflow_id="waeup_student_wf"/>
    7272  </type>
    73   <type type_id="StudentAdmission">
     73  <type type_id="StudentApplication">
    7474   <bound-workflow workflow_id="waeup_student_wf"/>
    7575  </type>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r455 r472  
    66 <permission>Modify portal content</permission>
    77 <permission>View</permission>
    8  <state state_id="admission_pin_entered" title="">
    9   <exit-transition transition_id="request_admission"/>
     8 <state state_id="application_pin_entered" title="">
     9  <exit-transition transition_id="apply"/>
    1010 </state>
    1111 <state state_id="admission_rejected" title="">
    1212  <exit-transition transition_id="finally_reject"/>
    1313 </state>
    14  <state state_id="admission_requested" title="">
     14 <state state_id="applied" title="">
    1515  <exit-transition transition_id="pume_fail"/>
    1616  <exit-transition transition_id="pume_pass"/>
     
    3333 <state state_id="created" title="">
    3434  <exit-transition transition_id="create_content"/>
    35   <exit-transition transition_id="enter_admission_pin"/>
     35  <exit-transition transition_id="enter_application_pin"/>
    3636  <exit-transition transition_id="open"/>
    3737  <permission-map name="Modify portal content"
     
    6161  <exit-transition transition_id="reject_admission"/>
    6262 </state>
    63  <state state_id="rejected" title="">
    64  </state>
    65  <state state_id="sleeping_mode" title="">
    66   <exit-transition transition_id="enter_admission_pin"/>
    67  </state>
     63
    6864 <transition transition_id="admit" title=""
    6965             new_state="admitted" trigger="USER"
    7066             before_script="" after_script="open_clearance">
    71  
     67
    7268  <guard>
    7369   <guard-role>Manager</guard-role>
     
    8076             trigger="USER" before_script=""
    8177             after_script="open_personal">
    82  
     78
    8379  <guard>
    8480   <guard-role>Manager</guard-role>
     
    9086             new_state="closed" trigger="USER"
    9187             before_script="" after_script="">
    92  
     88
    9389  <guard>
    9490   <guard-role>Manager</guard-role>
     
    9995             new_state="created" trigger="USER"
    10096             before_script="" after_script="">
    101  
     97
    10298  <guard>
    10399  </guard>
     
    108104             new_state="" trigger="USER" before_script=""
    109105             after_script="">
    110  
     106
    111107  <guard>
    112108  </guard>
     
    114110  <transition-behavior behavior_id="allow-sub-delete"/>
    115111 </transition>
    116  <transition transition_id="enter_admission_pin" title=""
    117              new_state="admission_pin_entered"
     112 <transition transition_id="enter_application_pin" title=""
     113             new_state="application_pin_entered"
    118114             trigger="USER"
    119              before_script="validate_admission_pin"
    120              after_script="open_admission">
    121  
     115             before_script="validate_application_pin"
     116             after_script="open_application">
     117
    122118  <guard>
    123119   <guard-role>Manager</guard-role>
     
    131127             before_script="validate_clearance_pin"
    132128             after_script="open_clearance">
    133  
     129
    134130  <guard>
    135131   <guard-role>Manager</guard-role>
     
    141137             new_state="finally_rejected" trigger="USER"
    142138             before_script="" after_script="">
    143  
     139
    144140  <guard>
    145141   <guard-role>Manager</guard-role>
     
    151147             new_state="opened" trigger="USER"
    152148             before_script="" after_script="">
    153  
     149
    154150  <guard>
    155151   <guard-role>Manager</guard-role>
     
    160156             new_state="pume_failed" trigger="USER"
    161157             before_script="" after_script="">
    162  
     158
    163159  <guard>
    164160   <guard-role>Manager</guard-role>
     
    170166             new_state="pume_passed" trigger="USER"
    171167             before_script="" after_script="">
    172  
     168
    173169  <guard>
    174170   <guard-role>Manager</guard-role>
     
    180176             new_state="rejected" trigger="USER"
    181177             before_script="" after_script="">
    182  
     178
    183179  <guard>
    184180  </guard>
     
    187183             new_state="admission_rejected" trigger="USER"
    188184             before_script="" after_script="">
    189  
     185
    190186  <guard>
    191187   <guard-role>Manager</guard-role>
     
    198194             trigger="USER" before_script="open_clearance"
    199195             after_script="">
    200  
     196
    201197  <guard>
    202198   <guard-role>Manager</guard-role>
     
    205201  </guard>
    206202 </transition>
    207  <transition transition_id="request_admission" title=""
    208              new_state="admission_requested" trigger="USER"
    209              before_script="" after_script="close_admission">
    210  
     203 <transition transition_id="apply" title=""
     204             new_state="applied" trigger="USER"
     205             before_script="" after_script="close_application">
     206
    211207  <guard>
    212208   <guard-role>Manager</guard-role>
     
    218214             new_state="clearence_requested" trigger="USER"
    219215             before_script="" after_script="close_clearance">
    220  
    221   <guard>
    222    <guard-role>Manager</guard-role>
    223    <guard-role>SectionManager</guard-role>
    224    <guard-role>Owner</guard-role>
    225   </guard>
    226  </transition>
    227  <script script_id="close_admission" type="Script (Python)"
    228          filename="workflows/waeup_student_wf/scripts/close_admission.py"/>
     216
     217  <guard>
     218   <guard-role>Manager</guard-role>
     219   <guard-role>SectionManager</guard-role>
     220   <guard-role>Owner</guard-role>
     221  </guard>
     222 </transition>
     223 <script script_id="close_application" type="Script (Python)"
     224         filename="workflows/waeup_student_wf/scripts/close_application.py"/>
    229225 <script script_id="close_clearance" type="Script (Python)"
    230226         filename="workflows/waeup_student_wf/scripts/close_clearance.py"/>
    231227 <script script_id="close_personal" type="Script (Python)"
    232228         filename="workflows/waeup_student_wf/scripts/close_personal.py"/>
    233  <script script_id="open_admission" type="Script (Python)"
    234          filename="workflows/waeup_student_wf/scripts/open_admission.py"/>
     229 <script script_id="open_application" type="Script (Python)"
     230         filename="workflows/waeup_student_wf/scripts/open_application.py"/>
    235231 <script script_id="open_clearance" type="Script (Python)"
    236232         filename="workflows/waeup_student_wf/scripts/open_clearance.py"/>
    237233 <script script_id="open_personal" type="Script (Python)"
    238234         filename="workflows/waeup_student_wf/scripts/open_personal.py"/>
    239  <script script_id="validate_admission_pin"
     235 <script script_id="validate_application_pin"
    240236         type="Script (Python)"
    241          filename="workflows/waeup_student_wf/scripts/validate_admission_pin.py"/>
     237         filename="workflows/waeup_student_wf/scripts/validate_application_pin.py"/>
    242238 <script script_id="validate_clearance_pin"
    243239         type="Script (Python)"
Note: See TracChangeset for help on using the changeset viewer.