Changeset 1078 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
18 Dec 2006, 19:56:52 (18 years ago)
Author:
joachim
Message:

more files from custom

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

Legend:

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

    r942 r1078  
    2929<!--  buttons -->
    3030<metal:block define-macro="buttons">
     31  <tal:block condition="is_so">
    3132  <!-- SectionOfficer -->
    32   <tal:block condition="context/isSectionOfficer">
    33  
    34      <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
    35         <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
    36 
    37         I hereby acknowledge by ticking this check box
    38         that, if it is discovered at any time that I do not possess any of the
    39         qualifications which I claim to have obtained, I will be expelled from the
    40         University and shall not be re-admitted for the same or any other programme,
    41         even if I have upgraded my previous qualifications or possess additional
    42         qualifications.   
     33    <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
     34      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
     35      I hereby acknowledge by ticking this check box
     36      that, if it is discovered at any time that I do not possess any of the
     37      qualifications which I claim to have obtained, I will be expelled from the
     38      University and shall not be re-admitted for the same or any other programme,
     39      even if I have upgraded my previous qualifications or possess additional
     40      qualifications.   
    4341    </div>
    4442    <br />
    45  
    4643    <input type="submit" class="standalone"
    4744           name="cpsdocument_edit_button"
     
    6461           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
    6562  </tal:block>
     63  <tal:block condition="is_co">
    6664  <!--  ClearanceOfficer -->
    67   <tal:block condition="is_co">
    6865    <input type="submit" class="standalone"
    6966           name="clear_and_validate_button"
     
    7774           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
    7875  </tal:block>
     76  <tal:block condition="is_student">
    7977  <!--  Student -->
    80   <tal:block condition="is_student">
    81  
    8278     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
    83         <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
    84 
    85         I hereby acknowledge by ticking this check box
    86         that, if it is discovered at any time that I do not possess any of the
    87         qualifications which I claim to have obtained, I will be expelled from the
    88         University and shall not be re-admitted for the same or any other programme,
    89         even if I have upgraded my previous qualifications or possess additional
    90         qualifications.   
     79      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
     80      I hereby acknowledge by ticking this check box
     81      that, if it is discovered at any time that I do not possess any of the
     82      qualifications which I claim to have obtained, I will be expelled from the
     83      University and shall not be re-admitted for the same or any other programme,
     84      even if I have upgraded my previous qualifications or possess additional
     85      qualifications.   
    9186    </div>
    9287    <br />
    93  
    94  
    9588    <input type="submit" class="standalone"
    9689           name="cpsdocument_edit_button"
  • WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py

    r1071 r1078  
    2121member_id = str(member)
    2222path_info = request.get('PATH_INFO').split('/')
    23 
     23##from Products.zdb import set_trace
     24##set_trace()
    2425if mtool.isAnonymousUser():
    2526    return None
    2627info = {}
    27 #from Products.zdb import set_trace
    28 #set_trace()
    2928requested_id = context.getStudentId()
    3029if member_id != requested_id:
    3130    logger.info('"%s", "tried to access", "%s"' % (member_id,requested_id))
    3231    student_id = member_id
    33     mtool.assertViewable(context)
    3432student_id = member_id
    3533
  • WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py

    r1073 r1078  
    1313"""
    1414import logging
    15 logger = logging.getLogger('getApplicationInfo')
     15logger = logging.getLogger('getClearanceInfo')
    1616
    1717request = context.REQUEST
Note: See TracChangeset for help on using the changeset viewer.