Changeset 797 for WAeUP_SRP/trunk


Ignore:
Timestamp:
9 Nov 2006, 06:41:08 (18 years ago)
Author:
Henrik Bettermann
Message:

2nd batch of repairs

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/admission_accept_form.pt

    r789 r797  
    22  <metal:body use-macro="here/main_template/macros/master">
    33    <metal:main fill-slot="main">
    4       <span tal:condition="not: info">
    5         <metal:block use-macro="here/error_not_found/macros/not_found" />
    6       </span>
    7       <span tal:condition="info"
    8             tal:define="review_state info/review_state">
    9            
    10         <div style="text-align: right"
    11              tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)">
    12         <a href="" target="slip" tal:attributes="href string:application_slip"
    13             onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
    14             <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
    15             Application Slip
    16         </a>
    17        
    18         </div>
     4    <span tal:condition="not: info">
     5      <metal:block use-macro="here/error_not_found/macros/not_found" />
     6    </span>
     7    <span tal:condition="info"
     8          tal:define="review_state info/review_state">
     9         
    1910
    20         <h3>My Application Record</h3>
    21         <br />
    22         <span tal:omit-tag=""
    23               tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
    24               layout_mode='view',
    25               layout_id='student_application_fe')"
    26               />
    27       </span>
    28         <h3>My Study Course</h3>
     11      <h2>You are admitted to the University of Benin!</h2>
     12
     13      <h3>Your Study Course</h3>
    2914      <br />
    3015      <table tal:define="sc python: info['course_doc']">
    3116        <tr>
    32           <td tal:content="sc/title" /> <td>ID: <span tal:content="sc/study_course" /></td>
     17          <td>Certificate:</td>
     18          <td><span tal:content="sc/title" /></td>
    3319        </tr>
    3420        <tr>
    35           <td tal:content="sc/title" /> <td tal:content="sc/study_course" />
     21          <td>Certificate ID:</td>
     22          <td tal:content="sc/study_course" />
    3623        </tr>
    37       </table>
     24        <tr>
     25          <td>Faculty ID:</td>
     26          <td tal:content="sc/faculty" />
     27        </tr>
     28        <tr>
     29          <td>Department ID:</td>
     30          <td><span tal:content="sc/department" /></td>
     31        </tr>       
     32      </table>       
     33
     34      <h3>Your Application Record</h3>
     35      <br />
     36      <span tal:omit-tag=""
     37            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
     38            layout_mode='view',
     39            layout_id='student_application_fe')"
     40            />
     41     
     42      <h3>Your PUME Results</h3>
     43      <br />
     44      <span tal:omit-tag=""
     45            tal:condition="python:info['pume'] is not None"
     46            tal:content="structure python: info['pume_doc'].render(proxy=info['pume_doc'],
     47            layout_mode='view',
     48            layout_id='student_pume_fe')"
     49            />
    3850     
    3951      <form action="." method="post" class="group"
     
    4456            <td align="left" valign="top" rowspan="3"></td>
    4557            <td align="left" valign="top">
    46                 <input type="submit" name="defer_admission:method" value="defer"
     58                <input type="submit" name="defer_admission:method" value="Reject/Defer Admission"
    4759                       class="destructive"
    4860                       tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    49                        (cpsmcat('confirm that you defer'), )"
     61                       (cpsmcat('Confirm that you want to reject/defer your admision.'), )"
    5062                       />
    5163                <input type="submit" name="application_edit:method"
    52                        class="context" value="upload Passport"
     64                       class="context" value="Continue"
    5365                       />
    5466            </td>
    5567          </tr>
    5668        </table>
    57       </form>
     69       </form>
     70    </span>
    5871    </metal:main>
    5972  </metal:body>
  • WAeUP_SRP/trunk/skins/waeup_student/application_pin_form.pt

    r492 r797  
    2020          <ul>
    2121            <li>Buy an Application Scratch Card.</li>
    22             <li>Enter your JAMB registration number and the Application PIN above.</li>
     22            <li>Enter your JAMB Registration Number and the Application PIN above.</li>
    2323            <li>Upload your passport picture.</li>
    2424            <li>Apply for admission.</li>
  • WAeUP_SRP/trunk/skins/waeup_student/application_view.pt

    r770 r797  
    99           
    1010        <div style="text-align: right"
    11              tal:condition="python:review_state in ('admission_applied', 'clearance_pin_entered',)">
     11             tal:condition="python:review_state in ('admission_applied','clearance_pin_entered','admitted',)">
    1212        <a href="" target="slip" tal:attributes="href string:application_slip"
    1313            onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
  • WAeUP_SRP/trunk/skins/waeup_student/check_admission.py

    r788 r797  
    4747    student = getattr(context.campus.students, s_id)
    4848    review_state = wf.getInfoFor(student,'review_state',None)
    49     if review_state == "finally_rejected":
    50         url = "%s/campus/students/%s/pume/finally_rejected_view" % (context.portal_url(),s_id)
     49    if review_state == "admission_rejected":
     50        url = "%s/campus/students/%s/pume/admission_rejected_view" % (context.portal_url(),s_id)
    5151        return redirect(url)
    5252    pin = str(ds.get('app_ac_pin'))
  • WAeUP_SRP/trunk/skins/waeup_student/check_admission_pin_form.pt

    r785 r797  
    1414    </metal:block>
    1515      <metal:block fill-slot="main">
    16         <h3>Check if your admitted! </h3>
     16        <h3>Check Your Admission Status! </h3>
    1717        <br />
    1818        <div tal:replace="structure rendered_main" />
    1919          <p>Instructions :</p>
    2020          <ul>
    21             <li>Buy an Admission Scratch Card.</li>
    22             <li>Enter your JAMB registration number and the Admission PIN above.</li>
     21            <li>Buy an Application Scratch Card.</li>
     22            <li>Enter your JAMB Registration Number, the Admission PIN and your Email Address above.</li>
    2323          </ul>
    2424      </metal:block>
  • WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt

    r796 r797  
    5151
    5252  <span tal:condition="python:path('info/review_state')=='admitted'">
    53   <tr><td class="active">Admitted</td></tr>
     53  <tr>
     54    <td class="active">
     55    <a href="" tal:attributes="href string:${info/url}/admission_accept_form">
     56    Admitted
     57    </a>
     58    </td>
     59  </tr>
    5460  </span>
    5561  <span tal:condition="python:path('info/review_state')=='admission_rejected'">
  • WAeUP_SRP/trunk/skins/waeup_student/request_clearance.py

    r796 r797  
    2727                      button = "Start",
    2828                      )
     29
     30info = context.getStudentInfo()
     31app_doc = info['app_doc']
     32if app_doc.passport is None:
     33    return context.clearance_pin_form(rendered = res,
     34                                 psm = "You must upload your passport picture before you can start the registration process.",
     35                                 #psm = "%s, %s" % (psm,ds),
     36                                 firstlayout = True,
     37                                 lastlayout = True,
     38                                 ds = ds,
     39                                 )
     40
    2941if psm == 'invalid':
    3042    return context.clearance_pin_form(rendered = res,
Note: See TracChangeset for help on using the changeset viewer.