Changeset 4001 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 6 Mar 2009, 17:39:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getFormattedStudentEntry.py
r1970 r4001 26 26 elif f == "name": 27 27 d[f] = d[f].strip() 28 29 if not d['email']: 30 students_object = context.portal_url.getPortalObject().campus.students 31 student = getattr(students_object, brain.id) 32 app_obj = student.application.getContent() 33 d['email'] = getattr(app_obj, 'app_email', '') 28 34 29 35 return d
Note: See TracChangeset for help on using the changeset viewer.