source: WAeUP_SRP/trunk/skins/waeup_student/home_student.pt @ 566

Last change on this file since 566 was 535, checked in by joachim, 18 years ago

student apply admission should work now
the default_view for campus is now home_index.py
for students and student student_index.py
these script redirect to the appropriate PT

File size: 2.5 KB
RevLine 
[535]1<metal:html tal:define="info context/getStudentInfo">
[509]2
[535]3  <metal:body use-macro="here/main_template/macros/master">
[509]4
[535]5    <metal:main fill-slot="main">
6      <span tal:condition="isAnon">
7        <h2>Welcome to the     
8          <br />Student Registration Portal of the University of Benin, Nigeria</h2>
9        <br />
10        <p>This is the frontpage of Uniben's Student Registration Portal (SRP) which is part of the West African e-University Project.
11          For further information see
12          <a href="" tal:attributes="href string:http://waeup.org">waeup.org</a>.</p>
13        <p><strong>Fresh Students</strong>, who register for the first time, proceed to the respective application
14          entrance page (UME, DE or Local Programmes). Later they can login to check their admission status and to
15        proceed with the admission and clearance process.</p>
16        <p><strong>Returning Students</strong> can login to check the course results of the previous session,
17        to register courses for the current session, to pay their school fees and to book accommodation.</p>
18        <p>This site is best seen in Firefox browser.</p>
19      </span>
20      <span tal:condition="python:not isAnon and info"
21            tal:define="review_state info/review_state">
22        <h3 tal:content="info/review_state|nothing"></h3>
23        <span tal:omit-tag="" tal:condition="python:review_state == 'admission_applied'"
24              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
25              layout_mode='view',
26              layout_id='student_application_fe')"
27              />
28        <span tal:omit-tag="" tal:condition="python: review_state == 'application_pin_entered'"
29              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
30              layout_mode='edit',
31              layout_id='student_application_fe')"
32              />
33      </span> 
34      <span tal:condition="python:not isAnon and not info">
35        <table tal:define="students python: context.objectValues()">
36          <tr tal:repeat="student students">
37            <span tal:omit-tag="" tal:define="info python: context.getStudentInfo(student)">
38            <td><span tal:replace="python: info['per_doc'].lastname" /></td>   
39            <td><span tal:replace="python: info['app_doc'].jamb_reg_no" /></td>   
40            <td><span tal:replace="info/review_state" /></td>   
41            </span>
42          </tr>
43        </table>
44      </span>
45    </metal:main>
46  </metal:body>
[509]47</metal:html>
Note: See TracBrowser for help on using the repository browser.