Changeset 979 for WAeUP_SRP/trunk


Ignore:
Timestamp:
1 Dec 2006, 18:14:48 (18 years ago)
Author:
Henrik Bettermann
Message:

more changes to enable admission checking

Location:
WAeUP_SRP/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_application_fe.xml

    r975 r979  
    8080  <property name="readonly_layout_modes">
    8181  </property>
    82   <property name="hidden_layout_modes"></property>
     82  <property name="hidden_layout_modes">
     83    <element value="create"/>
     84  </property>
    8385  <property name="hidden_readonly_layout_modes"/>
    8486 </widget>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_scbf_wf/definition.xml

    r950 r979  
    1010  <exit-transition transition_id="cut_copy_paste"/>
    1111  <permission-map name="Delete objects" acquired="False">
     12   <permission-role>Manager</permission-role>
    1213  </permission-map>
    1314  <permission-map name="View" acquired="False">
     
    2223             new_state="static" trigger="USER"
    2324             before_script="" after_script="">
    24  
     25
    2526  <guard>
    2627   <guard-role>Manager</guard-role>
     
    3334             title="Create content" new_state=""
    3435             trigger="USER" before_script="" after_script="">
    35  
     36
    3637  <guard>
    3738   <guard-role>Manager</guard-role>
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r944 r979  
    6060                da = {}
    6161                pin = request.get('pin')
    62                 email = request.get('email')
     62##                email = request.get('email')
    6363                app_doc = info['app_doc']
    6464                da['app_ac_pin'] = pin
    65                 da['app_email'] = email
     65##                da['app_email'] = email
    6666                da['app_ac_date'] = current
    6767                app_doc.edit(mapping = da)
  • WAeUP_SRP/trunk/skins/waeup_student/admission_form.pt

    r975 r979  
    5555        </table>       
    5656       
     57        <br />
    5758       
    5859        <strong>Clearance commences on resumption and ends exactly two(2)weeks after resumption date.
    59               Any breach of this directive,will result in forfeiture of the admission offer.</strong>     
     60              <br />Any breach of this directive,will result in forfeiture of the admission offer.</strong><br /><br />     
    6061 
    6162     
  • WAeUP_SRP/trunk/skins/waeup_student/check_admission.py

    r892 r979  
    4444elif psm == 'valid':
    4545    s_id = ds.get('s_id')
    46     email = ds.get('app_email')
     46## 
     47##    email = ds.get('app_email')
    4748    student = getattr(context.campus.students, s_id)
    4849    review_state = wf.getInfoFor(student,'review_state',None)
     
    5556    args['__ac_password'] = pin.split('-')[2]
    5657    args['pin'] = pin
    57     args['email'] = email
     58##    args['email'] = email
    5859    url = "%s/logged_in?%s" % (context.absolute_url(),urlencode(args))
    5960    return redirect(url)
  • WAeUP_SRP/trunk/skins/waeup_student/check_admission_pin_form.pt

    r805 r979  
    2020          <ul>
    2121            <li>Buy an Application Scratch Card.</li>
    22             <li>Enter your JAMB Registration Number, the Admission PIN and your Email Address above.</li>
     22            <li>Enter your JAMB Registration Number and the Admission PIN.</li>
    2323          </ul>
    2424      </metal:block>
Note: See TracChangeset for help on using the changeset viewer.