source: WAeUP_SRP/trunk/profiles/default/layouts/student_search.xml @ 1221

Last change on this file since 1221 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
RevLine 
[584]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>
[587]6 <property name="style_prefix">layout_search_</property>
[584]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>
[603]14  <property name="label">Search for students in state</property>
15  <property name="label_edit">Search for students in state</property>
[584]16  <property name="readonly_layout_modes"/>
17  <property name="hidden_layout_modes"/>
18  <property name="hidden_readonly_layout_modes"/>
[874]19  <property name="vocabulary">get_searchable_student_states</property>
[584]20 </widget>
21 <widget name="search_mode" meta_type="Generic Select Widget">
[603]22  <property name="title">Search Mode</property>
[584]23  <property name="fields">
24   <element value="search_mode"/>
25  </property>
[853]26  <property name="is_required">False</property>
[603]27  <property name="label">and</property>
28  <property name="label_edit">and</property>
[584]29  <property name="readonly_layout_modes"/>
30  <property name="hidden_layout_modes"/>
31  <property name="hidden_readonly_layout_modes"/>
[596]32  <property name="vocabulary">student_search_mode</property>
[584]33 </widget>
34 <widget name="search_string" meta_type="String Widget">
[603]35  <property name="title">Search String</property>
[584]36  <property name="fields">
37   <element value="search_string"/>
38  </property>
[603]39  <property name="label">beginning with</property>
40  <property name="label_edit">beginning with</property>
[584]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>
[603]48   <cell name="review_state" ncols="3"/>
[584]49  </row>
50  <row>
[603]51   <cell name="search_mode" ncols="2"/>
[584]52   <cell name="search_string"/>
53  </row>
54 </table>
55</object>
[603]56
Note: See TracBrowser for help on using the repository browser.