source: WAeUP_SRP/trunk/profiles/default/layouts/acco_hall.xml @ 739

Last change on this file since 739 was 738, checked in by Henrik Bettermann, 18 years ago

'Maintainance Fee Prefix' instead of 'Maintainance Code'

  • Property svn:keywords set to Id
File size: 6.2 KB
RevLine 
[199]1<?xml version="1.0"?>
2<object name="accommodation" meta_type="CPS Layout">
3 <property name="layout_create_method"></property>
4 <property name="layout_edit_method"></property>
5 <property name="layout_view_method"></property>
6 <property name="style_prefix">layout_waeup_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
[205]9 <widget name="beds_for_final" meta_type="MultiSelect Widget">
[218]10  <property name="fields">
11   <element value="beds_for_final"/>
12  </property>
[205]13  <property name="is_required">True</property>
[666]14  <property name="label">Beds for Final Students</property>
15  <property name="label_edit">Beds for Final Students</property>
[738]16  <property name="help">Name the bedspaces for final year students.
[666]17                        Attention: The bed letters must not exceed the number of beds per room.</property>
[205]18  <property name="readonly_layout_modes"/>
19  <property name="hidden_layout_modes"/>
20  <property name="hidden_readonly_layout_modes"/>
21  <property name="vocabulary">waeup_bed_letters</property>
22 </widget>
23 <widget name="beds_for_fresh" meta_type="MultiSelect Widget">
[218]24  <property name="fields">
25   <element value="beds_for_fresh"/>
26  </property>
[205]27  <property name="is_required">True</property>
[666]28  <property name="label">Beds for Fresh Students</property>
29  <property name="label_edit">Beds for Fresh Students</property>
30  <property name="help">Name the beds for first year students.
31                        Attention: The bed letters must not exceed the number of beds per room.</property>
[205]32  <property name="readonly_layout_modes"/>
33  <property name="hidden_layout_modes"/>
34  <property name="hidden_readonly_layout_modes"/>
35  <property name="vocabulary">waeup_bed_letters</property>
36 </widget>
[622]37 <widget name="beds_per_room" meta_type="Int Widget">
[199]38  <property name="fields">
39   <element value="beds_per_room"/>
40  </property>
[622]41    <property name="is_required">True</property>
42    <property name="label">Beds per Room</property>
43    <property name="label_edit">Beds per Room</property>
44    <property name="is_limited">True</property>
45    <property name="min_value">1</property>
[625]46    <property name="max_value">10</property>
[622]47  </widget>
48<widget name="Title" meta_type="String Widget">
49 <property name="title">Title</property>
50 <property name="fields">
51  <element value="Title"/>
52 </property>
[199]53  <property name="is_required">True</property>
54  <property name="label">Hall Name</property>
55  <property name="label_edit">Hall Name</property>
56  <property name="display_width">40</property>
57  <property name="size_max">40</property>
58 </widget>
[622]59  <widget name="nr_of_blocks" meta_type="Int Widget">
60    <property name="fields">
61      <element value="nr_of_blocks"/>
62    </property>
63    <property name="is_required">True</property>
[625]64    <property name="label">No of Blocks</property>
65    <property name="label_edit">No of Blocks</property>
[622]66    <property name="is_limited">True</property>
67    <property name="min_value">1</property>
[625]68    <property name="max_value">10</property>
[622]69  </widget>
70 <widget name="nr_of_floors" meta_type="Int Widget">
[199]71  <property name="fields">
72   <element value="nr_of_floors"/>
73  </property>
74  <property name="is_required">True</property>
[625]75  <property name="label">No of Floors </property>
76  <property name="label_edit">No of Floors</property>
[622]77    <property name="is_limited">True</property>
78    <property name="min_value">1</property>
[625]79    <property name="max_value">5</property>
[199]80 </widget>
[714]81 <widget name="reserved_rooms" meta_type="WAeUPReservedRooms Widget">
[404]82  <property name="title">Reserved Rooms</property>
83  <property name="fields">
84   <element value="reserved_rooms"/>
85  </property>
86  <property name="label">Reserved Rooms</property>
87  <property name="label_edit">Reserved Rooms</property>
88  <property
[638]89     name="help">Enter the reserved room numbers separeted by comma.</property>
[404]90  <property name="readonly_layout_modes"/>
91  <property name="hidden_layout_modes"/>
92  <property name="hidden_readonly_layout_modes"/>
93 </widget>
[622]94 <widget name="rooms_per_floor" meta_type="Int Widget">
[199]95  <property name="fields">
96   <element value="rooms_per_floor"/>
97  </property>
98  <property name="is_required">True</property>
99  <property name="label">Rooms per Floor</property>
100  <property name="label_edit">Rooms per Floor</property>
[622]101    <property name="is_limited">True</property>
102    <property name="min_value">1</property>
103    <property name="max_value">50</property>
[199]104 </widget>
105 <widget name="text" meta_type="Text Widget">
106  <property name="fields">
107   <element value="text"/>
108  </property>
109  <property name="label">Text</property>
110  <property name="label_edit">Text</property>
111  <property name="help">Short Description</property>
112  <property name="is_i18n">True</property>
113  <property name="hidden_layout_modes"/>
114  <property name="css_class">description</property>
115  <property name="width">72</property>
116 </widget>
117 <widget name="which_sex" meta_type="Boolean Widget">
118  <property name="fields">
119   <element value="which_sex"/>
120  </property>
121  <property name="label">Sex</property>
122  <property name="label_edit">Sex</property>
123  <property name="label_false">male</property>
124  <property name="label_true">female</property>
125 </widget>
[736]126<widget name="maintainance_code" meta_type="Select Widget">
[738]127 <property name="title">Maintainance Fee Prefix</property>
[736]128 <property name="fields">
129  <element value="maintainance_code"/>
130 </property>
131 <property name="is_required">True</property>
[738]132 <property name="label">Maintainance Fee Prefix</property>
133 <property name="label_edit">Maintainance Fee Prefix</property>
[736]134 <property name="readonly_layout_modes"/>
135 <property name="hidden_layout_modes"/>
136 <property name="hidden_readonly_layout_modes"/>
137<property name="vocabulary">pin_prefixes</property>
138</widget>
139<table>
[199]140  <row>
[622]141   <cell name="Title"/>
[199]142  </row>
143  <row>
[736]144   <cell name="maintainance_code"/>
145  </row>
146  <row>
[199]147   <cell name="text"/>
148  </row>
149  <row>
150   <cell name="which_sex"/>
151  </row>
152  <row>
153   <cell name="nr_of_blocks"/>
154  </row>
155  <row>
156   <cell name="nr_of_floors"/>
157  </row>
158  <row>
159   <cell name="rooms_per_floor"/>
160  </row>
161  <row>
162   <cell name="beds_per_room"/>
163  </row>
164  <row>
[205]165   <cell name="beds_for_fresh"/>
[199]166  </row>
167  <row>
[205]168   <cell name="beds_for_final"/>
169  </row>
[404]170  <row>
171   <cell name="reserved_rooms"/>
172  </row>
[199]173 </table>
174</object>
Note: See TracBrowser for help on using the repository browser.