Changeset 649 for WAeUP_SRP/trunk/skins
- Timestamp:
- 11 Oct 2006, 06:24:39 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py
r637 r649 24 24 if context.isManager(): 25 25 if context.portal_type == 'AccoFolder': 26 return context.accommodation.acco mmodation_view()26 return context.accommodation.acco_folder_view() 27 27 elif context.portal_type == 'AccoHall': 28 28 return context.acco_hall_view() -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_view.pt
r637 r649 1 <metal:html tal:define="info context/getAcco HallsInfo;1 <metal:html tal:define="info context/getAccoFolderInfo; 2 2 is_manager info/is_manager|nothing; 3 3 beds_generated options/beds_generated|nothing" -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r632 r649 1 <metal:html tal:define="info context/get HallInfo;1 <metal:html tal:define="info context/getAccoHallInfo; 2 2 is_manager info/is_manager|nothing;" 3 3 > -
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r543 r649 49 49 % (context.absolute_url(),s_id,pin.split('-')[2],pin)) 50 50 51 ## jamb_id = ds.get('jamb_reg_no')52 ## student = context.getContent().getStudentByRegNo(jamb_id)53 ## if student is None:54 ## psm = "JAMB record %s not accessible." % (jamb_id)55 ## return context.application_pin_form(rendered = res,56 ## psm = psm,57 ## #psm = "%s, %s" % (psm,ds),58 ## ds = ds,59 ## )60 ##if context.portal_workflow.getInfoFor(student,'review_state',None) == "created":61 ## #student.invokeFactory('StudentClearance','clearance')62 ##da = {}63 ##pin = str(ds.get('app_ac_pin'))64 ##da['app_ac_pin'] = pin65 ##da['app_ac_date'] = current66 ##apdoc.edit(mapping = da)67 68 69 # now display the passport form with jamb-data readonly70 ##return context.REQUEST.RESPONSE.redirect("%s/application_form" % (student.application.absolute_url()))71 ##return student.application_form()72 73 51 return 74 52
Note: See TracChangeset for help on using the changeset viewer.