source: WAeUP_SRP/branches/uli/skins/waeup_student/course_registration_slip.pt @ 17397

Last change on this file since 17397 was 1653, checked in by uli, 18 years ago

Incorporated changeset 1593:1652 of trunk into uli-branch.

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