- Timestamp:
- 12 Feb 2007, 22:42:05 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1406 r1411 262 262 da['app_email'] = dp['email'] = email 263 263 da['app_mobile'] = dp['phone'] = phone_nr 264 da['jamb_firstname'] = dp['firstname'] = student.Firstname 265 da['jamb_middlename'] = dp['middlename'] = student.Middlename 266 da['jamb_lastname'] = dp['lastname'] = student.Lastname 264 dp['firstname'] = student.Firstname 265 dp['middlename'] = student.Middlename 266 dp['lastname'] = student.Lastname 267 da['jamb_lastname'] = "%s %s %s" % (student.Firstname,student.Middlename,student.Lastname) 267 268 da['jamb_sex'] = student.Sex 268 269 dp['sex'] = student.Sex == 'F' -
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1317 r1411 51 51 res = scatalog(id = student_id) 52 52 matric_no = res[0].matric_no 53 student_from_cat = res[0] 53 54 54 55 res = returning(matric_no = matric_no) 55 student = res[0]56 student_from_returning = res[0] 56 57 res = results(matric_no = matric_no) 57 58 results = res … … 98 99 gpa = float(gpa) / course_count 99 100 gpa = "%4.2f" % gpa 101 if student_from_cat.sex: 102 info['sex'] = 'F' 103 else: 104 info['sex'] = 'M' 105 info['level'] = int(student_from_cat.level)-100 100 106 info['verdict'] = verdict 101 107 info['session'] = session 102 108 info['gpa'] = gpa 103 109 info['results'] = (sem1, sem2) 104 info['student'] = student 110 info['student_from_returning'] = student_from_returning 111 info['student'] = student_from_cat 105 112 info['s_id'] = student_id 106 113 return info -
WAeUP_SRP/trunk/skins/waeup_student/session_results_slip.pt
r1292 r1411 9 9 </a> 10 10 </div> 11 <h3>Session Results of <span tal:content="info/student/Firstname" /> 12 <span tal:content="info/student/Middlename" /> 13 <span tal:content="info/student/Lastname" /> 11 <h3>Session Results of <span tal:content="info/student/name" /> 14 12 </h3> 15 13 <br /> … … 26 24 </tr> 27 25 <tr> 28 <th>Sex:</th><td tal:content="info/s tudent/Sex" />26 <th>Sex:</th><td tal:content="info/sex" /> 29 27 </tr> 30 28 <tr> 31 <th valign="top">Course of Study:</th><td tal:content="info/student /Coursemajor" />29 <th valign="top">Course of Study:</th><td tal:content="info/student_from_returning/Coursemajor" /> 32 30 </tr> 33 31 <tr> 34 <th>Level:</th><td tal:content="info/ student/Level" />32 <th>Level:</th><td tal:content="info/level" /> 35 33 </tr> 36 34 </table> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt
r1292 r1411 9 9 </a> 10 10 </div> 11 <h3>Session Results of <span tal:content="info/student/Firstname" /> 12 <span tal:content="info/student/Middlename" /> 13 <span tal:content="info/student/Lastname" /> 11 <h3>Session Results of <span tal:content="info/student/name" /> 14 12 </h3> 15 13 <br /> … … 26 24 </tr> 27 25 <tr> 28 <th>Sex:</th><td tal:content="info/s tudent/Sex" />26 <th>Sex:</th><td tal:content="info/sex" /> 29 27 </tr> 30 28 <tr> 31 <th valign="top">Course of Study:</th><td tal:content="info/student /Coursemajor" />29 <th valign="top">Course of Study:</th><td tal:content="info/student_from_returning/Coursemajor" /> 32 30 </tr> 33 31 <tr> 34 <th>Level:</th><td tal:content="info/ student/Level" />32 <th>Level:</th><td tal:content="info/level" /> 35 33 </tr> 36 34 </table>
Note: See TracChangeset for help on using the changeset viewer.