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