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

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

ticket #200
ticket #243

File size: 4.4 KB
RevLine 
[1737]1<metal:body use-macro="here/slip_template/macros/master">
[1575]2    <metal:main fill-slot="main"
3                tal:define="info context/getStudyLevelInfo;
[1516]4                  is_so context/isSectionOfficer;
5                  is_ca info/is_ca;
6                  show_check_boxes info/show_check_boxes;
[1575]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">
[1516]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>
[1575]17     
[1516]18      <br />
[1575]19     
20      <div tal:condition="validated">
[1612]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>
[1575]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">
[1516]38          <tr>
[1579]39            <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>:
[1516]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>
[1861]53            <td valign="top"><span class="dlabel">Study Course Id</span>:
[1516]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>
[1861]69            <td width="10%" tal:content="row/code"></td>
70            <td width="2%">S<span tal:content="row/semester" /></td>
71            <td width="2%" tal:content="row/credits"></td>
72            <td width="8%" tal:content="row/grade|string:"></td>
[1516]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>
[1861]82            <td width="10%" tal:content="row/code"></td>
83            <td width="2%">S<span tal:content="row/semester" /></td>
84            <td width="2%" tal:content="row/credits"></td>
85            <td width="8%" tal:content="row/coe|nothing"></td>
[1516]86          </tr>
87          <tr>
[1861]88            <th colspan="2" align="right">Total Credits:</th>
[1516]89            <td></td>
[1861]90            <td width="2%" tal:content="info/credits_total"></td>
[1516]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>
[1575]112</metal:body>
[1516]113 
Note: See TracBrowser for help on using the repository browser.