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

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

revised study_level_view and methods

File size: 5.4 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')"
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="74%" 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="4%" tal:content="row/credits"></td>
69              <td align="center" width="10%">CO</td>
70            </tr>
71          </table>
72        </span>
73       
74        <br />
75       
76        <h4>Session Courses</h4>
77        <br />
78        <table class="contentListing" width="100%" summary="content layout" id="folder_content">     
79
80
81       <span tal:repeat="sem python:('1','2')">       
82                   
83        <tr><th colspan="3" tal:content="python: test(sem == '1','First Semester', 'Second Semester')" /></tr>           
84        <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])"
85            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
86          <td width="74%" tal:content="row/title"></td>
87          <td align="center" width="10%" tal:content="row/code"></td>
88          <td align="center" width="2%">S<span tal:content="row/semester" /></td>
89          <td align="center" width="4%" tal:content="row/credits"></td>
90          <td align="center" width="10%" tal:content="row/coe|nothing"></td>     
91        </tr>
92       
93       
94        <th colspan="3" tal:condition="info/normal3"> Combined</th>               
95        <tr tal:condition="info/normal3" tal:repeat="row info/normal3"
96            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
97
98          <td width="74%" tal:content="row/title"></td>
99          <td align="center" width="10%" tal:content="row/code"></td>
100          <td align="center" width="2%">S<span tal:content="row/semester" /></td>
101          <td align="center" width="4%" tal:content="row/credits"></td>
102          <td align="center" width="10%" tal:content="row/coe|nothing"></td>
103         
104 
105        </tr>       
106       
107        </span>       
108          <tr>
109            <td width="84%" colspan="2" align="right">Total Credits:</td>
110            <td width="2%">&nbsp;</td>
111            <td align="center" width="4%" tal:content="info/total_credits"></td>
112            <td width="10%">&nbsp;</td>
113          </tr>
114        </table>
115      </form>
116      <span tal:condition="is_ca">   
117        <br /><br />
118        <table  width=100%>
119          <tr >
120            <td width=50%>Date:</td><td>Date:</td>
121          </tr>
122        </table>
123        <br /><br /><br /><br />
124        <table  width=100%>
125          <tr >
126            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
127            <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Course Adviser</td>
128          </tr>
129        </table>
130      </span>             
131    </span>             
132    </span>             
133  </metal:main>
134</metal:body>
135 
Note: See TracBrowser for help on using the repository browser.