Ignore:
Timestamp:
5 Jul 2007, 09:10:38 (18 years ago)
Author:
Henrik Bettermann
Message:

show sessions, courselevel and entrymodes vocabularies in correct order, please check
(btw courselevel should be renamed to levels)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/sessions_voc.py

    r1758 r1986  
    66"""
    77if key is None:
    8     l = [('xx','unknown')]
     8    # not used for WAeUPSessionWidget, only for SelectWidget
     9    l = [('-1','N/A')]
    910    for y in range(1998,2008):
    1011        l.append( ('%s' % str(y)[-2:],'%4d/%4d' % (y,y+1)))
     
    1415    y = int(key)
    1516except:
    16     return 'unknown'
     17    return 'N/A'
     18if y == -1:
     19    return 'N/A'
    1720if y < 90:
    1821    cent = 2000
Note: See TracChangeset for help on using the changeset viewer.