Changeset 1446 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 19 Feb 2007, 22:14:47 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getVerdict.py
r1401 r1446 10 10 # $Id$ 11 11 12 verdicts = {'SUCCESSFUL STUDENT': (' successful',True),13 'STUDENT WITH CARRYOVER COURSES': (' carryover',True),14 'STUDENT ON PROBATION': (' probation',False),15 'WITHDRAWAL STUDENT': (' withdrawal',False),12 verdicts = {'SUCCESSFUL STUDENT': ('A',True), 13 'STUDENT WITH CARRYOVER COURSES': ('B',True), 14 'STUDENT ON PROBATION': ('C',False), 15 'WITHDRAWAL STUDENT': ('D',False), 16 16 'FIRST CLASS HONOURS': ('first_class',False), 17 17 'SECOND CLASS HONOURS (UPPER DIVISION)': ('second_class_upper',False), -
WAeUP_SRP/trunk/skins/waeup_student/search_students.py
r1278 r1446 228 228 for item in items: 229 229 stcat = context.students_catalog 230 record = stcat(id = item)[0] 230 record = stcat(id = item) 231 if record: 232 record = record[0] 233 else: 234 return item+' not found in students_catalog' 231 235 info = {} 232 236 for field in stcat.schema() + stcat.indexes():
Note: See TracChangeset for help on using the changeset viewer.