source: WAeUP_SRP/trunk/skins/waeup_layout/portlet_student_workflow_display.pt

Last change on this file was 3985, checked in by Henrik Bettermann, 16 years ago

getAccommodationInfo.py: deactivate histel booking fro graduates
srp_anonymous_view.pt: Use portal title for headline
portlet_student_workflow_display.pt: show state graduated

File size: 4.0 KB
Line 
1<tal:block define="item nocall:options/context_obj;
2           info item/getStudentWorkflowInfo;"
3           condition="context/isStudent">       
4
5           
6<table>          
7<tr><td style="padding: 1em 0em 0.2em 0em;">
8   Registration Status:
9</td></tr>
10</table>
11
12<table class="registration" tal:condition="not:info/cr">
13
14  <span tal:condition="python:path('info/review_state')=='admitted'">
15  <tr>
16    <td class="active">
17    <a href="" tal:attributes="href string:${info/url}/admission_form">
18    Admitted
19    </a>
20    </td>
21  </tr>
22  </span>
23  <span tal:condition="python:path('info/review_state') in ('objection_raised','clearance_pin_entered','clearance_requested','cleared_and_validated','deactivated')">
24  <tr>
25    <td>
26    <a href="" tal:attributes="href string:${info/url}/admission_form">
27    Admitted
28    </a>
29    </td>
30  </tr>
31  </span> 
32  <span tal:condition="python:path('info/review_state')=='objection_raised'">
33  <tr>
34    <td class="stopped">
35    <a href="" tal:attributes="href string:${info/url}/admission_form">
36    Objection raised
37    </a>
38    </td>
39  </tr>
40  </span>
41  <span tal:condition="python:path('info/review_state')!='objection_raised'">
42  <tr><td>Objection raised</td></tr>
43  </span> 
44  <span tal:condition="python:path('info/review_state')=='clearance_pin_entered'">
45  <tr>
46    <td class="active">
47    <a href="" tal:attributes="href string:${info/url}/clearance_edit_form">
48    Clearance started
49    </a>   
50    </td>
51  </tr>
52  </span>
53  <span tal:condition="python:path('info/review_state')!='clearance_pin_entered'">
54  <tr><td>Clearance started</td></tr>
55  </span>
56  <span tal:condition="python:path('info/review_state')=='clearance_requested'">
57  <tr><td class="active">Clearance requested</td></tr>
58  </span>
59  <span tal:condition="python:path('info/review_state')!='clearance_requested'">
60  <tr><td>Clearance requested</td></tr>
61  </span>
62  <span tal:condition="python:path('info/review_state')=='cleared_and_validated'">
63  <tr><td class="active">Cleared</td></tr>
64  </span>
65  <span tal:condition="python:path('info/review_state')!='cleared_and_validated'">
66  <tr><td>Cleared</td></tr>
67  </span>
68  <span tal:condition="python:path('info/review_state')=='deferred'">
69  <tr><td class="active">Admission deferred</td></tr>
70  </span>
71  <span tal:condition="python:path('info/review_state')!='deferred'">
72  <tr><td>Admission deferred</td></tr>
73  </span>   
74</table>
75
76<table class="registration" tal:condition="info/cr">
77  <span tal:condition="python:info['review_state']=='returning'">
78  <tr><td class="active">
79    Returning
80  </td></tr>
81  </span>
82  <span tal:condition="python:info['review_state']!='returning'">
83  <tr><td>
84    Returning
85  </td></tr>
86  </span> 
87  <span tal:condition="python:info['review_state']=='school_fee_paid'">
88  <tr><td class="active">
89    <a href="" tal:attributes="href string:${info/url}/student_view">
90    School fee paid
91    </a>
92  </td></tr>
93  </span>
94  <span tal:condition="python:info['review_state']!='school_fee_paid'">
95  <tr><td>
96    School fee paid
97  </td></tr>
98  </span> 
99  <span tal:condition="python:info['review_state']=='courses_registered'">
100  <tr><td class="active">
101    <a href="" tal:attributes="href string:${info/url}/student_view">
102    Courses registered
103    </a>
104  </td></tr>
105  </span>
106  <span tal:condition="python:info['review_state']!='courses_registered'">
107  <tr><td>
108    Courses registered
109  </td></tr>
110  </span>   
111  <span tal:condition="python:info['review_state']=='courses_validated'">
112  <tr><td class="active">
113    <a href="" tal:attributes="href string:${info/url}/student_view">
114    Courses validated
115    </a>
116  </td></tr>
117  </span>
118  <span tal:condition="python:info['review_state']!='courses_validated'">
119  <tr><td>
120    Courses validated
121  </td></tr>
122  </span>     
123  <span tal:condition="python:info['review_state']=='graduated'">
124  <tr><td class="active">
125    <a href="" tal:attributes="href string:${info/url}/student_view">
126    Graduated
127    </a>
128  </td></tr>
129  </span> 
130  <span tal:condition="python:info['review_state']!='graduated'">
131  <tr><td>
132    Graduated
133  </td></tr>
134  </span>   
135</table>
136
137</tal:block>
138
Note: See TracBrowser for help on using the repository browser.