Ignore:
Timestamp:
8 Oct 2006, 14:46:25 (18 years ago)
Author:
joachim
Message:

added base files for accommodation-module,
renamed Accommodation to AccoHall?
accommodation to acco_hall
one can now add and view an accommodation-hall

File:
1 moved

Legend:

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

    r610 r622  
    4747  <property name="vocabulary">waeup_bed_letters</property>
    4848 </widget>
    49  <widget name="beds_per_room" meta_type="Select Widget">
     49 <widget name="beds_per_room" meta_type="Int Widget">
    5050  <property name="fields">
    5151   <element value="beds_per_room"/>
    5252  </property>
    53   <property name="is_required">True</property>
    54   <property name="label">Beds per Room</property>
    55   <property name="label_edit">Beds per Room</property>
    56   <property name="vocabulary">range10</property>
    57  </widget>
    58  <widget name="heading" meta_type="String Widget">
    59   <property name="fields">
    60    <element value="heading"/>
    61   </property>
     53    <property name="is_required">True</property>
     54    <property name="label">Beds per Room</property>
     55    <property name="label_edit">Beds per Room</property>
     56    <property name="is_limited">True</property>
     57    <property name="min_value">1</property>
     58    <property name="max_value">10</property>
     59  </widget>
     60<widget name="Title" meta_type="String Widget">
     61 <property name="title">Title</property>
     62 <property name="fields">
     63  <element value="Title"/>
     64 </property>
    6265  <property name="is_required">True</property>
    6366  <property name="label">Hall Name</property>
     
    6669  <property name="size_max">40</property>
    6770 </widget>
    68  <widget name="nr_of_blocks" meta_type="Select Widget">
    69   <property name="fields">
    70    <element value="nr_of_blocks"/>
    71   </property>
    72   <property name="is_required">True</property>
    73   <property name="label">Nr of Blocks</property>
    74   <property name="label_edit">Nr of Blocks</property>
    75   <property name="vocabulary">range10</property>
    76  </widget>
    77  <widget name="nr_of_floors" meta_type="Select Widget">
     71  <widget name="nr_of_blocks" meta_type="Int Widget">
     72    <property name="fields">
     73      <element value="nr_of_blocks"/>
     74    </property>
     75    <property name="is_required">True</property>
     76    <property name="label">Nr of Blocks</property>
     77    <property name="label_edit">Nr of Blocks</property>
     78    <property name="is_limited">True</property>
     79    <property name="min_value">1</property>
     80    <property name="max_value">10</property>
     81  </widget>
     82 <widget name="nr_of_floors" meta_type="Int Widget">
    7883  <property name="fields">
    7984   <element value="nr_of_floors"/>
     
    8287  <property name="label">Nr of Floors </property>
    8388  <property name="label_edit">Nr of Floors</property>
    84   <property name="vocabulary">range5</property>
     89    <property name="is_limited">True</property>
     90    <property name="min_value">1</property>
     91    <property name="max_value">5</property>
    8592 </widget>
    8693 <widget name="reserved_rooms" meta_type="String Widget">
     
    97104  <property name="hidden_readonly_layout_modes"/>
    98105 </widget>
    99  <widget name="rooms_per_floor" meta_type="Select Widget">
     106 <widget name="rooms_per_floor" meta_type="Int Widget">
    100107  <property name="fields">
    101108   <element value="rooms_per_floor"/>
     
    104111  <property name="label">Rooms per Floor</property>
    105112  <property name="label_edit">Rooms per Floor</property>
    106   <property name="vocabulary">range50</property>
     113    <property name="is_limited">True</property>
     114    <property name="min_value">1</property>
     115    <property name="max_value">50</property>
    107116 </widget>
    108117 <widget name="text" meta_type="Text Widget">
     
    129138 <table>
    130139  <row>
    131    <cell name="heading"/>
     140   <cell name="Title"/>
    132141  </row>
    133142  <row>
Note: See TracChangeset for help on using the changeset viewer.