Changeset 1915


Ignore:
Timestamp:
17 Jun 2007, 16:43:57 (18 years ago)
Author:
Henrik Bettermann
Message:

show widgets in alphabetical order

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Widgets.py

    r1907 r1915  
    1717from re import compile
    1818import logging
     19import operator
    1920
    2021#from zLOG import LOG, DEBUG
     
    740741                if len(res) < 1:
    741742                    logger.info('matric_no %s not found' % value)
    742                     err = 'No student with this matriculation number.' 
     743                    err = 'No student with this matriculation number.'
    743744                    break
    744745                datastructure['student'] = res[0]
  • WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml

    r1828 r1915  
    165165  <property name="hidden_readonly_layout_modes"/>
    166166  <property name="vocabulary">sessions</property>
     167  <property name="sorted">True</property>
    167168 </widget>
    168169 <widget name="current_level" meta_type="WAeUP Level Widget">
     
    179180  <property name="hidden_readonly_layout_modes"/>
    180181  <property name="vocabulary">courselevel</property>
     182  <property name="sorted">True</property>
    181183 </widget>
    182184 <widget name="current_verdict" meta_type="WAeUP Verdict Widget">
     
    194196  <property name="vocabulary">verdicts</property>
    195197 </widget>
    196  <widget name="entry_session" meta_type="Select Widget">
     198 <widget name="entry_session" meta_type="WAeUP Session Widget">
    197199  <property name="title">Entry Session</property>
    198200  <property name="fields">
     
    205207  <property name="hidden_readonly_layout_modes"/>
    206208  <property name="vocabulary">sessions</property>
     209  <property name="sorted">True</property>
    207210 </widget>
    208211 <widget name="jamb_reg_no" meta_type="String Widget">
Note: See TracChangeset for help on using the changeset viewer.