- Timestamp:
- 15 Jan 2007, 11:05:26 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt
r1296 r1299 5 5 <metal:block use-macro="here/error_not_found/macros/not_found" /> 6 6 </span> 7 <span tal:condition="info" 8 tal:define="review_state info/review_state"> 9 7 <span tal:condition="info"> 10 8 <div style="text-align: right"> 11 9 <a href="" target="slip" tal:attributes="href string:accommodation_slip" -
WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py
r1256 r1299 39 39 logger.info('"%s","not found in students_catalog"') 40 40 return None 41 41 42 42 ekehuan_certificates = ('BARTAPG', 43 43 'BARTAPM', … … 84 84 acco_id = 'accommodation_2006' 85 85 acco = getattr(student,acco_id,None) 86 87 if acco == None: 88 logger.info('"%s","tried to access non-existing acco object"') 89 return None 90 86 91 info['acco'] = acco 87 92 info['acco_id'] = acco_id
Note: See TracChangeset for help on using the changeset viewer.