source: WAeUP_SRP/trunk/profiles/default/layouts/certificate.xml @ 953

Last change on this file since 953 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: 8.5 KB
Line 
1<?xml version="1.0"?>
2<object name="certificate" 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="Description" meta_type="Text Widget">
10  <property name="fields">
11   <element value="Description"/>
12  </property>
13  <property name="label">Description</property>
14  <property name="label_edit">Description</property>
15  <property name="is_i18n">True</property>
16  <property name="hidden_layout_modes"/>
17  <property name="css_class">description</property>
18  <property name="width">72</property>
19 </widget>
20 <widget name="Title" meta_type="String Widget">
21  <property name="fields">
22   <element value="Title"/>
23  </property>
24  <property name="is_required">False</property>
25  <property name="label">Title</property>
26  <property name="label_edit">Title</property>
27  <property name="display_width">40</property>
28  <property name="size_max">200</property>
29 </widget>
30 <widget name="code" meta_type="WAeUPId Widget">
31  <property name="title">Certificate ID</property>
32  <property name="fields">
33   <element value="code"/>
34  </property>
35  <property name="is_required">True</property>
36  <property name="label">Certificate ID</property>
37  <property name="label_edit">Certificate ID</property>
38  <property name="readonly_layout_modes"/>
39  <property name="hidden_layout_modes">
40   <element value="view"/>
41   <element value="edit"/>
42  </property>
43  <property name="hidden_readonly_layout_modes"/>
44 </widget>
45 <widget name="admin_status" meta_type="String Widget">
46  <property name="title">Admin Status</property>
47  <property name="fields">
48   <element value="admin_status"/>
49  </property>
50  <property name="label">Admin Status</property>
51  <property name="label_edit">Admin Status</property>
52  <property name="readonly_layout_modes"/>
53  <property name="hidden_layout_modes"/>
54  <property name="hidden_readonly_layout_modes"/>
55 </widget>
56 <widget name="category" meta_type="String Widget">
57  <property name="title">Category</property>
58  <property name="fields">
59   <element value="category"/>
60  </property>
61  <property name="label">Category</property>
62  <property name="label_edit">Category</property>
63  <property name="readonly_layout_modes"/>
64  <property name="hidden_layout_modes"/>
65  <property name="hidden_readonly_layout_modes"/>
66 </widget>
67 <widget name="end_level" meta_type="Select Widget">
68  <property name="title">End Level</property>
69  <property name="fields">
70   <element value="end_level"/>
71  </property>
72  <property name="label">End Level</property>
73  <property name="label_edit">End Level</property>
74  <property name="readonly_layout_modes"/>
75  <property name="hidden_layout_modes"/>
76  <property name="hidden_readonly_layout_modes"/>
77  <property name="vocabulary">courselevel</property>
78 </widget>
79 <widget name="m_prefix" meta_type="String Widget">
80  <property name="title">MPREFIX</property>
81  <property name="fields">
82   <element value="m_prefix"/>
83  </property>
84  <property name="label">MPREFIX</property>
85  <property name="label_edit">MPREFIX</property>
86  <property name="readonly_layout_modes"/>
87  <property name="hidden_layout_modes"/>
88  <property name="hidden_readonly_layout_modes"/>
89 </widget>
90 <widget name="max_elect" meta_type="String Widget">
91  <property name="title">Max Elect</property>
92  <property name="fields">
93   <element value="max_elect"/>
94  </property>
95  <property name="label">Max Elect</property>
96  <property name="label_edit">Max Elect</property>
97  <property name="readonly_layout_modes"/>
98  <property name="hidden_layout_modes"/>
99  <property name="hidden_readonly_layout_modes"/>
100 </widget>
101 <widget name="max_load" meta_type="Int Widget">
102  <property name="title">Maximum Load</property>
103  <property name="fields">
104   <element value="max_load"/>
105  </property>
106  <property name="is_required">False</property>
107  <property name="label">Maximum Load</property>
108  <property name="label_edit">Maximum Load</property>
109  <property name="readonly_layout_modes"/>
110  <property name="hidden_layout_modes"/>
111  <property name="hidden_readonly_layout_modes"/>
112 </widget>
113 <widget name="max_pass" meta_type="Int Widget">
114  <property name="title">Maximum Pass</property>
115  <property name="fields">
116   <element value="max_pass"/>
117  </property>
118  <property name="is_required">False</property>
119  <property name="label">Maximum Pass</property>
120  <property name="label_edit">Maximum Pass</property>
121  <property name="readonly_layout_modes"/>
122  <property name="hidden_layout_modes"/>
123  <property name="hidden_readonly_layout_modes"/>
124 </widget>
125 <widget name="n_core" meta_type="Int Widget">
126  <property name="title">NCore</property>
127  <property name="fields">
128   <element value="n_core"/>
129  </property>
130  <property name="label">NCore</property>
131  <property name="label_edit">NCore</property>
132  <property name="readonly_layout_modes"/>
133  <property name="hidden_layout_modes"/>
134  <property name="hidden_readonly_layout_modes"/>
135 </widget>
136 <widget name="nr_years" meta_type="Int Widget">
137  <property name="title">Nr of Years</property>
138  <property name="fields">
139   <element value="nr_years"/>
140  </property>
141  <property name="label">Nr of Years</property>
142  <property name="label_edit">Nr of Years</property>
143  <property name="readonly_layout_modes"/>
144  <property name="hidden_layout_modes"/>
145  <property name="hidden_readonly_layout_modes"/>
146 </widget>
147 <widget name="original_code" meta_type="String Widget">
148  <property name="title">Original Code</property>
149  <property name="fields">
150   <element value="original_code"/>
151  </property>
152  <property name="label">Original Code</property>
153  <property name="label_edit">Original Code</property>
154  <property name="readonly_layout_modes">
155    <element value="edit"/>
156  </property>
157  <property name="hidden_layout_modes" >
158    <element value="create"/>
159  </property>
160  <property name="hidden_readonly_layout_modes"/>
161 </widget>
162 <widget name="probation_credits" meta_type="Int Widget">
163  <property name="title">Probation  Credits</property>
164  <property name="fields">
165   <element value="probation_credits"/>
166  </property>
167  <property name="label">Probation Credits</property>
168  <property name="label_edit">Probation Credits</property>
169  <property name="readonly_layout_modes"/>
170  <property name="hidden_layout_modes"/>
171  <property name="hidden_readonly_layout_modes"/>
172 </widget>
173 <widget name="promotion_credits" meta_type="Int Widget">
174  <property name="title">Promotion Credits</property>
175  <property name="fields">
176   <element value="promotion_credits"/>
177  </property>
178  <property name="label">Promotion Credits</property>
179  <property name="label_edit">Promotion Credits</property>
180  <property name="readonly_layout_modes"/>
181  <property name="hidden_layout_modes"/>
182  <property name="hidden_readonly_layout_modes"/>
183 </widget>
184 <widget name="start_level" meta_type="Select Widget">
185  <property name="title">Start Level</property>
186  <property name="fields">
187   <element value="start_level"/>
188  </property>
189  <property name="label">Start Level</property>
190  <property name="label_edit">Start Level</property>
191  <property name="readonly_layout_modes"/>
192  <property name="hidden_layout_modes"/>
193  <property name="hidden_readonly_layout_modes"/>
194  <property name="vocabulary">courselevel</property>
195 </widget>
196 <widget name="school_fee_code" meta_type="Select Widget">
197  <property name="title">School Fee Prefix</property>
198  <property name="fields">
199   <element value="school_fee_code"/>
200  </property>
201  <property name="label">School Fee Prefix</property>
202  <property name="label_edit">School Fee Prefix</property>
203  <property name="readonly_layout_modes"/>
204  <property name="hidden_layout_modes"/>
205  <property name="hidden_readonly_layout_modes"/>
206  <property name="vocabulary">pin_prefixes</property>
207 </widget>
208 <table>
209  <row>
210   <cell name="code"/>
211  </row>
212  <row>
213   <cell name="Title"/>
214  </row>
215  <row>
216   <cell name="Description"/>
217  </row>
218  <row>
219   <cell name="original_code"/>
220  </row>
221  <row>
222   <cell name="start_level"/>
223  </row>
224  <row>
225   <cell name="end_level"/>
226  </row>
227  <row>
228   <cell name="max_pass"/>
229  </row>
230  <row>
231   <cell name="max_load"/>
232  </row>
233  <row>
234   <cell name="promotion_credits"/>
235  </row>
236  <row>
237   <cell name="probation_credits"/>
238  </row>
239  <row>
240   <cell name="admin_status"/>
241  </row>
242  <row>
243   <cell name="category"/>
244  </row>
245  <row>
246   <cell name="nr_years"/>
247  </row>
248  <row>
249   <cell name="n_core"/>
250  </row>
251  <row>
252   <cell name="max_elect"/>
253  </row>
254  <row>
255   <cell name="m_prefix"/>
256  </row>
257  <row>
258   <cell name="school_fee_code"/>
259  </row>
260 </table>
261</object>
Note: See TracBrowser for help on using the repository browser.