Ignore:
Timestamp:
21 Nov 2006, 10:49:45 (18 years ago)
Author:
Henrik Bettermann
Message:

is_* keys removed from get* functions

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  
    11<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;"
    44            >
    55  <metal:body use-macro="here/waeup_content_master/macros/master">
  • WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoFolderInfo.py

    r911 r913  
    1919
    2020info = {}
    21 info['is_sm'] = context.isSectionManager()
    22 info['is_so'] = context.isSectionOfficer()
    23 info['is_student'] = context.isStudent()
    2421info['action'] = "%s" % context.absolute_url()
    2522info['choosen_ids'] = request.get('ids',[])
  • WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoHallInfo.py

    r911 r913  
    2121#dep_id = request.get('PATH_TRANSLATED').split('/')[-2]
    2222dep_id = context.aq_parent.getId()
    23 info['is_sm'] = context.isSectionManager()
    24 info['is_so'] = context.isSectionOfficer()
    25 info['is_student'] = context.isStudent()
    2623info['action'] = "%s" % context.absolute_url()
    2724info['choosen_ids'] = request.get('ids',[])
Note: See TracChangeset for help on using the changeset viewer.