- Timestamp:
- 19 Mar 2007, 22:28:18 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1592 r1600 54 54 #args['error'] = err 55 55 args['portal_status_message'] = err 56 url = "%s?%s" % (context.absolute_url(),urlencode(args))56 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 57 57 return request.RESPONSE.redirect(url) 58 58 … … 66 66 args['course_id'] = course_id 67 67 68 logger.info('%s added StudentCourseResult object %s ' % (member,course_id))68 logger.info('%s added StudentCourseResult object %s for %s' % (member,course_id,context.getStudentId())) 69 69 70 args = {}71 70 psm = "You successfully added course %s!" % course_id 72 71 args['portal_status_message'] = psm -
WAeUP_SRP/trunk/skins/waeup_student/delete_course_result.py
r1591 r1600 31 31 if real_ids: 32 32 context.manage_delObjects(real_ids) 33 logger.info('%s deleted StudentCourseResult object %s ' % (member,id))33 logger.info('%s deleted StudentCourseResult object %s for %s' % (member,id,context.getStudentId())) 34 34 message = 'psm_item(s)_deleted' 35 35 else: 36 36 message = 'psm_select_at_least_one_document' 37 37 38 38 args = {} 39 39 args['portal_status_message'] = message 40 40 url = context.absolute_url() + '/' + action_after_validate + '?' + urlencode(args) 41 41 if REQUEST is not None: 42 return REQUEST.RESPONSE.redirect(url) 42 return REQUEST.RESPONSE.redirect(url)
Note: See TracChangeset for help on using the changeset viewer.