Changeset 1203 for WAeUP_SRP/trunk


Ignore:
Timestamp:
5 Jan 2007, 15:07:50 (18 years ago)
Author:
joachim
Message:

fix undefined (in custom)

File:
1 edited

Legend:

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

    r1199 r1203  
    3838students_object = context.portal_url.getPortalObject().campus.students
    3939student = getattr(students_object, student_id)
    40 #info['id'] = student_id
    41 #info['student'] = student
     40info['student'] = student
    4241##res = context.portal_catalog(id = student_id)
    4342##if res:
    4443##    info['review_state'] = res[0].review_state
     44info['id'] = student_id
    4545info['review_state'] = wf.getInfoFor(student,'review_state',None)
    46 #info['per'] = student.personal
     46info['per'] = student.personal
    4747info['per_doc'] = student.personal.getContent()
    4848return info
Note: See TracChangeset for help on using the changeset viewer.