Changeset 1017


Ignore:
Timestamp:
8 Dec 2006, 21:12:01 (18 years ago)
Author:
Henrik Bettermann
Message:

logging messages modified

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
4 edited

Legend:

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

    r1016 r1017  
    3232    logger.info('"anonymous access","%s"' % request.get('URL0'))
    3333    REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
    34    
     34
    3535student = info['student']
    3636app = info['app']
     
    5656    elif cpsdocument_edit_and_view_button:
    5757        if app_doc.passport is not None:
    58             logger.info('"%s", "continue' % (info['id']))
     58            logger.info('"%s", "proceeded to start clearance' % (info['id']))
    5959            action = "/start_clearance"
    6060            base_url = student.absolute_url()
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py

    r1016 r1017  
    5353        psm = "Content changed!"
    5454        if context.isStudent():
    55            action = "/clearance_edit_form"       
     55           action = "/clearance_edit_form"
    5656    elif cpsdocument_edit_and_view_button:
    5757        if acknowledge and info['review_state'] == "clearance_pin_entered":
     
    6464               action = "/clearance_view"
    6565        elif acknowledge and info['review_state'] != "clearance_pin_entered":
    66             logger.info('"%s","double requested clearance"' % (student_id))
    67             psm = "You have already requested clearance"
     66            logger.info('"%s","repeatedly requested clearance"' % (student_id))
     67            psm = "You have already requested clearance!"
    6868            if context.isStudent():
    6969               action = "/clearance_edit_form"
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py

    r1016 r1017  
    4141            break
    4242        if member_id != requested_id:
    43             logger.info("Student %s tried to access %s" % (member_id,requested_id))
     43            logger.info("student %s tried to access %s" % (member_id,requested_id))
    4444            student_id = member_id
    4545            #mtool.assertViewable(context)
  • WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py

    r1016 r1017  
    5858                                 )
    5959pin = str(ds.get('clr_ac_pin'))
    60 logger.info('"%s", "%s"' % (info['id'],pin))
     60logger.info('"%s", "entered clearance pin", "%s"' % (info['id'],pin))
    6161wf.doActionFor(info['student'],'enter_clearance_pin')
    6262wf.doActionFor(info['clear'],'open')
     
    6464app_doc = info['app_doc']
    6565dc['lga_ident'] = app_doc.get('jamb_lga')
    66 dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga') 
     66dc['lga'] = app_doc.get('jamb_state','no state') + ' / ' + app_doc.get('jamb_lga','no lga')
    6767dc['clr_ac_date'] = current
    6868dc['entry_date'] = current
Note: See TracChangeset for help on using the changeset viewer.