source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/checktranscriptstatus.pt @ 16153

Last change on this file since 16153 was 16122, checked in by Henrik Bettermann, 4 years ago

Fix condition.

File size: 2.8 KB
Line 
1<p tal:condition="not:view/button" i18n:translate="checktranscript">
2    Check your transcript status in Kofa first. Depending on the existence
3    and status of your student record in Kofa you will be redirected
4    to the appropriate application form.
5</p>
6
7<form method="post" enctype="multipart/form-data"
8    tal:condition="not:view/button" i18n:domain="waeup.kofa">
9<br />
10  <table class="form-table">
11    <tr>
12      <td i18n:translate="" class="fieldname">
13        Student Id, Registration Number or <br />Matric Number:
14      </td>
15      <td>
16        <input class="textType half" type="text" name="unique_id" />
17      </td>
18    </tr>
19    <tr>
20      <td i18n:translate="" class="fieldname">
21        Email Address:
22      </td>
23      <td>
24        <input class="textType half" type="text" name="email" />
25      </td>
26    </tr>
27  </table>
28  <div tal:content="structure view/captcha_code"></div>
29  <br />
30  <input class="btn btn-primary" type="submit" name="SUBMIT"
31      tal:attributes="value view/buttonname" />
32</form>
33
34<div tal:condition="view/button" i18n:domain="waeup.kofa">
35  <br />
36  <tal:noresults condition="not: view/results">
37    <br />
38    <p i18n:translate="check_transcript_1">
39      No student record was found in Kofa. Your record has to be created.
40      You can apply for your transcript
41      <a  i18n:name="no_result_appl_url" tal:attributes="href view/appl_url1">here
42      </a>.
43    </p>
44  </tal:noresults>
45
46  <tal:results condition="view/results">
47    <br />
48    <p i18n:translate="check_transcript_2"
49       tal:condition="python:not view.results[0][0][2]">
50      Login with your Student id and password
51      <a i18n:name="login_url"
52         tal:attributes="href python:view.results[0][1][1] + 'login'">
53        here
54      </a>
55      to check your student record status.
56      <tal:withemail tal:condition="python:view.results[0][0][0]">
57         Forgotten your password? Your email address matches the email
58         address stored in Kofa. Request a new password
59        <a i18n:name="changepw_url"
60           tal:attributes="href python:view.results[0][1][1] + 'changepw'">
61          here
62        </a>.
63      </tal:withemail>
64    </p>
65    <p i18n:translate="check_transcript_3"
66       tal:condition="python:not view.results[0][0][2]">
67      You can apply for your transcript
68      <a  i18n:name="result_appl_url" tal:attributes="href view/appl_url2">here
69      </a>.
70    </p>
71    <p i18n:translate="check_transcript_4"
72       tal:condition="python:view.results[0][0][2]">
73      Your student record exists and your transcript has already
74      been released and sent to the address provided.
75      If you want your transcript to be resent, maybe to another destination,
76      you can proceed and directly apply for transcript delivery
77      <a  i18n:name="result_appl_url" tal:attributes="href view/appl_url2">here
78      </a> again.
79    </p>
80  </tal:results>
81</div>
Note: See TracBrowser for help on using the repository browser.