source: WAeUP_SRP/trunk/profiles/unibenpg/actions.xml @ 15730

Last change on this file since 15730 was 7978, checked in by Henrik Bettermann, 13 years ago

Create and register new (uncostomized) unibenpg profile.

File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<object name="portal_actions" meta_type="CMF Actions Tool">
3 <action-provider name="portal_membership">
4  <action title="Student Login" action_id="login_student" category="student"
5     condition_expr="python: not member and (portal.portal_url().find('uniben.waeup.org') &gt;-1 or portal.portal_url().find('uniben-pg.waeup.org') &gt;-1)"
6     url_expr="string:${portal_url}/login_student" visible="True">
7   <permission>View</permission>
8  </action>
9  <action title="Alumnus Login" action_id="login_alumni" category="student"
10     condition_expr="python: not member and (portal.portal_url().find('uniben-alumni.waeup.org') &gt;-1 or portal.portal_url().find('uniben-demo.waeup.org') &gt;-1)"
11     url_expr="string:${portal_url}/login_student" visible="True">
12   <permission>View</permission>
13  </action> 
14 </action-provider>
15 <action-provider name="portal_actions">
16  <action title="Students" action_id="view_students" category="navigation"
17     condition_expr="python:portal.campus.students.isStaff() and not portal.portal_url().find('alumni') &gt;-1"
18     url_expr="string:${portal_url}/campus/students" visible="True">
19   <permission>View</permission>
20  </action>
21  <action title="Alumni" action_id="view_alumni" category="navigation"
22     condition_expr="python:portal.campus.students.isStaff() and portal.portal_url().find('alumni') &gt;-1"
23     url_expr="string:${portal_url}/campus/students" visible="True">
24   <permission>View</permission>
25  </action>   
26 </action-provider>
27 <action-provider name="portal_actions">
28  <action title="Send Email" action_id="send_email_form" category="global"
29     condition_expr="python:str(member) in ('admin','med')"
30     url_expr="string:${portal_url}/send_email_form" visible="True">
31   <permission>View</permission>
32  </action>     
33  <action title="My Accommodation" action_id="reserve_accommodation"
34     category="student_navigation" condition_expr="member"
35     url_expr="string:${portal_url}/campus/students/${member}/accommodations" visible="True"/>
36 </action-provider>
37</object>
Note: See TracBrowser for help on using the repository browser.