Changeset 913 for WAeUP_SRP/trunk/skins/waeup_accommodation
- Timestamp:
- 21 Nov 2006, 10:49:45 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_accommodation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_view.pt
r911 r913 1 1 <metal:html tal:define="info context/getAccoFolderInfo; 2 is_so info/is_so|nothing;3 beds_generated options/beds_generated|nothing "2 is_so context/isSectionOfficer; 3 beds_generated options/beds_generated|nothing;" 4 4 > 5 5 <metal:body use-macro="here/waeup_content_master/macros/master"> -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoFolderInfo.py
r911 r913 19 19 20 20 info = {} 21 info['is_sm'] = context.isSectionManager()22 info['is_so'] = context.isSectionOfficer()23 info['is_student'] = context.isStudent()24 21 info['action'] = "%s" % context.absolute_url() 25 22 info['choosen_ids'] = request.get('ids',[]) -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoHallInfo.py
r911 r913 21 21 #dep_id = request.get('PATH_TRANSLATED').split('/')[-2] 22 22 dep_id = context.aq_parent.getId() 23 info['is_sm'] = context.isSectionManager()24 info['is_so'] = context.isSectionOfficer()25 info['is_student'] = context.isStudent()26 23 info['action'] = "%s" % context.absolute_url() 27 24 info['choosen_ids'] = request.get('ids',[])
Note: See TracChangeset for help on using the changeset viewer.