Changeset 3414 for WAeUP_SRP


Ignore:
Timestamp:
3 Apr 2008, 13:14:38 (16 years ago)
Author:
joachim
Message:

avoid traceback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/apply_admission.py

    r3412 r3414  
    121121# if not reg_no:
    122122#     reg_no = request.form.get('reg_no','').upper()
    123 
    124 
     123info = {}
    125124screening_type = 'pume'
    126125if traverse_subpath and traverse_subpath[0] in screening_types:
    127126    screening_type = traverse_subpath[0]
    128 layout = "application_%s" % screening_type
    129 info = {}
    130127without_reg_no = screening_type in ('prence','cest','sandwich')
    131128info['expired'] = current.greaterThan(deaddates[screening_type])
    132129info['expiration_date'] = deaddates[screening_type]
    133130info['status'] = object.get('status','')
     131info['screening_type'] = screening_type
     132layout = "application_%s" % screening_type
     133for co_name,co_dict in configuration:
     134    info[co_name] = co_dict[screening_type]
    134135#set_trace()
    135136# the reg_no is a hidden field in the form
Note: See TracChangeset for help on using the changeset viewer.