Changeset 484


Ignore:
Timestamp:
6 Sep 2006, 08:52:36 (18 years ago)
Author:
Henrik Bettermann
Message:

pin layout cancelled

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

Legend:

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

    r483 r484  
    1 <tal:block define="rendered_pin options/renderes_pin
    2                    rendered_main options/rendered_main;
     1<tal:block define="rendered_main options/rendered_main;
    32                   portal_status_message options/psm;
    43                   data_storage options/ds;
     
    1615      <metal:block fill-slot="main">
    1716        <h1>Apply for the Post University Matriculation Examination! </h1>
    18         <div tal:replace="structure rendered_pin" />
    1917        <div tal:replace="structure rendered_main" />
    2018          <p>Instructions :</p>
  • WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py

    r482 r484  
    3030if psm == 'invalid':
    3131    return context.application_pin_form(rendered = res,
    32                                  psm = "Please correct your input",
     32                                 psm = "Please correct your input.",
    3333                                 #psm = "psm : #%s#" % (psm,),
    3434                                 firstlayout = True,
     
    5151
    5252    if len(search) < 1:
    53         psm = "No JAMB record %s" % (jamb_id)
     53        psm = "JAMB record %s not found." % (jamb_id)
    5454        return context.application_pin_form(rendered = res,
    5555                                 psm = psm,
     
    7676else:
    7777    dp['lastname'] = apdoc.jamb_lastname
    78 dp['sex'] = apdoc.jamb_sex == 'M'
     78dp['sex'] = apdoc.jamb_sex == 'F'
    7979dp['lga'] = "%s/%s" % (apdoc.jamb_state,apdoc.jamb_lga )
    8080student.personal.getContent().edit(mapping = dp)
Note: See TracChangeset for help on using the changeset viewer.