- Timestamp:
- 31 Mar 2009, 21:18:43 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_ois
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_slip.pt
r4028 r4035 21 21 layout_mode='view_info', 22 22 layout_id='student_application')" /> 23 24 25 <span tal:condition="python:info[sem[2]]" tal:omit-tag=""> 26 23 27 <table> 24 28 <tr> … … 29 33 </tr> 30 34 </table> 31 <br /> 35 <br /> <br /> 32 36 33 <span tal:condition="python:info[sem[2]]" tal:omit-tag="">34 37 <table class="contentListing" id="folder_content" width="100%"> 35 38 <tr tal:condition="python:info[sem[1]]"> … … 62 65 <table width=100%> 63 66 <tr > 64 <td width=40%> </td> 65 <td width=30%>Date: 12/12/2008</td> 66 <td width=30%>Ms J.C. Butler</td> 67 <td width=50%> </td> 68 <td width=20%>Date: 12/12/2008</td> 69 <td width=30% align='center'> 70 <img tal:attributes="src string:${static_base_url}butler.jpg" alt="Signature"/> 71 <br />Ms J.C. Butler 72 <br />Principal</td> 67 73 </tr> 68 <tr >69 <td width=40%> </td>70 <td width=30%></td>71 <td width=30%>Principal</td>72 </tr>73 74 </table> 74 75 </span> … … 77 78 <span tal:condition="python:not info[sem[2]]" tal:omit-tag=""> 78 79 80 <br /> 79 81 <font color=red>Report not yet complete</font> 80 82 -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r3902 r4035 109 109 score_calc_average_1 /= len(normal1) 110 110 info['complete1'] = complete1 111 info['score_calc_average_1'] = score_calc_average_1111 info['score_calc_average_1'] = '%.2f' % score_calc_average_1 112 112 113 113 complete2 = 0 114 114 score_calc_average_2 = 0 115 for r in normal 1:115 for r in normal2: 116 116 if r['grade'] and r['atl']: 117 117 score_calc_average_2 += r['score_calc'] … … 124 124 score_calc_average_2 /= len(normal2) 125 125 info['complete2'] = complete2 126 info['score_calc_average_2'] = score_calc_average_2126 info['score_calc_average_2'] = '%.2f' % score_calc_average_2 127 127 128 128 complete3 = 0 129 129 score_calc_average_3 = 0 130 for r in normal 1:130 for r in normal3: 131 131 if r['grade'] and r['atl']: 132 132 complete3 += 1 … … 139 139 score_calc_average_3 /= len(normal3) 140 140 info['complete3'] = complete3 141 info['score_calc_average_3'] = score_calc_average_3141 info['score_calc_average_3'] = '%.2f' % score_calc_average_3 142 142 143 143
Note: See TracChangeset for help on using the changeset viewer.