Changeset 3811 for WAeUP_SRP/trunk/skins
- Timestamp:
- 10 Dec 2008, 15:33:34 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_ois
- Files:
-
- 2 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_slip.pt
r3727 r3811 7 7 <span tal:omit-tag="" tal:define="is_so info/is_so; 8 8 is_ca info/is_ca; 9 show_check_boxes 10 info/show_check_boxes; 9 show_check_boxes info/show_check_boxes; 11 10 is_student info/is_student; 12 validated info/validated; "> 13 <h3> <span tal:content="info/session" /> Academic Report (<span tal:content="info/student/course" /> 14 <span tal:content="info/level_str" />) 11 validated info/validated; 12 term_complete info/complete1; 13 term options/term; 14 sem_series python:(('Term One','normal1','complete1'),('Term Two','normal2','complete2'),('Term Three','normal3','complete3')); 15 sem python:sem_series[int(term)-1]; 16 "> 17 18 <h3> <span tal:content="info/session" /> <span tal:content="python:sem[0]" /> Academic Report (<span tal:content="info/level_str" />) 15 19 </h3> <br /> 16 <span tal:omit-tag="" 20 <span tal:omit-tag="" tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], 17 21 layout_mode='view_info', 18 22 layout_id='student_application')" /> 19 23 <br /> 20 <span tal:condition=" not:info/data_missing" tal:omit-tag="">24 <span tal:condition="python:info[sem[2]]" tal:omit-tag=""> 21 25 <table class="contentListing" id="folder_content" width="100%"> 22 <span tal:repeat="sem python:(('1','Term One','normal1'),('2','Term Two','normal2'),('3','Term Three','normal3'))"> 23 <tr tal:condition="python:info[sem[2]]"> 24 <th tal:content="python:sem[1]" /> 26 <tr tal:condition="python:info[sem[1]]"> 27 <th /> 25 28 <th align='center'>ATL</th> 26 29 <th align='center'>CA 1 <br />Marks</th> … … 32 35 </th> 33 36 </tr> 34 <tr tal:repeat="row python:info[sem[ 2]]"37 <tr tal:repeat="row python:info[sem[1]]" 35 38 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 36 39 <td tal:content="row/title"></td> … … 44 47 <tr><td> </td> 45 48 </tr> 46 </span>47 49 </table> 48 </span>49 50 50 <span tal:condition="python:False"> <br /><br /> 51 52 <span tal:condition="python:True"> <br /><br /> 51 53 <table width=100%> 52 54 <tr > 53 <td width= 50%>Date:</td><td>Date:</td>54 </tr>55 </table> <br /><br /><br /><br />56 <table width=100%>55 <td width=40%> </td> 56 <td width=30%>Date: 12/12/2008</td> 57 <td width=30%>Ms J.C. Butler</td> 58 </tr> 57 59 <tr > 58 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> 59 <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> 60 <td width=40%> </td> 61 <td width=30%></td> 62 <td width=30%>Principal</td> 60 63 </tr> 61 64 </table> 62 65 </span> 66 </span> 67 68 <span tal:condition="python:not info[sem[2]]" tal:omit-tag=""> 69 70 <font color=red>Report not yet complete</font> 71 72 </span> 73 74 63 75 </span> 64 76 </span> -
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_view.pt
r3804 r3811 27 27 tal:condition="python:True"> 28 28 <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" /> Academic Report Slip: 29 <a href="" target="slip" tal:attributes="href string: academic_report_slip_1"29 <a href="" target="slip" tal:attributes="href string:callAcademicReportSlip?term=1" 30 30 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 31 31 Term 1 / 32 32 </a> 33 <a href="" target="slip" tal:attributes="href string: academic_report_slip_2"33 <a href="" target="slip" tal:attributes="href string:callAcademicReportSlip?term=2" 34 34 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 35 35 Term 2 / 36 36 </a> 37 <a href="" target="slip" tal:attributes="href string: academic_report_slip_3"37 <a href="" target="slip" tal:attributes="href string:callAcademicReportSlip?term=3" 38 38 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> 39 39 Term 3 -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r3690 r3811 96 96 info['items'] = items 97 97 98 complete1 = 0 99 for r in normal1: 100 if r['grade']: 101 complete1 += 1 102 if len(normal1) == complete1: 103 complete1 = True 104 else: 105 complete1 = False 106 info['complete1'] = complete1 107 108 complete2 = 0 109 for r in normal1: 110 if r['grade']: 111 complete2 += 1 112 if len(normal2) == complete2: 113 complete2 = True 114 else: 115 complete2 = False 116 info['complete2'] = complete2 117 118 complete3 = 0 119 for r in normal1: 120 if r['grade']: 121 complete3 += 1 122 if len(normal3) == complete3: 123 complete3 = True 124 else: 125 complete3 = False 126 info['complete3'] = complete3 127 98 128 99 129 #end customization
Note: See TracChangeset for help on using the changeset viewer.