Changeset 911 for WAeUP_SRP/trunk/skins/waeup_accommodation
- Timestamp:
- 20 Nov 2006, 15:11:29 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_accommodation
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_view.pt
r805 r911 1 1 <metal:html tal:define="info context/getAccoFolderInfo; 2 is_ manager info/is_manager|nothing;2 is_so info/is_so|nothing; 3 3 beds_generated options/beds_generated|nothing" 4 4 > … … 48 48 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 49 49 <td align="left" valign="middle" style="width: 5px;" 50 tal:condition="is_ manager">50 tal:condition="is_so"> 51 51 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 52 tal:condition="is_ manager"52 tal:condition="is_so" 53 53 tal:define="id row/id" 54 54 tal:attributes="value id; … … 78 78 <td align="left" valign="top" rowspan="3"></td> 79 79 <td align="left" valign="top"> 80 <span tal:condition="is_ manager">80 <span tal:condition="is_so"> 81 81 <input type="button" value="button_select_all" class="context" 82 82 onclick="someJavaScriptFunctionThatWillBeReplaced" -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_hall_view.pt
r805 r911 1 <metal:html tal:define="info context/getAccoHallInfo; 2 is_manager info/is_manager|nothing;" 1 <metal:html tal:define="info context/getAccoHallInfo;" 3 2 > 4 3 <metal:body use-macro="here/waeup_content_master/macros/master"> -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoFolderInfo.py
r903 r911 19 19 20 20 info = {} 21 info['is_manager'] = context.isSectionManager() 21 info['is_sm'] = context.isSectionManager() 22 info['is_so'] = context.isSectionOfficer() 22 23 info['is_student'] = context.isStudent() 23 24 info['action'] = "%s" % context.absolute_url() -
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoHallInfo.py
r903 r911 21 21 #dep_id = request.get('PATH_TRANSLATED').split('/')[-2] 22 22 dep_id = context.aq_parent.getId() 23 info['is_manager'] = context.isSectionManager() 23 info['is_sm'] = context.isSectionManager() 24 info['is_so'] = context.isSectionOfficer() 24 25 info['is_student'] = context.isStudent() 25 26 info['action'] = "%s" % context.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.