Ignore:
Timestamp:
10 May 2010, 16:12:04 (15 years ago)
Author:
Henrik Bettermann
Message:

fix dp, pt and ct application, improve logging

File:
1 edited

Legend:

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

    r5165 r5186  
    4141headings['pce'] = 'Apply for PCE Screening (2009/2010)! '
    4242headings['sandwich2008'] = 'Apply for Part Time Degree in Education (2008/2009)! '
    43 headings['cest'] = 'Apply for Part-Time Degree or Diploma Programmes (2009/2010)! '
    44 headings['pt'] = 'Apply for Part-Time Degree (2009/2010)! '
     43headings['cest'] = 'Apply for Part-Time Degree Programmes (2009/2010)! '
     44headings['pt'] = 'Apply for Part-Time Degree Programmes (2009/2010)! '
    4545headings['dp'] = 'Apply for Diploma Programmes (2009/2010)! '
    4646headings['ct'] = 'Apply for Certificate Programmes (2009/2010)! '
     
    126126if traverse_subpath and traverse_subpath[0] in screening_types:
    127127    screening_type = traverse_subpath[0]
    128 without_reg_no = screening_type in ('prence','cest','sandwich','sandwich2008')
     128without_reg_no = screening_type in ('prence','cest','sandwich','sandwich2008','dp','pt','ct')
    129129info['expired'] = current.greaterThan(deaddates[screening_type])
    130130info['expiration_date'] = deaddates[screening_type]
     
    272272    if submitted:
    273273        mode = "view"
    274         logger.info('%s/%s views application record' % (member,reg_no))
     274        logger.info('%s/%s is viewing application record' % (member,reg_no))
    275275    else:
    276276        mode = "edit"
    277         logger.info('%s/%s edits application record' % (member,reg_no))
     277        logger.info('%s/%s started editing application record' % (member,reg_no))
    278278    psm = ""
    279279    if without_reg_no:
Note: See TracChangeset for help on using the changeset viewer.