source: WAeUP_SRP/branches/srpp_on_branch/profiles/default/layouts/student_search.xml @ 11086

Last change on this file since 11086 was 874, checked in by joachim, 18 years ago

first draft of view for ClearanceOfficers?
steps to make it work:

  1. Create a group CLearanceOfficers
  2. delegate SectionReader? to this Group in students
  3. Put the supposed CO's in this Group
  4. modify the cpsskinstheme like so:

if context.isStaff():

return 'WAeUP_Backoffice'

return 'WAeUP_Student'

  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<object name="student_search" 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_search_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="review_state" meta_type="Select Widget">
10  <property name="title">Review State</property>
11  <property name="fields">
12   <element value="review_state"/>
13  </property>
14  <property name="label">Search for students in state</property>
15  <property name="label_edit">Search for students in state</property>
16  <property name="readonly_layout_modes"/>
17  <property name="hidden_layout_modes"/>
18  <property name="hidden_readonly_layout_modes"/>
19  <property name="vocabulary">get_searchable_student_states</property>
20 </widget>
21 <widget name="search_mode" meta_type="Generic Select Widget">
22  <property name="title">Search Mode</property>
23  <property name="fields">
24   <element value="search_mode"/>
25  </property>
26  <property name="is_required">False</property>
27  <property name="label">and</property>
28  <property name="label_edit">and</property>
29  <property name="readonly_layout_modes"/>
30  <property name="hidden_layout_modes"/>
31  <property name="hidden_readonly_layout_modes"/>
32  <property name="vocabulary">student_search_mode</property>
33 </widget>
34 <widget name="search_string" meta_type="String Widget">
35  <property name="title">Search String</property>
36  <property name="fields">
37   <element value="search_string"/>
38  </property>
39  <property name="label">beginning with</property>
40  <property name="label_edit">beginning with</property>
41  <property name="readonly_layout_modes"/>
42  <property name="hidden_layout_modes"/>
43  <property name="hidden_readonly_layout_modes"/>
44  <property name="display_width">30</property>
45 </widget>
46 <table>
47  <row>
48   <cell name="review_state" ncols="3"/>
49  </row>
50  <row>
51   <cell name="search_mode" ncols="2"/>
52   <cell name="search_string"/>
53  </row>
54 </table>
55</object>
56
Note: See TracBrowser for help on using the repository browser.