Ignore:
Timestamp:
8 Dec 2006, 19:38:39 (18 years ago)
Author:
joachim
Message:

M profiles/default/schemas/student_clearance.xml
M profiles/default/layouts/student_clearance_fe.xml
M profiles/default/layouts/student_clearance.xml
M skins/waeup_student/clearance_edit.py
added fields request_date, cleared_date

M skins/waeup_student/application_edit.py
M skins/waeup_student/getStudentInfo.py
M skins/waeup_custom/logged_in.py
M Widgets.py
cleaned up logging messages

M skins/waeup_student/start_clearance.py
added logging

File:
1 edited

Legend:

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

    r892 r1016  
    1515import DateTime
    1616current = DateTime.DateTime()
     17import logging
     18logger = logging.getLogger('Student.Application.Edit')
    1719
    1820# Until ajax posts directly to its own script...
     
    2729info = context.getStudentInfo()
    2830
     31if info is None:
     32    logger.info('"anonymous access","%s"' % request.get('URL0'))
     33    REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
     34   
    2935student = info['student']
    3036app = info['app']
     
    5056    elif cpsdocument_edit_and_view_button:
    5157        if app_doc.passport is not None:
     58            logger.info('"%s", "continue' % (info['id']))
    5259            action = "/start_clearance"
    5360            base_url = student.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.