Ignore:
Timestamp:
16 Nov 2006, 13:05:12 (18 years ago)
Author:
joachim
Message:

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'

Location:
WAeUP_SRP/trunk/profiles/default
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r849 r874  
    119119  </action>
    120120  <action title="Students" action_id="view_students" category="navigation"
    121      condition_expr="member" url_expr="string:${portal_url}/campus/students"
    122      visible="True">
    123    <permission>Modify portal content</permission>
     121     condition_expr="here/isStaff" url_expr="string:${portal_url}/campus/students"
     122     visible="True">
     123   <permission>View</permission>
    124124  </action>
    125125  <action title="PINs" action_id="view_pins" category="navigation"
  • WAeUP_SRP/trunk/profiles/default/layouts/student_search.xml

    r853 r874  
    1717  <property name="hidden_layout_modes"/>
    1818  <property name="hidden_readonly_layout_modes"/>
    19   <property name="vocabulary">searchable_student_states</property>
     19  <property name="vocabulary">get_searchable_student_states</property>
    2020 </widget>
    2121 <widget name="search_mode" meta_type="Generic Select Widget">
  • WAeUP_SRP/trunk/profiles/default/vocabularies.xml

    r841 r874  
    2222 <object name="student_status_voc" meta_type="CPS Vocabulary"/>
    2323 <object name="searchable_student_states" meta_type="CPS Vocabulary"/>
     24 <object name="get_searchable_student_states" meta_type="CPS Method Vocabulary"/>
    2425 <object name="academics_search_mode" meta_type="CPS Vocabulary"/>
    2526 <object name="searchable_academics_states" meta_type="CPS Vocabulary"/>
Note: See TracChangeset for help on using the changeset viewer.