Changeset 3868 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
21 Jan 2009, 18:20:33 (16 years ago)
Author:
Henrik Bettermann
Message:
  • provide button return button for graduated students
  • reenable special_handling field for Okene
Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py

    r3747 r3868  
    115115except:
    116116    current_level = 0
    117 info['transition_return_allowed'] = info['review_state'] in ('school_fee_paid','courses_validated') and info['is_sectionofficer'] # and current_level > 100
     117info['transition_return_allowed'] = info['review_state'] in ('school_fee_paid','courses_validated','graduated') and info['is_sectionofficer'] # and current_level > 100
    118118info['transition_pay_school_fee_allowed'] = info['review_state'] == 'returning' and info['is_sectionofficer']
    119119info['transition_admit_allowed'] = info['review_state'] == 'returning' and info['is_sectionofficer']
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r3747 r3868  
    111111              tal:condition="info/transition_return_allowed"
    112112              tal:attributes="action string:${context/absolute_url}/changeRegState">
    113           <input type="submit" class="context" value="Execute Transition 'return'" />
     113          <input type="submit" class="context" value="Transfer to returning" />
    114114          <input type="hidden" name="transition"
    115115                 tal:attributes="value string:return"
     
    121121              tal:condition="info/transition_pay_school_fee_allowed"
    122122              tal:attributes="action string:${context/absolute_url}/changeRegState">
    123           <input type="submit" class="context" value="Execute Transition 'pay_school_fee'" />
     123          <input type="submit" class="context" value="Transfer to school_fee_paid" />
    124124          <input type="hidden" name="transition"
    125125                 tal:attributes="value string:pay_school_fee"
     
    131131              tal:condition="info/transition_admit_allowed"
    132132              tal:attributes="action string:${context/absolute_url}/changeRegState">
    133           <input type="submit" class="context" value="Execute Transition 'admit'" />
     133          <input type="submit" class="context" value="Transfer to admitted" />
    134134          <input type="hidden" name="transition"
    135135                 tal:attributes="value string:admit"
Note: See TracChangeset for help on using the changeset viewer.