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

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

is_reqired set to false except for code and id fields

  • Property svn:keywords set to Id
File size: 6.2 KB
Line 
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>
9 <widget name="beds_for_final" meta_type="MultiSelect Widget">
10  <property name="fields">
11   <element value="beds_for_final"/>
12  </property>
13  <property name="is_required">False</property>
14  <property name="label">Beds for Final Students</property>
15  <property name="label_edit">Beds for Final Students</property>
16  <property name="help">Name the bedspaces for final year students.
17                        Attention: The bed letters must not exceed the number of beds per room.</property>
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">
24  <property name="fields">
25   <element value="beds_for_fresh"/>
26  </property>
27  <property name="is_required">False</property>
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>
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>
37 <widget name="beds_per_room" meta_type="Int Widget">
38  <property name="fields">
39   <element value="beds_per_room"/>
40  </property>
41    <property name="is_required">False</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>
46    <property name="max_value">10</property>
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>
53  <property name="is_required">False</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>
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">False</property>
64    <property name="label">No of Blocks</property>
65    <property name="label_edit">No of Blocks</property>
66    <property name="is_limited">True</property>
67    <property name="min_value">1</property>
68    <property name="max_value">10</property>
69  </widget>
70 <widget name="nr_of_floors" meta_type="Int Widget">
71  <property name="fields">
72   <element value="nr_of_floors"/>
73  </property>
74  <property name="is_required">False</property>
75  <property name="label">No of Floors </property>
76  <property name="label_edit">No of Floors</property>
77    <property name="is_limited">True</property>
78    <property name="min_value">1</property>
79    <property name="max_value">5</property>
80 </widget>
81 <widget name="reserved_rooms" meta_type="WAeUPReservedRooms Widget">
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
89     name="help">Enter the reserved room numbers separeted by comma.</property>
90  <property name="readonly_layout_modes"/>
91  <property name="hidden_layout_modes"/>
92  <property name="hidden_readonly_layout_modes"/>
93 </widget>
94 <widget name="rooms_per_floor" meta_type="Int Widget">
95  <property name="fields">
96   <element value="rooms_per_floor"/>
97  </property>
98  <property name="is_required">False</property>
99  <property name="label">Rooms per Floor</property>
100  <property name="label_edit">Rooms per Floor</property>
101    <property name="is_limited">True</property>
102    <property name="min_value">1</property>
103    <property name="max_value">50</property>
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>
126<widget name="maintenance_code" meta_type="Select Widget">
127 <property name="title">Maintenance Fee Prefix</property>
128 <property name="fields">
129  <element value="maintenance_code"/>
130 </property>
131 <property name="is_required">False</property>
132 <property name="label">Maintenance Fee Prefix</property>
133 <property name="label_edit">Maintenance Fee Prefix</property>
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>
140  <row>
141   <cell name="Title"/>
142  </row>
143  <row>
144   <cell name="maintenance_code"/>
145  </row>
146  <row>
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>
165   <cell name="beds_for_fresh"/>
166  </row>
167  <row>
168   <cell name="beds_for_final"/>
169  </row>
170  <row>
171   <cell name="reserved_rooms"/>
172  </row>
173 </table>
174</object>
Note: See TracBrowser for help on using the repository browser.