source: WAeUP_SRP/trunk/skins/waeup_student/course_registration_slip.pt @ 1575

Last change on this file since 1575 was 1575, checked in by Henrik Bettermann, 18 years ago

ticket 106 and 124

File size: 4.5 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getStudyLevelInfo;
4                  is_so context/isSectionOfficer;
5                  is_ca info/is_ca;
6                  show_check_boxes info/show_check_boxes;
7                  validated python:context.getStudentReviewState() in ('courses_validated',);
8                              is_student info/is_student;
9                          status_info info/status_info;
10                          review_state info/review_state;
11                          view_only info/view_only">
12      <span tal:condition="not: info">
13        <span tal:content="here/illegal_view" />
14      </span>
15      <span tal:condition="info">
16      <h3>Course Registration Slip</h3>
17     
18      <br />
19     
20      <div tal:condition="validated">
21        - validated by Course Adviser -
22      </div>
23      <div tal:condition="not: validated">
24        - not yet validated by Course Adviser -
25      </div>
26     
27      <br />
28      <span tal:omit-tag=""
29            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
30            layout_mode='view_info',
31            layout_id='student_application_fe')"
32            />           
33
34      <table  cellpadding="2" cellspacing="0">
35          <tr>
36            <td valign="top" width="180px"><span class="dlabel">Matriculation No</span>:
37            </td>
38            <td>
39              <span tal:content="info/student/matric_no" />
40            </td>     
41          </tr>
42          <tr>
43            <td valign="top"><span class="dlabel">Faculty Id</span>:
44            </td>
45            <td>
46              <span tal:content="info/student/faculty" />
47            </td>     
48          </tr>
49          <tr>
50            <td valign="top"><span class="dlabel">Department Id</span>:
51            </td>
52            <td>
53              <span tal:content="info/student/department" />
54            </td>     
55          </tr>
56          <tr>
57            <td valign="top"><span class="dlabel">Course Id</span>:
58            </td>
59            <td>
60              <span tal:content="info/student/course" />
61            </td>     
62          </tr>
63      </table>
64
65      <form action="." method="post" class="group">
66        <span tal:condition="info/carry_overs" tal:omit-tag="">
67        <h4>Carryover Courses</h4>
68        <br />
69        <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">
70          <tr tal:repeat="row info/carry_overs"
71              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
72            <td width="78%" tal:content="row/title"></td>
73            <td align="center" width="10%" tal:content="row/code"></td>
74            <td align="center" width="2%">S<span tal:content="row/semester" /></td>
75            <td align="center" width="2%" tal:content="row/credits"></td>
76            <td align="center" width="8%" tal:content="row/grade|string:"></td>
77          </tr>
78        </table>
79        </span>
80        <h4>Session Courses</h4>
81        <br />
82        <table class="contentListing" width="100%" summary="content layout" id="folder_content">     
83          <tr tal:repeat="row info/normal"
84              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
85            <td width="78%" tal:content="row/title"></td>
86            <td align="center" width="10%" tal:content="row/code"></td>
87            <td align="center" width="2%">S<span tal:content="row/semester" /></td>
88            <td align="center" width="2%" tal:content="row/credits"></td>
89            <td align="center" width="8%" tal:content="row/coe|nothing"></td>
90          </tr>
91          <tr>
92            <td></td>
93            <th colspan="2">Total Credits:</th>
94            <td align="center" width="2%" tal:content="info/credits_total"></td>
95          </tr>
96        </table>
97      </form>
98        <span tal:condition="is_ca">   
99              <br /><br />
100              <table  width=100%>
101              <tr >
102              <td width=50%>Date:</td><td>Date:</td>
103              </tr>
104              </table>
105             
106              <br /><br /><br /><br />
107              <table  width=100%>
108              <tr >
109              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
110              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td>
111              </tr>
112              </table>
113         </span>             
114       </span>             
115    </metal:main>
116</metal:body>
117 
Note: See TracBrowser for help on using the repository browser.