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

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

enable registering courses for session 05

only drawback: level object for session 05 is not closed after submission (register_courses)

please check

File size: 4.3 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 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 width="10%" tal:content="row/code"></td>
67              <td width="2%">S<span tal:content="row/semester" /></td>
68              <td width="2%" tal:content="row/credits"></td>
69              <td 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 width="10%" tal:content="row/code"></td>
80            <td width="2%">S<span tal:content="row/semester" /></td>
81            <td width="2%" tal:content="row/credits"></td>
82            <td width="8%" tal:content="row/coe|nothing"></td>
83          </tr>
84          <tr>
85            <th colspan="2" align="right">Total Credits:</th>
86            <td></td>
87            <td 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        <br /><br /><br /><br />
99        <table  width=100%>
100          <tr >
101            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
102            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td>
103          </tr>
104        </table>
105      </span>             
106    </span>             
107    </span>             
108  </metal:main>
109</metal:body>
110 
Note: See TracBrowser for help on using the repository browser.