Changeset 1316 for WAeUP_SRP/trunk/skins
- Timestamp:
- 17 Jan 2007, 18:05:49 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1281 r1316 67 67 Email Address in Personal Data: %s 68 68 Date of Birth: %s 69 Password: %s69 Password: '%s' 70 70 71 71 """ … … 82 82 ) 83 83 else: 84 84 85 85 info['student'] = student 86 86 info['id'] = student_id … … 104 104 info['password'] 105 105 ) 106 107 108 109 106 107 108 109 110 110 111 111 return info -
WAeUP_SRP/trunk/skins/waeup_student/layout_student_acco_view_slip.pt
r1210 r1316 5 5 dm options/datastructure/getDataModel; 6 6 widgets python:context.getRenderedWidgets(layout); 7 fields python:('session', 8 'bed', 7 fields python:('bed', 9 8 'acco_res_sc_pin', 10 9 'acco_res_date', -
WAeUP_SRP/trunk/skins/waeup_utilities/deleteStudentByMatricNo.py
r1310 r1316 25 25 students = context.portal_url.getPortalObject().campus.students 26 26 if str(member) not in ('admin','joachim') or matric_no is None: 27 return 27 return 28 28 res = st_cat(matric_no=matric_no) 29 29 if len(res) != 1: … … 51 51 msg = "%s deleted" % (','.join(res_deleted)) 52 52 else: 53 msg = " no results to delete for %s" % matric_no53 msg = "No results to delete for %s" % matric_no 54 54 output.append(msg) 55 55 logger.info(msg) 56 56 if hasattr(stdir, student_id): 57 57 stdir.deleteEntry(student_id) 58 msg = "Student Directoryentry for %s deleted" % student_id58 msg = "Student directory entry for %s deleted" % student_id 59 59 else: 60 msg = "No Student Directoryentry for %s" % student_id60 msg = "No Student directory entry for %s" % student_id 61 61 output.append(msg) 62 62 logger.info(msg) 63 63 if hasattr(students,student_id): 64 64 students.manage_delObjects((student_id),) 65 msg = " students entryfor %s deleted" % student_id65 msg = "Student object for %s deleted" % student_id 66 66 else: 67 msg = "No students entryfor %s" % student_id67 msg = "No students object for %s" % student_id 68 68 output.append(msg) 69 69 logger.info(msg)
Note: See TracChangeset for help on using the changeset viewer.