Changeset 1030 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Dec 2006, 18:12:23 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
r1014 r1030 1 1 <metal:block define-macro="clearance_edit_form"> 2 <metal:block tal:define="info context/getStudentInfo"> 3 <span tal:condition="not: info"> 4 <metal:block use-macro="here/error_not_found/macros/not_found" /> 5 </span> 6 <metal:block tal:condition="info"> 2 7 <tal:block define=" 3 info context/getStudentInfo;4 8 is_so context/isSectionOfficer; 5 9 is_staff context/isStaff; … … 46 50 </tal:block> 47 51 </metal:block> 52 </metal:block> 53 </metal:block> -
WAeUP_SRP/trunk/skins/waeup_student/search_students_form.pt
r1006 r1030 35 35 36 36 <span tal:replace="structure rendered" /> 37 <tal:block tal:condition="python: batch_info and batch_info['nb_pages'] > 1">37 <tal:block tal:condition="python: items and batch_info and batch_info['nb_pages'] > 1"> 38 38 <div class="batchLayout"> 39 39 <span i18n:translate=""> -
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1027 r1030 23 23 app_doc = info['app_doc'] 24 24 review_state = info['review_state'] 25 25 session = REQUEST.SESSION 26 26 res,psm,ds = lt.renderLayout(layout_id='student_clearance', 27 27 schema_id= 'student_clearance', … … 41 41 ) 42 42 error = False 43 if app_doc.passport is None: 43 if session.get("clicked",None): 44 psm = 'Please wait a moment, until "Clearance started" turns green, then click on the green link' 45 error = True 46 elif app_doc.passport is None: 44 47 psm = "You must upload your passport picture before you can start the registration process!" 45 48 error = True … … 57 60 ds = ds, 58 61 ) 62 session.set("clicked","clicked") 59 63 pin = str(ds.get('clr_ac_pin')) 60 64 logger.info('"%s", "entered clearance pin", "%s"' % (info['id'],pin)) -
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r937 r1030 24 24 25 25 if "ClearanceOfficers" in member.getGroups(): 26 return redirect("%s/search_students" % students_url) 26 return context.waeup_tool.searchStudents() 27 #return redirect("%s/search_students" % students_url) 27 28 if context.isSectionOfficer(): 28 29 return redirect("%s/search_students" % students_url)
Note: See TracChangeset for help on using the changeset viewer.