[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> |
---|
[625] | 14 | <property name="label">Bedspaces for Final Students</property> |
---|
| 15 | <property name="label_edit">Bedspaces for Final Students</property> |
---|
| 16 | <property name="help">Name the bedspaces for final year students.</property> |
---|
[205] | 17 | <property name="readonly_layout_modes"/> |
---|
| 18 | <property name="hidden_layout_modes"/> |
---|
| 19 | <property name="hidden_readonly_layout_modes"/> |
---|
| 20 | <property name="vocabulary">waeup_bed_letters</property> |
---|
| 21 | </widget> |
---|
| 22 | <widget name="beds_for_fresh" meta_type="MultiSelect Widget"> |
---|
[218] | 23 | <property name="fields"> |
---|
| 24 | <element value="beds_for_fresh"/> |
---|
| 25 | </property> |
---|
[205] | 26 | <property name="is_required">True</property> |
---|
[625] | 27 | <property name="label">Bedspaces for Fresh Students</property> |
---|
| 28 | <property name="label_edit">Bedspaces for Fresh Students</property> |
---|
[218] | 29 | <property name="help">Name the bedspaces for first year students</property> |
---|
[205] | 30 | <property name="readonly_layout_modes"/> |
---|
| 31 | <property name="hidden_layout_modes"/> |
---|
| 32 | <property name="hidden_readonly_layout_modes"/> |
---|
| 33 | <property name="vocabulary">waeup_bed_letters</property> |
---|
| 34 | </widget> |
---|
| 35 | <widget name="beds_for_returning" meta_type="MultiSelect Widget"> |
---|
[218] | 36 | <property name="fields"> |
---|
| 37 | <element value="beds_for_returning"/> |
---|
| 38 | </property> |
---|
[205] | 39 | <property name="is_required">True</property> |
---|
[625] | 40 | <property name="label">Bedspaces for Returning Students</property> |
---|
| 41 | <property name="label_edit">Bedspaces for Returning Students</property> |
---|
[218] | 42 | <property |
---|
[625] | 43 | name="help"></property> |
---|
[205] | 44 | <property name="readonly_layout_modes"/> |
---|
| 45 | <property name="hidden_layout_modes"/> |
---|
| 46 | <property name="hidden_readonly_layout_modes"/> |
---|
| 47 | <property name="vocabulary">waeup_bed_letters</property> |
---|
| 48 | </widget> |
---|
[622] | 49 | <widget name="beds_per_room" meta_type="Int Widget"> |
---|
[199] | 50 | <property name="fields"> |
---|
| 51 | <element value="beds_per_room"/> |
---|
| 52 | </property> |
---|
[622] | 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> |
---|
[625] | 58 | <property name="max_value">10</property> |
---|
[622] | 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> |
---|
[199] | 65 | <property name="is_required">True</property> |
---|
| 66 | <property name="label">Hall Name</property> |
---|
| 67 | <property name="label_edit">Hall Name</property> |
---|
| 68 | <property name="display_width">40</property> |
---|
| 69 | <property name="size_max">40</property> |
---|
| 70 | </widget> |
---|
[622] | 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> |
---|
[625] | 76 | <property name="label">No of Blocks</property> |
---|
| 77 | <property name="label_edit">No of Blocks</property> |
---|
[622] | 78 | <property name="is_limited">True</property> |
---|
| 79 | <property name="min_value">1</property> |
---|
[625] | 80 | <property name="max_value">10</property> |
---|
[622] | 81 | </widget> |
---|
| 82 | <widget name="nr_of_floors" meta_type="Int Widget"> |
---|
[199] | 83 | <property name="fields"> |
---|
| 84 | <element value="nr_of_floors"/> |
---|
| 85 | </property> |
---|
| 86 | <property name="is_required">True</property> |
---|
[625] | 87 | <property name="label">No of Floors </property> |
---|
| 88 | <property name="label_edit">No of Floors</property> |
---|
[622] | 89 | <property name="is_limited">True</property> |
---|
| 90 | <property name="min_value">1</property> |
---|
[625] | 91 | <property name="max_value">5</property> |
---|
[199] | 92 | </widget> |
---|
[404] | 93 | <widget name="reserved_rooms" meta_type="String Widget"> |
---|
| 94 | <property name="title">Reserved Rooms</property> |
---|
| 95 | <property name="fields"> |
---|
| 96 | <element value="reserved_rooms"/> |
---|
| 97 | </property> |
---|
| 98 | <property name="label">Reserved Rooms</property> |
---|
| 99 | <property name="label_edit">Reserved Rooms</property> |
---|
| 100 | <property |
---|
[638] | 101 | name="help">Enter the reserved room numbers separeted by comma.</property> |
---|
[404] | 102 | <property name="readonly_layout_modes"/> |
---|
| 103 | <property name="hidden_layout_modes"/> |
---|
| 104 | <property name="hidden_readonly_layout_modes"/> |
---|
| 105 | </widget> |
---|
[622] | 106 | <widget name="rooms_per_floor" meta_type="Int Widget"> |
---|
[199] | 107 | <property name="fields"> |
---|
| 108 | <element value="rooms_per_floor"/> |
---|
| 109 | </property> |
---|
| 110 | <property name="is_required">True</property> |
---|
| 111 | <property name="label">Rooms per Floor</property> |
---|
| 112 | <property name="label_edit">Rooms per Floor</property> |
---|
[622] | 113 | <property name="is_limited">True</property> |
---|
| 114 | <property name="min_value">1</property> |
---|
| 115 | <property name="max_value">50</property> |
---|
[199] | 116 | </widget> |
---|
| 117 | <widget name="text" meta_type="Text Widget"> |
---|
| 118 | <property name="fields"> |
---|
| 119 | <element value="text"/> |
---|
| 120 | </property> |
---|
| 121 | <property name="label">Text</property> |
---|
| 122 | <property name="label_edit">Text</property> |
---|
| 123 | <property name="help">Short Description</property> |
---|
| 124 | <property name="is_i18n">True</property> |
---|
| 125 | <property name="hidden_layout_modes"/> |
---|
| 126 | <property name="css_class">description</property> |
---|
| 127 | <property name="width">72</property> |
---|
| 128 | </widget> |
---|
| 129 | <widget name="which_sex" meta_type="Boolean Widget"> |
---|
| 130 | <property name="fields"> |
---|
| 131 | <element value="which_sex"/> |
---|
| 132 | </property> |
---|
| 133 | <property name="label">Sex</property> |
---|
| 134 | <property name="label_edit">Sex</property> |
---|
| 135 | <property name="label_false">male</property> |
---|
| 136 | <property name="label_true">female</property> |
---|
| 137 | </widget> |
---|
| 138 | <table> |
---|
| 139 | <row> |
---|
[622] | 140 | <cell name="Title"/> |
---|
[199] | 141 | </row> |
---|
| 142 | <row> |
---|
| 143 | <cell name="text"/> |
---|
| 144 | </row> |
---|
| 145 | <row> |
---|
| 146 | <cell name="which_sex"/> |
---|
| 147 | </row> |
---|
| 148 | <row> |
---|
| 149 | <cell name="nr_of_blocks"/> |
---|
| 150 | </row> |
---|
| 151 | <row> |
---|
| 152 | <cell name="nr_of_floors"/> |
---|
| 153 | </row> |
---|
| 154 | <row> |
---|
| 155 | <cell name="rooms_per_floor"/> |
---|
| 156 | </row> |
---|
| 157 | <row> |
---|
| 158 | <cell name="beds_per_room"/> |
---|
| 159 | </row> |
---|
| 160 | <row> |
---|
[205] | 161 | <cell name="beds_for_fresh"/> |
---|
[199] | 162 | </row> |
---|
| 163 | <row> |
---|
[205] | 164 | <cell name="beds_for_final"/> |
---|
| 165 | </row> |
---|
[404] | 166 | <row> |
---|
| 167 | <cell name="reserved_rooms"/> |
---|
| 168 | </row> |
---|
[199] | 169 | </table> |
---|
| 170 | </object> |
---|