Changeset 1164 for WAeUP_SRP/trunk
- Timestamp:
- 31 Dec 2006, 10:32:05 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/searchAcademics.py
r911 r1164 92 92 row['is_editable'] = mtool.checkPermission('Modify portal content', ro) 93 93 objects.append(row) 94 #objects.append(context.getStudentInfo(item))95 94 return context.academics_search_view(rendered = rend, 96 95 psm = "%d matching objects found" % len(objects), -
WAeUP_SRP/trunk/skins/waeup_accommodation/change_bed.py
r1135 r1164 1 ## Script (Python) " getStudentInfo"1 ## Script (Python) "change_bed" 2 2 ##bind container=container 3 3 ##bind context=context … … 59 59 logger.info('"%s", "new bed allocation failed","%s"' % (student_id,code)) 60 60 redirect("%s/%s/%s" % (students.absolute_url(),student,info['acco_id'])) 61 61 62 62 info = {} 63 63 records = [r for r in beds() if r.student] -
WAeUP_SRP/trunk/skins/waeup_custom/cpsdocument_edit.py
r898 r1164 34 34 # Validate the document and write it if it's valid 35 35 # (We don't call getEditableContent here, validate does it when needed.) 36 #info = context.getStudentInfo()37 36 doc = context.getContent() 38 37 is_valid, ds = doc.validate(request=REQUEST, proxy=context, cluster=cluster, -
WAeUP_SRP/trunk/skins/waeup_student/accommodation_pin_edit_form.pt
r1137 r1164 34 34 </ul> 35 35 <ul tal:condition="python: mode == 'edit'" 36 tal:define="info python: context.get StudentInfo()">36 tal:define="info python: context.getAccommodationInfo()"> 37 37 <li>Buy a Hostel Maintainance Scratch Card 38 38 (Code: <span tal:replace="python: info['acco_doc'].acco_maint_code" />) for -
WAeUP_SRP/trunk/skins/waeup_student/getMaintenancePrefix.py
r845 r1164 12 12 return the Prefix for hostel maintenance scratchcards 13 13 """ 14 s_info = context.get StudentInfo()14 s_info = context.getAccommodationInfo() 15 15 if s_info.has_key('acco_doc'): 16 16 info = context.waeup_tool.getAccommodationInfo(s_info['acco_doc'].bed)
Note: See TracChangeset for help on using the changeset viewer.