source: WAeUP_SRP/trunk/skins/waeup_futminna/transcript_slip.pt @ 11156

Last change on this file since 11156 was 8329, checked in by Henrik Bettermann, 13 years ago

Use LongTitle? of faculty and department.

File size: 4.7 KB
RevLine 
[5458]1  <metal:body use-macro="here/slip_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="info context/getTranscriptInfo;"
4              >
5    <span tal:condition="not: info">
6      <span tal:content="here/illegal_view" />
7    </span>
8    <span tal:condition="info">
9    <span tal:define= "is_so context/isSectionOfficer;
10                       is_ca context/isCourseAdviser;
11                       is_student info/is_student;
12                       with_score not: info/without_score|nothing;
13                       ">       
14
15    <h3>
16        Transcript of <span tal:content="info/student_record/name" />:
[6298]17      <br /><br />
[5458]18    </h3>
19
20      <span tal:omit-tag=""
21            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
22            layout_mode='view_info',
23            layout_id='student_application')"
24            />
25             
[5459]26        <table tal:define="sc python: info['more_info'];
27               f_id sc/faculty;
28               d_id sc/department;
29               sc_id sc/course;
30               entry_session sc/entry_session;
31               perm_address sc/perm_address;
[8329]32               f_title context/academics/?f_id/LongTitle|string:Faculty not yet in Prospectus;
33               d_title context/academics/?f_id/?d_id/LongTitle|string:Department not yet in Prospectus;
[5459]34               sc_title context/academics/?f_id/?d_id/certificates/?sc_id/Title|string:Course not in Prospectus"
35               >
36        <tr>
37          <td width="180px">Permanent Address:</td>
38          <td><span tal:content="perm_address" /></td>
39        </tr>               
40        <tr>
41          <td width="180px">Certificate:</td>
42          <td><span tal:content="sc_title" /></td>
43        </tr>
44        <tr>
45          <td>Certificate ID:</td>
46          <td tal:content="sc/course" />
47        </tr>
48        <tr>
49          <td>Entry Session:</td>
50          <td tal:content="sc/entry_session" />
51        </tr>       
52            <tr>
53              <td>Faculty:</td>
54              <td tal:content="f_title" />
55            </tr>
56            <tr>
57              <td>Department:</td>
58              <td><span tal:content="d_title" /></td>
59            </tr>
60        </table>               
[5458]61             
62      <span tal:repeat="details info/year_details">
63      <span tal:define="year_courses info/year_courses;
64                        year python:year_courses[details['year']]"
65            tal:condition="python:len(year)">
66     
67      <br />
68     
69      <h4> Year <span tal:replace="details/year" />  (Session <span tal:replace="details/session" />)</h4>
70     
71      <br />
72     
73      <table  class="contentListing" width="100%" id="folder_content">
74        <tr>
75        <th style='text-align:center'></th>
76        <th style='text-align:center'>session</th>
77        <th style='text-align:center'>level</th>
78        <th style='text-align:center'>semester</th>
79        <th style='text-align:center'>credits</th>
80        <th tal:condition="with_score" style='text-align:center'>score</th>
81        <th style='text-align:center'>grade</th>
82        <th style='text-align:center'>weight</th>
83        <th style='text-align:center'></th>       
84        </tr> 
85                     
86        <tr tal:repeat="row year"
87            tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
88          <td style='text-align:center' tal:content="row/code"></td>
89          <td style='text-align:center' tal:content="row/session_id"></td>
90          <td style='text-align:center' tal:content="row/level_id"></td>                   
91          <td style='text-align:center'><span tal:content="row/semester" /></td>
92          <td style='text-align:center' tal:content="row/credits"></td>
93          <td tal:condition="with_score" style='text-align:center'  tal:content="row/score"></td>
94          <td style='text-align:center' tal:content="row/grade"></td>
95          <td style='text-align:center' tal:content="row/weight"></td>
96          <td style='text-align:center' tal:content="row/coe|nothing"></td>
97        </tr>
98      </table>
99
100    <br />
101    <table>
102      <tr tal:condition="details/total_credits" >
103        <td width='200pt'>Total Credits:</td>
104        <td tal:content="details/total_credits" />
105      </tr>
106      <tr tal:condition="details/gpa">
107        <td>GPA:</td>
108        <td><span tal:content="details/gpa" /></td>
109      </tr>
110      <tr>
111        <td>Cumulative Total Credits:</td>
112        <td tal:content="details/c_total_credits" />
113      </tr>
114      <tr tal:condition="details/cgpa">
115        <td>CGPA:</td>
116        <td><span tal:content="details/cgpa" /></td>
117      </tr>         
118    </table>     
119
120      </span>
121      </span>
122      </span>
123      </span>     
124  </metal:main>
125</metal:body>
126 
Note: See TracBrowser for help on using the repository browser.