Ignore:
Timestamp:
31 May 2007, 14:19:37 (17 years ago)
Author:
Henrik Bettermann
Message:

include logging message (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/waeup_edit.py

    r1744 r1840  
    4040                            use_session=True)
    4141
     42student_id = context.getStudentId()
     43
    4244##if action is None:
    4345##    ti = doc.getTypeInfo()
     
    6668                                                      )
    6769                logger.info('%s edited %s (%s) of %s' % (member,context.id,course,student_id))
    68    
     70
    6971        elif context.portal_type == "StudentApplication": # disabled
    7072            entry_mode = ds.get('entry_mode')
     
    8082                                                  matric_no = matric_no,
    8183                                                 )
    82             logger.info('%s edited %s of %s' % (member,context.id,student_id))                                             
     84            logger.info('%s edited %s of %s' % (member,context.id,student_id))
    8385        elif context.portal_type in ("StudentPersonal",):
    8486            name = "%(firstname)s %(middlename)s %(lastname)s" % ds
     
    118120    args = getFormUidUrlArg(REQUEST)
    119121
     122logger.info('%s edited %s of %s' % (member,context.id,student_id))
    120123args['portal_status_message'] = psm
    121124url = context.absolute_url() + action + '?' + urlencode(args)
Note: See TracChangeset for help on using the changeset viewer.