source: main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser_templates/applicanteditpage.pt @ 10341

Last change on this file since 10341 was 10338, checked in by Henrik Bettermann, 12 years ago

Render public link to past-questions pdf file depending on course1 department code.

File size: 4.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">
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">
16    <div tal:repeat="msg context/history/messages">
17      <span tal:replace="msg">MESSAGE</span><br />
18    </div>
19  </div>
20
21  <h4 tal:condition="view/show_pastq_al">
22    Download past questions
23    <a href="https://uniben.waeup.org/downloads/ArtsAndLaw.pdf"
24        i18n:translate="">
25      'Arts And Law'
26    </a>
27     to exercise.
28  </h4>
29
30  <h4 tal:condition="view/show_pastq_bs">
31    Download past questions
32    <a href="https://uniben.waeup.org/downloads/BiologicalSciences.pdf"
33        i18n:translate="">
34      'Biological Sciences'
35    </a>
36     to exercise.
37  </h4>
38
39  <h4 tal:condition="view/show_pastq_eps">
40    Download past questions
41    <a href="https://uniben.waeup.org/downloads/EngineeringAndPhysicalSciences.pdf"
42        i18n:translate="">
43      'Engineering And Physical Sciences'
44    </a>
45     to exercise.
46  </h4>
47
48  <h4 tal:condition="view/show_pastq_mss">
49    Download past questions
50    <a href="https://uniben.waeup.org/downloads/ManagementAndSocialSciences.pdf"
51        i18n:translate="">
52      'Management And Social Sciences'
53    </a>
54     to exercise.
55  </h4>
56
57  <table class="form-table">
58    <tbody>
59      <tal:widgets content="structure provider:widgets" />
60      <tr>
61        <td class="fieldname" i18n:translate="">
62          Passport Photo:
63        </td>
64        <td>
65          <img src="passport.jpg" height="180px" /><br />
66          <input type="file" name="form.passport" />
67          <br />
68          <span i18n:translate="">
69            Max. file size:
70          </span>
71          <span tal:replace="view/max_upload_size">10 KB</span>
72      </tr>
73      <tr tal:condition="view/manage_applications">
74        <td class="fieldname" i18n:translate="">Password:</td>
75        <td>
76          <input name="password" type="password"  />
77        </td>
78      </tr>
79      <tr tal:condition="view/manage_applications">
80        <td class="fieldname" i18n:translate="">Retype Password:</td>
81        <td>
82          <input name="control_password" type="password" />
83        </td>
84      </tr>
85      <tr tal:condition="view/manage_applications">
86        <td class="fieldname" i18n:translate="">Application Transition:</td>
87        <td>
88          <select id="transition" name="transition">
89            <option tal:repeat="transition view/getTransitions"
90                    tal:attributes="value transition/name">
91              <span tal:replace="transition/title">TRANSITIONTITLE</span>
92            </option>
93          </select>
94        </td>
95      </tr>
96    </tbody>
97  </table>
98
99  <div tal:condition="not: view/manage_applications">
100    <input id="confirm_passport" name="confirm_passport"
101           type="checkbox" value="True"/>
102    <span i18n:translate="">
103    I confirm that the Passport Photograph uploaded on this form is a
104    true picture of me.
105    </span>
106  </div>
107  <br />
108
109  <div tal:condition="view/availableActions">
110    <span tal:repeat="action view/actions"
111          tal:omit-tag="">
112      <input tal:condition="python:action.label in view.display_actions[0]"
113             tal:replace="structure action/render"/>
114    </span>
115  </div>
116
117  <br /><br />
118  <h3 i18n:translate="">
119      Acceptance Fee Payment Tickets
120  </h3>
121
122  <table>
123    <thead>
124    <tr>
125      <th>&nbsp;</th>
126      <th i18n:translate="">Payment Id</th>
127      <th i18n:translate="">Creation Date</th>
128      <th i18n:translate="">Payment Date</th>
129      <th i18n:translate="">Category</th>
130      <th i18n:translate="">Item</th>
131      <th i18n:translate="">State</th>
132    </tr>
133    </thead>
134    <tbody>
135      <tr tal:repeat="cl context/values">
136         <td>
137          <input type="checkbox"
138                 name="val_id"
139                 tal:attributes="value cl/__name__"
140         tal:condition="python: not view.unremovable(cl)" />
141        </td>
142        <td> <a tal:attributes="href cl/__name__">
143        <span tal:content="cl/p_id">PID</span></a></td>
144        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
145        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
146      <td tal:content ="cl/category">CATEGORY</td>
147      <td tal:content ="cl/display_item">ITEM</td>
148      <td tal:content ="cl/p_state_title">STATE</td>
149      </tr>
150    </tbody>
151  </table>
152
153  <div tal:condition="view/availableActions">
154    <span tal:repeat="action view/actions"
155          tal:omit-tag="">
156      <input tal:condition="python:action.label in view.display_actions[1]"
157             tal:replace="structure action/render"/>
158    </span>
159  </div>
160</form>
Note: See TracBrowser for help on using the repository browser.