Changeset 1223 for WAeUP_SRP


Ignore:
Timestamp:
7 Jan 2007, 11:38:42 (18 years ago)
Author:
Henrik Bettermann
Message:

second draft (works only if all sub-objects are available)

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

Legend:

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

    r1221 r1223  
    4444info['app'] = student.application
    4545info['per_doc'] = student.personal.getContent()
    46 info['app_doc'] = student.personal.getContent()
     46info['app_doc'] = student.application.getContent()
     47info['clear_doc'] = student.clearance.getContent()
    4748#info['password'] = member.getPassword()
     49
     50msg="""
     51Fullname: %s
     52Student Id: %s
     53Matriculation Number: %s
     54JAMB Registration Number: %s
     55Email address in application data: %s
     56Email address in personal data: %s
     57Date of Birth: %s
     58Password:
     59
     60"""
     61
     62info['message'] = msg % (
     63    student.Title(),
     64    student_id,
     65    info['clear_doc'].matric_no,
     66    info['app_doc'].jamb_reg_no,
     67    info['app_doc'].app_email,
     68    info['per_doc'].email,
     69    info['clear_doc'].birthday,
     70    )
     71
    4872return info
  • WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt

    r1220 r1223  
    99   
    1010      <span tal:condition="info">
    11       <h3>Contact Student</h3>
     11      <h3>Mail Authentification Data</h3>
    1212      <br />
    1313      <span tal:condition="not:info/per_doc/email">
     
    4343        <tr>
    4444          <td>
    45              <strong>Type of Rejection: </strong>
     45             <strong>Subject Line: </strong>
    4646          </td>
    4747          <td>
    4848              <select name="probtype" class="boxgreen" id="probtype">
    49                 <option>Your SRP Member Record</option>
     49                <option>Your SRP Authentification Data</option>
     50                <option>Your Password</option>
     51                <option>Your Application PIN</option>
     52                <option>Your Student Id</option>
    5053              </select>       
    5154          </td>
     
    5659          </td>
    5760          <td>
    58              <textarea name="commt" rows="10" cols="60" id="commt" tal:content="info/student/Title">
     61             <textarea name="commt" rows="10" cols="60" id="commt" tal:content="info/message">
    5962             </textarea>
    6063          </td>
Note: See TracChangeset for help on using the changeset viewer.