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

Last change on this file since 4818 was 4305, checked in by Henrik Bettermann, 15 years ago

replace deprecated align attribute (right and center)

File size: 5.4 KB
RevLine 
[2630]1  <metal:body use-macro="here/slip_template/macros/master">
[1883]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;
[2760]14          validated info/validated;
15          ">
[3475]16      <h3>Course Registration Slip for <span tal:content="info/level_str" /></h3>
[1516]17      <br />
[1575]18      <div tal:condition="validated">
[1897]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> -
[1575]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',
[2579]30            layout_id='student_application')"
[1575]31            />           
32      <table  cellpadding="2" cellspacing="0">
[1883]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>
[1516]54      </table>
55      <form action="." method="post" class="group">
56        <span tal:condition="info/carry_overs" tal:omit-tag="">
[1883]57          <h4>Carryover Courses</h4>
58          <br />
[2489]59          <table class="contentListing" width="100%" summary="content layout" id="folder_content">
[1883]60            <tr tal:repeat="row info/carry_overs"
61                tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
[2630]62              <td width="74%" tal:content="row/title"></td>
[4305]63              <td style='text-align:center' width="10%" tal:content="row/code"></td>
64              <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
65              <td style='text-align:center' width="4%" tal:content="row/credits"></td>
66              <td style='text-align:center' width="10%">CO</td>
[1883]67            </tr>
68          </table>
[1516]69        </span>
[2630]70       
71        <br />
72       
[1516]73        <h4>Session Courses</h4>
74        <br />
75        <table class="contentListing" width="100%" summary="content layout" id="folder_content">     
[2606]76
77
[3980]78        <span tal:repeat="sem python:('1','2')">       
79        <tr><th colspan="3" tal:content="python: test(sem == '1','First Semester Courses', 'Second Semester Courses')" /></tr>           
[2606]80        <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])"
81            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
[2630]82          <td width="74%" tal:content="row/title"></td>
[4305]83          <td style='text-align:center' width="10%" tal:content="row/code"></td>
84          <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
85          <td style='text-align:center' width="4%" tal:content="row/credits"></td>
86          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>     
[2606]87        </tr>
[3980]88        </span>         
[2606]89       
[3980]90        <th colspan="3" tal:condition="info/normal3">Level Courses</th>               
[2606]91        <tr tal:condition="info/normal3" tal:repeat="row info/normal3"
92            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
[2630]93
94          <td width="74%" tal:content="row/title"></td>
[4305]95          <td style='text-align:center' width="10%" tal:content="row/code"></td>
96          <td style='text-align:center' width="2%">S<span tal:content="row/semester" /></td>
97          <td style='text-align:center' width="4%" tal:content="row/credits"></td>
98          <td style='text-align:center' width="10%" tal:content="row/coe|nothing"></td>
[2606]99         
[2757]100 
[2606]101        </tr>       
102       
[3980]103       
[1516]104          <tr>
[4305]105            <td width="84%" colspan="2" style='text-align:right'>Total Credits:</td>
[2489]106            <td width="2%">&nbsp;</td>
[4305]107            <td style='text-align:center' width="4%" tal:content="info/total_credits"></td>
[2630]108            <td width="10%">&nbsp;</td>
[1516]109          </tr>
110        </table>
111      </form>
[1883]112      <span tal:condition="is_ca">   
113        <br /><br />
114        <table  width=100%>
115          <tr >
116            <td width=50%>Date:</td><td>Date:</td>
117          </tr>
118        </table>
119        <br /><br /><br /><br />
120        <table  width=100%>
121          <tr >
122            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
123            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td>
124          </tr>
125        </table>
126      </span>             
127    </span>             
128    </span>             
129  </metal:main>
[1575]130</metal:body>
[1516]131 
Note: See TracBrowser for help on using the repository browser.