Changeset 1316
- Timestamp:
- 17 Jan 2007, 18:05:49 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_accommodation_fe.xml
r1146 r1316 20 20 </property> 21 21 <property name="hidden_readonly_layout_modes"/> 22 <property name="view_format">medium</property>23 22 </widget> 24 23 <widget name="acco_maint_sc_pin" meta_type="Scratchcard Pin Widget"> … … 50 49 </property> 51 50 <property name="hidden_readonly_layout_modes"/> 52 <property name="view_format">medium</property>53 51 </widget> 54 52 <widget name="acco_res_sc_pin" meta_type="Scratchcard Pin Widget"> … … 57 55 <element value="acco_res_sc_pin"/> 58 56 </property> 59 <property name="is_required">False</property>60 57 <property name="label">Access Code</property> 61 58 <property name="label_edit">Access Code</property> … … 115 112 <table> 116 113 <row> 117 <cell name="session"/>118 </row>119 <row>120 114 <cell name="bed"/> 121 115 </row> -
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.