Ignore:
Timestamp:
12 Nov 2006, 07:27:27 (18 years ago)
Author:
Henrik Bettermann
Message:

accommodation_pin_form renamed
student action 'Book Hostel' moved to student_navigation 'My Accommodation'
StudentAccommodation? object always invisible for student in in student_view

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
1 deleted
2 edited

Legend:

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

    r845 r849  
    124124        row['s_edit_link'] = "%s/%s" % (soo.absolute_url(),se_link)
    125125    row['review_state'] = so.review_state
    126     row['display'] = so.review_state in ('opened','closed','public','bed_reserved',) #or\
    127                      #so.portal_type in ("StudentAccommodation","StudentStudyCourse")
     126    row['display'] = so.review_state in ('opened','closed',)
    128127    items.append(row)
    129128info['items'] = items
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r835 r849  
    4747                      )
    4848if psm == 'invalid':
    49     return context.accommodation_pin_form(rendered = res,
     49    return context.accommodation_pin_edit_form(rendered = res,
    5050                                 psm = "Please correct your input.",
    5151                                 #psm = "%s, %s" % (psm,ds),
     
    5454                                 )
    5555elif psm == '':
    56     return context.accommodation_pin_form(rendered = res,
     56    return context.accommodation_pin_edit_form(rendered = res,
    5757                                 psm = None,
    5858                                 mode = mode,
     
    6666        code,bed = pa.searchAndReserveBed(s_id,"%s_%s" % (info['sex'],ds.get('student_status')))
    6767        if code < 0:
    68             return context.accommodation_pin_form(rendered = res,
     68            return context.accommodation_pin__edit_form(rendered = res,
    6969                                 psm = bed,
    7070                                 mode = mode,
Note: See TracChangeset for help on using the changeset viewer.