source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_student/portlet_student_workflow_display.pt

Last change on this file was 1304, checked in by Henrik Bettermann, 18 years ago

duplicate workflow transition removed
workflow portlet slightly changed

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