Changeset 163 for waeup_product
- Timestamp:
- 8 Nov 2005, 18:20:26 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_student
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/book_accommodation.py
r124 r163 36 36 halls = getattr(context,'accommodation').contentValues() 37 37 beds = [] 38 student = context. PERSONAL.getContent()38 student = context.getContent() 39 39 sf = context.getContent() 40 40 for hall in halls: … … 59 59 bal.append(('%s:%d' % (pm.getAuthenticatedMember(),ba))) 60 60 dict['beds_assigned_list'] = bal 61 h.edit(mapping = dict) 62 ds.set('accommodation', "Bed # %(beds_assigned)s in %(heading)s" % dict) 63 sf.edit(mapping = ds) 64 #psm = "Your not admitted" 61 65 psm = "h:%(heading)s free:%(nr_of_free)s %(beds_assigned)s" % dict 62 sf.edit(mapping = ds)63 h.edit(mapping = dict)64 #psm = "Your not admitted"65 66 return context.booked_accommodation(v=dict) -
waeup_product/trunk/skins/waeup_student/register_study_level.py
r160 r163 17 17 18 18 res,psm,ds = lt.renderLayout(layout_id= 'study_level', 19 schema_id= ' metadata',19 schema_id= 'study_level', 20 20 context=context, 21 21 mapping=validate and REQUEST, 22 22 ob={}, 23 23 layout_mode='create', 24 create_action = ' add_course_ticket',24 create_action = 'register_study_level', 25 25 ) 26 26 if True or psm == 'invalid':
Note: See TracChangeset for help on using the changeset viewer.