source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/course_registration_slip.pt @ 7657

Last change on this file since 7657 was 1596, checked in by joachim, 18 years ago

merged changes from trunk to joachim-event-branch

File size: 4.3 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">Faculty Id</span>:
37            </td>
38            <td>
39              <span tal:content="info/student/faculty" />
40            </td>     
41          </tr>
42          <tr>
43            <td valign="top"><span class="dlabel">Department Id</span>:
44            </td>
45            <td>
46              <span tal:content="info/student/department" />
47            </td>     
48          </tr>
49          <tr>
50            <td valign="top"><span class="dlabel">Course Id</span>:
51            </td>
52            <td>
53              <span tal:content="info/student/course" />
54            </td>     
55          </tr>
56      </table>
57
58      <form action="." method="post" class="group">
59        <span tal:condition="info/carry_overs" tal:omit-tag="">
60        <h4>Carryover Courses</h4>
61        <br />
62        <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content">
63          <tr tal:repeat="row info/carry_overs"
64              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
65            <td width="78%" tal:content="row/title"></td>
66            <td align="center" width="10%" tal:content="row/code"></td>
67            <td align="center" width="2%">S<span tal:content="row/semester" /></td>
68            <td align="center" width="2%" tal:content="row/credits"></td>
69            <td align="center" width="8%" tal:content="row/grade|string:"></td>
70          </tr>
71        </table>
72        </span>
73        <h4>Session Courses</h4>
74        <br />
75        <table class="contentListing" width="100%" summary="content layout" id="folder_content">     
76          <tr tal:repeat="row info/normal"
77              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
78            <td width="78%" tal:content="row/title"></td>
79            <td align="center" width="10%" tal:content="row/code"></td>
80            <td align="center" width="2%">S<span tal:content="row/semester" /></td>
81            <td align="center" width="2%" tal:content="row/credits"></td>
82            <td align="center" width="8%" tal:content="row/coe|nothing"></td>
83          </tr>
84          <tr>
85            <td></td>
86            <th colspan="2">Total Credits:</th>
87            <td align="center" width="2%" tal:content="info/credits_total"></td>
88          </tr>
89        </table>
90      </form>
91        <span tal:condition="is_ca">   
92              <br /><br />
93              <table  width=100%>
94              <tr >
95              <td width=50%>Date:</td><td>Date:</td>
96              </tr>
97              </table>
98             
99              <br /><br /><br /><br />
100              <table  width=100%>
101              <tr >
102              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
103              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td>
104              </tr>
105              </table>
106         </span>             
107       </span>             
108    </metal:main>
109</metal:body>
110 
Note: See TracBrowser for help on using the repository browser.