Changeset 1448 for WAeUP_SRP/trunk/skins
- Timestamp:
- 20 Feb 2007, 19:51:55 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py
r1183 r1448 63 63 if with_courses_cat: 64 64 res = context.courses_catalog(code = r.CosCode) 65 if with_courses_cat and res: 65 if r.CosCode == 'N/A': 66 result['title'] = 'N/A' 67 elif with_courses_cat and res: 66 68 result['title'] = res[0].title 67 69 else: -
WAeUP_SRP/trunk/skins/waeup_student/getMemberInfo.py
r1316 r1448 87 87 info['review_state'] = wf.getInfoFor(student,'review_state',None) 88 88 info['password'] = context.waeup_tool.getCredential(student_id) 89 info['email'] = ' na'89 info['email'] = 'N/A' 90 90 91 91 msg=""" … … 100 100 101 101 info['message'] = msg % ( 102 ' na',102 'N/A', 103 103 student_id, 104 104 info['password'] -
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1429 r1448 43 43 res = scatalog(id = student_id) 44 44 matric_no = res[0].matric_no 45 student_from_cat = res[0] 45 student_from_cat = res[0] 46 46 47 47 res = returning(matric_no = matric_no) … … 83 83 result['gpa'] = 'ok' 84 84 except: 85 result['gpa'] = ' na'85 result['gpa'] = 'N/A' 86 86 else: 87 result['title'] = "na" 88 result['credits'] = "na" 89 result['gpa'] = 'na' 87 result['title'] = "" 88 result['credits'] = "N/A" 89 result['gpa'] = 'N/A' 90 result['WEIGHT'] = 'N/A' 91 result['GRADE'] = 'N/A' 90 92 if r.Semester == '2': 91 93 sem2.append(result) … … 102 104 info['sex'] = 'M' 103 105 info['level'] = int(student_from_cat.level)-100 104 else: 105 info['sex'] = ' na'106 info['level'] = ' na'106 else: 107 info['sex'] = 'N/A' 108 info['level'] = 'N/A' 107 109 108 110 info['verdict'] = verdict -
WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt
r1369 r1448 61 61 </td> 62 62 </tr> 63 <tr tal:condition="python: info['email'] and info['email']!=' na'">63 <tr tal:condition="python: info['email'] and info['email']!='N/A'"> 64 64 <td> </td> 65 65 <td><input name="Submit" type="submit" class="standalone" value="Submit" /><br /><br /></td>
Note: See TracChangeset for help on using the changeset viewer.