[2630] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
[1883] | 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getStudyLevelInfo;" |
---|
| 4 | > |
---|
| 5 | <span tal:condition="not: info"> |
---|
| 6 | <span tal:content="here/illegal_view" /> |
---|
| 7 | </span> |
---|
| 8 | <span tal:condition="info" tal:omit-tag=""> |
---|
| 9 | <span tal:omit-tag="" |
---|
| 10 | tal:define="is_so info/is_so; |
---|
| 11 | is_ca info/is_ca; |
---|
| 12 | show_check_boxes info/show_check_boxes; |
---|
| 13 | is_student info/is_student; |
---|
| 14 | status_info info/status_info; |
---|
| 15 | review_state info/review_state; |
---|
| 16 | validated python:review_state in ('courses_validated',); |
---|
| 17 | view_only info/view_only" |
---|
| 18 | > |
---|
[2031] | 19 | <h3>Course Registration Slip for <span tal:content="here/title_or_id" /></h3> |
---|
[1516] | 20 | <br /> |
---|
[1575] | 21 | <div tal:condition="validated"> |
---|
[1897] | 22 | - validated by <span tal:condition="info/doc/validated_by|nothing" tal:omit-tag=""> |
---|
| 23 | <span tal:replace="info/doc/validated_by" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" /> |
---|
| 24 | </span> - |
---|
[1575] | 25 | </div> |
---|
| 26 | <div tal:condition="not: validated"> |
---|
| 27 | - not yet validated by Course Adviser - |
---|
| 28 | </div> |
---|
| 29 | <br /> |
---|
| 30 | <span tal:omit-tag="" |
---|
| 31 | tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
| 32 | layout_mode='view_info', |
---|
[2579] | 33 | layout_id='student_application')" |
---|
[1575] | 34 | /> |
---|
| 35 | <table cellpadding="2" cellspacing="0"> |
---|
[1883] | 36 | <tr> |
---|
| 37 | <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>: |
---|
| 38 | </td> |
---|
| 39 | <td> |
---|
| 40 | <span tal:content="info/student/faculty" /> |
---|
| 41 | </td> |
---|
| 42 | </tr> |
---|
| 43 | <tr> |
---|
| 44 | <td valign="top"><span class="dlabel">Department Id</span>: |
---|
| 45 | </td> |
---|
| 46 | <td> |
---|
| 47 | <span tal:content="info/student/department" /> |
---|
| 48 | </td> |
---|
| 49 | </tr> |
---|
| 50 | <tr> |
---|
| 51 | <td valign="top"><span class="dlabel">Study Course Id</span>: |
---|
| 52 | </td> |
---|
| 53 | <td> |
---|
| 54 | <span tal:content="info/student/course" /> |
---|
| 55 | </td> |
---|
| 56 | </tr> |
---|
[1516] | 57 | </table> |
---|
| 58 | <form action="." method="post" class="group"> |
---|
| 59 | <span tal:condition="info/carry_overs" tal:omit-tag=""> |
---|
[1883] | 60 | <h4>Carryover Courses</h4> |
---|
| 61 | <br /> |
---|
[2489] | 62 | <table class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[1883] | 63 | <tr tal:repeat="row info/carry_overs" |
---|
| 64 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[2630] | 65 | <td width="74%" tal:content="row/title"></td> |
---|
[2489] | 66 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
| 67 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
[2630] | 68 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
| 69 | <td align="center" width="10%">CO</td> |
---|
[1883] | 70 | </tr> |
---|
| 71 | </table> |
---|
[1516] | 72 | </span> |
---|
[2630] | 73 | |
---|
| 74 | <br /> |
---|
| 75 | |
---|
[1516] | 76 | <h4>Session Courses</h4> |
---|
| 77 | <br /> |
---|
| 78 | <table class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[2606] | 79 | |
---|
| 80 | |
---|
| 81 | <span tal:repeat="sem python:('1','2')"> |
---|
| 82 | |
---|
[2649] | 83 | <tr><th colspan="3" tal:content="python: test(sem == '1','First Semester', 'Second Semester')" /></tr> |
---|
[2606] | 84 | <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])" |
---|
| 85 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[2630] | 86 | <td width="74%" tal:content="row/title"></td> |
---|
[2606] | 87 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
| 88 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
[2630] | 89 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
[2606] | 90 | <td align="center" width="10%" tal:content="row/coe|nothing"></td> |
---|
| 91 | |
---|
| 92 | <td tal:condition="python:review_state == 'school_fee_paid'" width="5%" align="center"> |
---|
| 93 | <a href="edit" tal:attributes="href string:course_edit/${row/code}" |
---|
| 94 | target="edit" |
---|
| 95 | onclick="javascript:window.open('','edit','width=600, height=350, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
| 96 | [edit] |
---|
| 97 | </a> |
---|
| 98 | </td> |
---|
| 99 | </tr> |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | <th colspan="3" tal:condition="info/normal3"> Combined</th> |
---|
| 103 | <tr tal:condition="info/normal3" tal:repeat="row info/normal3" |
---|
| 104 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[2630] | 105 | |
---|
| 106 | <td width="74%" tal:content="row/title"></td> |
---|
[2606] | 107 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
| 108 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
[2630] | 109 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
[2606] | 110 | <td align="center" width="10%" tal:content="row/coe|nothing"></td> |
---|
| 111 | |
---|
| 112 | <td tal:condition="python:review_state == 'school_fee_paid'" width="5%" align="center"> |
---|
| 113 | <a href="edit" tal:attributes="href string:course_edit/${row/code}" |
---|
| 114 | target="edit" |
---|
| 115 | onclick="javascript:window.open('','edit','width=600, height=350, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
| 116 | [edit] |
---|
| 117 | </a> |
---|
| 118 | </td> |
---|
| 119 | </tr> |
---|
| 120 | |
---|
| 121 | </span> |
---|
[1516] | 122 | <tr> |
---|
[2630] | 123 | <td width="84%" colspan="2" align="right">Total Credits:</td> |
---|
[2489] | 124 | <td width="2%"> </td> |
---|
[2630] | 125 | <td width="4%" tal:content="info/credits_total"></td> |
---|
| 126 | <td width="10%"> </td> |
---|
[1516] | 127 | </tr> |
---|
| 128 | </table> |
---|
| 129 | </form> |
---|
[1883] | 130 | <span tal:condition="is_ca"> |
---|
| 131 | <br /><br /> |
---|
| 132 | <table width=100%> |
---|
| 133 | <tr > |
---|
| 134 | <td width=50%>Date:</td><td>Date:</td> |
---|
| 135 | </tr> |
---|
| 136 | </table> |
---|
| 137 | <br /><br /><br /><br /> |
---|
| 138 | <table width=100%> |
---|
| 139 | <tr > |
---|
| 140 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> |
---|
| 141 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> |
---|
| 142 | </tr> |
---|
| 143 | </table> |
---|
| 144 | </span> |
---|
| 145 | </span> |
---|
| 146 | </span> |
---|
| 147 | </metal:main> |
---|
[1575] | 148 | </metal:body> |
---|
[1516] | 149 | |
---|