Changeset 1320


Ignore:
Timestamp:
18 Jan 2007, 23:46:59 (18 years ago)
Author:
Henrik Bettermann
Message:

accommodation_view not possible if not eligible
(after deletion of results)

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py

    r1302 r1320  
    8181info['booking_allowed'] = booking_allowed
    8282if not booking_allowed:
     83    info['acco'] = None
    8384    return info
    8485acco_id = 'accommodation_2006'
     
    132133info['student_status'] = student_status
    133134return info
     135
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py

    r1258 r1320  
    8686        row['s_edit_link'] = "%s/%s" % (url,se_link)
    8787    row['display'] = review_state in ('opened','closed','bed_reserved','maintenance_fee_paid',)\
    88                     and so.portal_type not in  ('StudentPume','PaymentsFolder',) or\
     88                    and so.portal_type not in  ('StudentPume','StudentAccommodation','PaymentsFolder',) or\
    8989                    so.portal_type == 'StudentStudyCourse'
    9090    items.append(row)
Note: See TracChangeset for help on using the changeset viewer.