Changeset 163


Ignore:
Timestamp:
8 Nov 2005, 18:20:26 (19 years ago)
Author:
joachim
Message:

=some modifications don't use yet

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  
    3636    halls = getattr(context,'accommodation').contentValues()
    3737    beds = []
    38     student = context.PERSONAL.getContent()
     38    student = context.getContent()
    3939    sf = context.getContent()
    4040    for hall in halls:
     
    5959    bal.append(('%s:%d' % (pm.getAuthenticatedMember(),ba)))
    6060    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"
    6165    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"
    6566    return context.booked_accommodation(v=dict)
  • waeup_product/trunk/skins/waeup_student/register_study_level.py

    r160 r163  
    1717
    1818res,psm,ds = lt.renderLayout(layout_id= 'study_level',
    19                       schema_id= 'metadata',
     19                      schema_id= 'study_level',
    2020                      context=context,
    2121                      mapping=validate and REQUEST,
    2222                      ob={},
    2323                      layout_mode='create',
    24                       create_action = 'add_course_ticket',
     24                      create_action = 'register_study_level',
    2525                      )
    2626if True or psm == 'invalid':
Note: See TracChangeset for help on using the changeset viewer.