Ignore:
Timestamp:
27 Oct 2006, 18:41:45 (18 years ago)
Author:
Henrik Bettermann
Message:

changes made on the phone

File:
1 edited

Legend:

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

    r766 r767  
    7070            psm = 'psm_content_error'
    7171    else:
     72        psm = ''
    7273        args = {}
    7374        if info['review_state'] == "student_created":
     
    7677            psm = 'You applied for admission.'
    7778            action = "/application_view"
    78         elif info['review_state'] == "clearance_pin_entered":
    79             student.content_status_modify(workflow_action="request_clearance")
     79        elif info['review_state'] == "admitted":
     80            student.content_status_modify(workflow_action="enter_clearance_pin")
    8081            #wftool.doActionFor(info['clear'],'open',dest_container=info['clear'])
    81             da = {}
    82             pin = REQUEST.get('pin')
    83             da['app_ac_pin'] = pin
    84             da['app_ac_date'] = current
    8582            app_doc = info['app_doc']
    86             app_doc.edit(mapping = da)
    8783            dc = {}
    8884            dc['email'] = app_doc.appl_email
    8985            dc['mobil'] = app_doc.appl_mobile
    90             dc['passport'] = app_doc.passport
    9186            info['clear_doc'].edit(mapping = dc)
    9287            wftool.doActionFor(app,'close',dest_container= app)
    93             psm = 'You requested clearance.'
     88            psm = 'You successfully started the clearance process.'
    9489            action = "/clearance_view"
    9590        else:
    96             psm = ''
    9791            action = "/clearance_view"
    98            
     92
    9993else:
    10094    is_valid, ds = app_doc.validate(request=REQUEST, proxy=context, cluster=cluster,
Note: See TracChangeset for help on using the changeset viewer.