Ignore:
Timestamp:
19 Nov 2006, 10:54:34 (18 years ago)
Author:
Henrik Bettermann
Message:

section managers and clearance officers open clearance edit form only in external window to ease student batch processing

File:
1 edited

Legend:

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

    r894 r895  
    4444psm = ""
    4545args = {}
    46 action = "/clearance_edit_form"
     46action = "/external_clearance_edit_form"
    4747if is_valid:
    4848    if cpsdocument_edit_button:
     
    5353            wftool.doActionFor(info['student'],'request_clearance',dest_container=1)
    5454            psm = "You successfully requested clearance!"
    55             action = "/clearance_view"
     55            if context.isStudent():
     56               action = "/clearance_view"
    5657        else:
    5758            psm = "You must tick the acknowledgement check box before submission!"
     59            if context.isStudent():
     60               action = "/clearance_edit_form"
    5861    elif clear_and_validate_button:
    5962        wftool.doActionFor(info['student'],'clear_and_validate')
Note: See TracChangeset for help on using the changeset viewer.