source: main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser_templates/applicanteditpage.pt @ 17540

Last change on this file since 17540 was 16579, checked in by Henrik Bettermann, 3 years ago

Adjust to base package.

File size: 7.8 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data"
3      autocomplete="off">
4
5  <h2 i18n:domain="waeup.kofa" tal:condition="context/translated_state">
6    ...
7    <span tal:replace="context/translated_state">APPLICATIONSTATE
8    </span>
9    <span tal:omit-tag=""
10      i18n:translate="" tal:condition="context/suspended">(account suspended)
11    </span>
12    ...
13  </h2>
14
15  <div class="workflow" tal:condition="context/history">
16    <div tal:repeat="msg context/history/messages">
17      <span tal:replace="msg">MESSAGE</span><br />
18    </div>
19  </div>
20
21  <table class="form-table">
22    <tbody>
23      <tal:widgets content="structure provider:widgets" />
24      <tr tal:condition="view/picture_editable">
25        <td class="fieldname" i18n:translate="">
26          Passport Photo:
27        </td>
28        <td>
29          <img src="passport.jpg" height="180px" /><br />
30          <br />
31                <div class="input-group half">
32                        <div class="input-group-btn">
33                                <div class="btn btn-default btn-file">
34                Select&hellip;
35                <input type="file" name="form.passport" />
36              </div>
37                        </div>
38                        <input type="text" class="form-control" readonly>
39          </div>
40          <span i18n:translate="">
41            Max. file size:
42          </span>
43          <span tal:replace="view/max_upload_size">10 KB</span>
44      </tr>
45
46      <tal:files>
47        <tr tal:repeat="filename view/additional_files">
48          <tal:cond tal:condition="python:view.display_fileupload(filename)">
49            <td class="fieldname">
50              <span tal:replace="python:filename[0]">FILENAME</span>:
51            </td>
52            <td>
53              <p tal:condition="python:view.file_exists(filename[1])">
54                <a tal:attributes="href python:filename[1]"i18n:translate="">
55                  Download file
56                </a>
57              </p>
58              <div class="input-group half">
59                <div class="input-group-btn">
60                  <div class="btn btn-default btn-file">
61                    Select&hellip;
62                  <input type="file" tal:attributes="name python:filename[1]" />
63                  </div>
64                </div>
65                <input type="text" class="form-control" readonly>
66              </div>
67              <span i18n:translate="">
68                PDF or JPG files only. Max. file size:
69              </span>
70              <span tal:replace="view/max_file_upload_size">10 KB</span>
71            </td>
72          </tal:cond>
73        </tr>
74      </tal:files>
75
76      <tr tal:condition="view/manage_applications">
77        <td class="fieldname" i18n:translate="">Password:</td>
78        <td>
79          <input class="form-control" name="password" type="password"  />
80        </td>
81      </tr>
82      <tr tal:condition="view/manage_applications">
83        <td class="fieldname" i18n:translate="">Retype Password:</td>
84        <td>
85          <input class="form-control" name="control_password" type="password" />
86        </td>
87      </tr>
88      <tr tal:condition="view/manage_applications">
89        <td class="fieldname" i18n:translate="">Application Transition:</td>
90        <td>
91          <select id="transition" name="transition" class="form-control half">
92            <option tal:repeat="transition view/getTransitions"
93                    tal:attributes="value transition/name">
94              <span tal:replace="transition/title">TRANSITIONTITLE</span>
95            </option>
96          </select>
97        </td>
98      </tr>
99    </tbody>
100  </table>
101
102  <div tal:condition="python: not view.manage_applications
103                              and not view.target in ('trans', 'cert', 'rec')
104                              and context.__parent__.with_picture">
105    <input id="confirm_passport" name="confirm_passport"
106           type="checkbox" value="True"/>&nbsp;&nbsp;
107    <span i18n:translate="">
108     I hereby confirm that the Passport Photograph uploaded on this form is a
109     true picture of me. I also acknowledge by ticking this check box that,
110     if discovered at any time that I do not possess any of the qualifications
111     which I claim I have obtained, I will be expelled from the University
112     and shall not be re-admitted for the same or any other programme,
113     even if I have upgraded my previous qualifications or possess additional
114     qualifications.
115    </span>
116  </div>
117  <div tal:condition="python: not view.manage_applications
118                              and view.target in ('rec',)
119                              and context.__parent__.with_picture">
120    <input id="confirm_passport" name="confirm_passport"
121           type="checkbox" value="True"/>&nbsp;&nbsp;
122    <span i18n:translate="">
123     I hereby confirm that the Passport Photograph uploaded on this form is a
124     true picture of me.
125    </span>
126  </div>
127  <br />
128
129  <div tal:condition="view/availableActions">
130    <span tal:repeat="action view/actions"
131          tal:omit-tag="">
132      <input tal:condition="python:action.label in view.display_actions[0]"
133             tal:replace="structure action/render"/>
134    </span>
135  </div>
136
137  <tal:refereereports condition="view/display_refereereports">
138    <br /><br />
139    <h3 i18n:translate="">
140        Referee Reports
141    </h3>
142    <table i18n:domain="waeup.kofa" class="table table-condensed">
143      <thead>
144      <tr>
145        <th i18n:translate="">Report Id</th>
146        <th i18n:translate="">Creation Date</th>
147        <th i18n:translate="">Referee</th>
148        <th i18n:translate="">Email Address</th>
149      </tr>
150      </thead>
151      <tbody>
152        <tr tal:repeat="cl context/refereereports">
153          <td> <a tal:attributes="href python:view.url(cl)">
154            <span tal:content="cl/r_id">RID</span></a></td>
155          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
156          <td tal:content="cl/name">REFEREE</td>
157          <td tal:content="cl/email">EMAIL</td>
158        </tr>
159      </tbody>
160    </table>
161  </tal:refereereports>
162
163  <tal:payments condition="view/display_payments">
164    <br /><br />
165    <h3 i18n:translate="">
166        Payment Tickets
167    </h3>
168
169    <table i18n:domain="waeup.kofa" class="table table-condensed">
170      <thead>
171      <tr>
172        <th>&nbsp;</th>
173        <th i18n:translate="">Payment Id</th>
174        <th i18n:translate="">Creation Date</th>
175        <th i18n:translate="">Payment Date</th>
176        <th i18n:translate="">Category</th>
177        <th i18n:translate="">Item</th>
178        <th i18n:translate="">State</th>
179      </tr>
180      </thead>
181      <tbody>
182        <tr tal:repeat="cl context/payments">
183          <td>
184           <input type="checkbox"  name="val_id"
185           tal:attributes="value cl/__name__"
186           tal:condition="python: not view.unremovable(cl)" />
187          </td>
188          <td> <a tal:attributes="href python:view.url(cl)">
189          <span tal:content="cl/p_id">PID</span></a></td>
190          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
191          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
192          <td tal:content ="cl/category">CATEGORY</td>
193          <td tal:content ="cl/display_item">ITEM</td>
194          <td tal:content ="cl/p_state_title">STATE</td>
195        </tr>
196      </tbody>
197    </table>
198
199    <div tal:condition="view/availableActions">
200      <span tal:repeat="action view/actions"
201            tal:omit-tag="">
202        <input tal:condition="python:action.label in view.display_actions[1]"
203               tal:replace="structure action/render"/>
204      </span>
205    </div>
206    <br />
207    <p i18n:translate="" tal:condition="context/special">
208      <strong>Notice:</strong> If you need to pay for another service,
209      select the corresponding special application category above,
210      click 'Save' and then 'Add online payment ticket' again.
211    </p>
212  </tal:payments>
213</form>
Note: See TracBrowser for help on using the repository browser.