Changeset 2923 for WAeUP_SRP/base


Ignore:
Timestamp:
11 Dec 2007, 21:04:18 (17 years ago)
Author:
Henrik Bettermann
Message:

fix title for accommodation object

Location:
WAeUP_SRP/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Students.py

    r2920 r2923  
    596596        session_id = content.session
    597597        try:
    598             y = int(session_id[2:])
     598            y = int(session_id[-2:])
    599599        except:
    600600            return "Accommodation Data for Session %s" % session_id
  • WAeUP_SRP/base/skins/waeup_accommodation/getFormattedBed.py

    r2000 r2923  
    2323    hall_title = info['hall_title']
    2424else:
    25     hall_title = ""
     25    hall_title = '[%s]' % hall
    2626return " %s / Block %s / Room %s / Bed %s" % (hall_title,block,room,letter)
    2727
  • WAeUP_SRP/base/skins/waeup_epayment/upgradePayments.py

    r2918 r2923  
    3535response = request.RESPONSE
    3636setheader = request.RESPONSE.setHeader
    37 def rwrite(s):
    38     response.setHeader('Content-type','text/html; charset=ISO-8859-15')
    39     response.write("%s<br>\n\r" % s)
     37#def rwrite(s):
     38#    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
     39#    response.write("%s<br>\n\r" % s)
    4040
    4141count = 1
Note: See TracChangeset for help on using the changeset viewer.