Ignore:
Timestamp:
6 Mar 2009, 17:39:17 (16 years ago)
Author:
Henrik Bettermann
Message:
  • fetch email from application object if catalog entry is empty (resolve AAUE #15)
  • fix slip template
File:
1 edited

Legend:

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

    r1970 r4001  
    2626    elif f == "name":
    2727        d[f] = d[f].strip()
     28
     29if 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', '')
    2834           
    2935return d           
Note: See TracChangeset for help on using the changeset viewer.