Ignore:
Timestamp:
13 Sep 2006, 06:47:55 (19 years ago)
Author:
joachim
Message:

pin checking and login for JAMB students

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py

    r502 r511  
    4545elif psm == 'valid':
    4646    s_id = ds.get('s_id')
     47    pin = str(ds.get('app_ac_pin'))
    4748    return context.REQUEST.RESPONSE.redirect("%s/logged_in?__ac_name=%s&__ac_password=%s&pin=%s"
    48           % (context.absolute_url(),s_id,'uNsEt',ds.get('app_ac_pin')))
     49          % (context.absolute_url(),s_id,pin.split('-')[2],pin))
    4950   
    5051##    jamb_id = ds.get('jamb_reg_no')
  • WAeUP_SRP/trunk/skins/waeup_student/portlet_student_workflow_display.pt

    r509 r511  
    1313<table class="registration">
    1414 
     15  <span tal:condition="python:1">
     16    <tr>
     17      <td class="active"><a href="apply"
     18                            tal:attributes="href string:${context/absolute_url}/students/apply_admission">
     19        Apply for PUME</a></td>
     20    </tr>
     21  </span>
    1522  <span tal:condition="python:path('info/review_state')=='application_pin_entered'">
    1623  <tr><td class="active">Admission started</td></tr>
Note: See TracChangeset for help on using the changeset viewer.