Changeset 2286


Ignore:
Timestamp:
28 Sep 2007, 06:11:20 (17 years ago)
Author:
Henrik Bettermann
Message:

Application object must be fetched to display the required information on the course registration slip. This can be removed if we moved all passport pictures to the file system.

File:
1 edited

Legend:

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

    r2279 r2286  
    134134info['normal'] = normal
    135135
    136 # students_object = context.portal_url.getPortalObject().campus.students
    137 # student = getattr(students_object, student_id)
    138 # info['app'] = student.application
    139 # info['app_doc'] = student.application.getContent()
     136students_object = context.portal_url.getPortalObject().campus.students
     137student = getattr(students_object, student_id)
     138info['app'] = student.application
     139info['app_doc'] = student.application.getContent()
    140140
    141141return info
Note: See TracChangeset for help on using the changeset viewer.