source: WAeUP_SRP/base/skins/waeup_student/course_registration_slip.pt @ 2562

Last change on this file since 2562 was 2489, checked in by Henrik Bettermann, 17 years ago

fix for students with strange session result course codes
beautify course result views
create_level.py: do not fill grade of carry-over courses; grade is a deprecated catalog field

File size: 4.5 KB
Line 
1<metal:body use-macro="here/slip_template/macros/master">
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;
14          status_info info/status_info;
15          review_state info/review_state;
16          validated python:review_state in ('courses_validated',);
17          view_only info/view_only"
18          >
19      <h3>Course Registration Slip for <span tal:content="here/title_or_id" /></h3>
20      <br />
21      <div tal:condition="validated">
22        - validated by <span tal:condition="info/doc/validated_by|nothing" tal:omit-tag="">
23          <span tal:replace="info/doc/validated_by" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" />
24        </span> -
25      </div>
26      <div tal:condition="not: validated">
27        - not yet validated by Course Adviser -
28      </div>
29      <br />
30      <span tal:omit-tag=""
31            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
32            layout_mode='view_info',
33            layout_id='student_application_fe')"
34            />           
35      <table  cellpadding="2" cellspacing="0">
36        <tr>
37          <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>:
38          </td>
39          <td>
40            <span tal:content="info/student/faculty" />
41          </td>     
42        </tr>
43        <tr>
44          <td valign="top"><span class="dlabel">Department Id</span>:
45          </td>
46          <td>
47            <span tal:content="info/student/department" />
48          </td>     
49        </tr>
50        <tr>
51          <td valign="top"><span class="dlabel">Study Course Id</span>:
52          </td>
53          <td>
54            <span tal:content="info/student/course" />
55          </td>     
56        </tr>
57      </table>
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 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="72%" 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="14%"> <span tal:content="row/coe|nothing" /></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="72%" 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="14%" tal:content="row/coe|nothing"></td>
83          </tr>
84          <tr>
85            <td width="82%" colspan="2" align="right">Total Credits:</td>
86            <td width="2%">&nbsp;</td>
87            <td width="2%" tal:content="info/credits_total"></td>
88            <td width="14%">&nbsp;</td>
89          </tr>
90        </table>
91      </form>
92      <span tal:condition="is_ca">   
93        <br /><br />
94        <table  width=100%>
95          <tr >
96            <td width=50%>Date:</td><td>Date:</td>
97          </tr>
98        </table>
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    </span>             
109  </metal:main>
110</metal:body>
111 
Note: See TracBrowser for help on using the repository browser.