Changeset 1078 for WAeUP_SRP/trunk
- Timestamp:
- 18 Dec 2006, 19:56:52 (18 years ago)
- 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 29 29 <!-- buttons --> 30 30 <metal:block define-macro="buttons"> 31 <tal:block condition="is_so"> 31 32 <!-- 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" /> 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" /> 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. 43 41 </div> 44 42 <br /> 45 46 43 <input type="submit" class="standalone" 47 44 name="cpsdocument_edit_button" … … 64 61 tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> 65 62 </tal:block> 63 <tal:block condition="is_co"> 66 64 <!-- ClearanceOfficer --> 67 <tal:block condition="is_co">68 65 <input type="submit" class="standalone" 69 66 name="clear_and_validate_button" … … 77 74 tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> 78 75 </tal:block> 76 <tal:block condition="is_student"> 79 77 <!-- Student --> 80 <tal:block condition="is_student">81 82 78 <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> 83 <input type="checkbox" value="True" name="acknowledge" /> 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" /> 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. 91 86 </div> 92 87 <br /> 93 94 95 88 <input type="submit" class="standalone" 96 89 name="cpsdocument_edit_button" -
WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py
r1071 r1078 21 21 member_id = str(member) 22 22 path_info = request.get('PATH_INFO').split('/') 23 23 ##from Products.zdb import set_trace 24 ##set_trace() 24 25 if mtool.isAnonymousUser(): 25 26 return None 26 27 info = {} 27 #from Products.zdb import set_trace28 #set_trace()29 28 requested_id = context.getStudentId() 30 29 if member_id != requested_id: 31 30 logger.info('"%s", "tried to access", "%s"' % (member_id,requested_id)) 32 31 student_id = member_id 33 mtool.assertViewable(context)34 32 student_id = member_id 35 33 -
WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py
r1073 r1078 13 13 """ 14 14 import logging 15 logger = logging.getLogger('get ApplicationInfo')15 logger = logging.getLogger('getClearanceInfo') 16 16 17 17 request = context.REQUEST
Note: See TracChangeset for help on using the changeset viewer.