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

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

JAMB state was editable
Help texts modified

  • Property svn:keywords set to Id
File size: 5.5 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">True</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">True</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">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>
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">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>
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>
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">True</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="String 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">True</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 <table>
127  <row>
128   <cell name="Title"/>
129  </row>
130  <row>
131   <cell name="text"/>
132  </row>
133  <row>
134   <cell name="which_sex"/>
135  </row>
136  <row>
137   <cell name="nr_of_blocks"/>
138  </row>
139  <row>
140   <cell name="nr_of_floors"/>
141  </row>
142  <row>
143   <cell name="rooms_per_floor"/>
144  </row>
145  <row>
146   <cell name="beds_per_room"/>
147  </row>
148  <row>
149   <cell name="beds_for_fresh"/>
150  </row>
151  <row>
152   <cell name="beds_for_final"/>
153  </row>
154  <row>
155   <cell name="reserved_rooms"/>
156  </row>
157 </table>
158</object>
Note: See TracBrowser for help on using the repository browser.