1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
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 | validated info/validated; |
---|
15 | "> |
---|
16 | <h3>Course Registration Slip for <span tal:content="here/title_or_id" /></h3> |
---|
17 | <br /> |
---|
18 | <div tal:condition="validated"> |
---|
19 | - validated by <span tal:condition="info/doc/validated_by|nothing" tal:omit-tag=""> |
---|
20 | <span tal:replace="info/doc/validated_by" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" /> |
---|
21 | </span> - |
---|
22 | </div> |
---|
23 | <div tal:condition="not: validated"> |
---|
24 | - not yet validated by Course Adviser - |
---|
25 | </div> |
---|
26 | <br /> |
---|
27 | <span tal:omit-tag="" |
---|
28 | tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'], |
---|
29 | layout_mode='view_info', |
---|
30 | layout_id='student_application')" |
---|
31 | /> |
---|
32 | <table cellpadding="2" cellspacing="0"> |
---|
33 | <tr> |
---|
34 | <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>: |
---|
35 | </td> |
---|
36 | <td> |
---|
37 | <span tal:content="info/student/faculty" /> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | <tr> |
---|
41 | <td valign="top"><span class="dlabel">Department Id</span>: |
---|
42 | </td> |
---|
43 | <td> |
---|
44 | <span tal:content="info/student/department" /> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | <tr> |
---|
48 | <td valign="top"><span class="dlabel">Study Course Id</span>: |
---|
49 | </td> |
---|
50 | <td> |
---|
51 | <span tal:content="info/student/course" /> |
---|
52 | </td> |
---|
53 | </tr> |
---|
54 | </table> |
---|
55 | <form action="." method="post" class="group"> |
---|
56 | <span tal:condition="info/carry_overs" tal:omit-tag=""> |
---|
57 | <h4>Carryover Courses</h4> |
---|
58 | <br /> |
---|
59 | <table class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
60 | <tr tal:repeat="row info/carry_overs" |
---|
61 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
62 | <td width="74%" tal:content="row/title"></td> |
---|
63 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
64 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
65 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
66 | <td align="center" width="10%">CO</td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | </span> |
---|
70 | |
---|
71 | <br /> |
---|
72 | |
---|
73 | <h4>Session Courses</h4> |
---|
74 | <br /> |
---|
75 | <table class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
76 | |
---|
77 | |
---|
78 | <span tal:repeat="sem python:('1','2')"> |
---|
79 | |
---|
80 | <tr><th colspan="3" tal:content="python: test(sem == '1','First Semester', 'Second Semester')" /></tr> |
---|
81 | <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])" |
---|
82 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
83 | <td width="74%" tal:content="row/title"></td> |
---|
84 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
85 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
86 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
87 | <td align="center" width="10%" tal:content="row/coe|nothing"></td> |
---|
88 | </tr> |
---|
89 | |
---|
90 | |
---|
91 | <th colspan="3" tal:condition="info/normal3"> Combined</th> |
---|
92 | <tr tal:condition="info/normal3" tal:repeat="row info/normal3" |
---|
93 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
94 | |
---|
95 | <td width="74%" tal:content="row/title"></td> |
---|
96 | <td align="center" width="10%" tal:content="row/code"></td> |
---|
97 | <td align="center" width="2%">S<span tal:content="row/semester" /></td> |
---|
98 | <td align="center" width="4%" tal:content="row/credits"></td> |
---|
99 | <td align="center" width="10%" tal:content="row/coe|nothing"></td> |
---|
100 | |
---|
101 | |
---|
102 | </tr> |
---|
103 | |
---|
104 | </span> |
---|
105 | <tr> |
---|
106 | <td width="84%" colspan="2" align="right">Total Credits:</td> |
---|
107 | <td width="2%"> </td> |
---|
108 | <td align="center" width="4%" tal:content="info/total_credits"></td> |
---|
109 | <td width="10%"> </td> |
---|
110 | </tr> |
---|
111 | </table> |
---|
112 | </form> |
---|
113 | <span tal:condition="is_ca"> |
---|
114 | <br /><br /> |
---|
115 | <table width=100%> |
---|
116 | <tr > |
---|
117 | <td width=50%>Date:</td><td>Date:</td> |
---|
118 | </tr> |
---|
119 | </table> |
---|
120 | <br /><br /><br /><br /> |
---|
121 | <table width=100%> |
---|
122 | <tr > |
---|
123 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td> |
---|
124 | <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td> |
---|
125 | </tr> |
---|
126 | </table> |
---|
127 | </span> |
---|
128 | </span> |
---|
129 | </span> |
---|
130 | </metal:main> |
---|
131 | </metal:body> |
---|
132 | |
---|