Ignore:
Timestamp:
29 Aug 2006, 11:56:53 (18 years ago)
Author:
joachim
Message:

levels can be created
keyerror elective fixed
check for blanks in Id's checked

Location:
WAeUP_SRP/trunk/profiles/default/layouts
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/study_level.xml

    r370 r440  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9  <widget name="Title" meta_type="String Widget">
    10   <property name="title">Title</property>
     9 <widget name="code" meta_type="String Widget">
     10  <property name="title">Level No</property>
    1111  <property name="fields">
    12    <element value="Title"/>
    13   </property>
    14   <property name="label">Level Nr</property>
    15   <property name="label_edit">Level Nr</property>
    16   <property name="readonly_layout_modes"/>
    17   <property name="hidden_layout_modes"/>
    18   <property name="hidden_readonly_layout_modes"/>
    19   <property name="display_width">40</property>
    20  </widget>
    21  <widget name="sc_id" meta_type="String Widget">
    22   <property name="title">SC ID</property>
    23   <property name="fields">
    24    <element value="sc_id"/>
    25   </property>
    26   <property name="label">Card Serial Number </property>
    27   <property name="label_edit">Card Serial Number</property>
    28   <property name="description">Card Serial Number </property>
    29   <property
    30      name="help">This can be found on the bottom right of the reverse side of your Scratch Card</property>
    31   <property name="readonly_layout_modes"/>
    32   <property name="hidden_layout_modes"/>
    33   <property name="hidden_readonly_layout_modes"/>
    34   <property name="hidden_if_expr">python:1</property>
    35   <property name="display_width">10</property>
    36  </widget>
    37  <widget name="sc_pin" meta_type="Scratchcard Pin Widget">
    38   <property name="title">SC PIN</property>
    39   <property name="fields">
    40    <element value="sc_pin"/>
     12   <element value="code"/>
    4113  </property>
    4214  <property name="is_required">True</property>
    43   <property name="label">Enter  PIN</property>
    44   <property
    45      name="label_edit">Enter Scratchcard Pin with the value above</property>
    46   <property
    47      name="help">Please enter a Scratchcard Pin valid for Registration of Next Level</property>
     15  <property name="label">Level No</property>
     16  <property name="label_edit">Level No</property>
    4817  <property name="readonly_layout_modes"/>
    49   <property name="hidden_layout_modes"/>
    50   <property name="hidden_readonly_layout_modes"/>
    51   <property name="display_width">10</property>
    52   <property name="size_max">10</property>
    53  </widget>
    54  <widget name="sc_value" meta_type="Float Widget">
    55   <property name="title">Scratch card value</property>
    56   <property name="fields">
    57    <element value="sc_value"/>
    58   </property>
    59   <property name="label">Scratcard Value</property>
    60   <property name="label_edit">Scratcard Value</property>
    61   <property name="readonly_layout_modes">
    62    <element value="create"/>
    63   </property>
    6418  <property name="hidden_layout_modes"/>
    6519  <property name="hidden_readonly_layout_modes"/>
     
    6721 <table>
    6822  <row>
    69    <cell name="Title"/>
     23   <cell name="code"/>
    7024  </row>
    7125 </table>
Note: See TracChangeset for help on using the changeset viewer.