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') >-1 or portal.portal_url().find('uniben-demo.waeup.org') >-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_student" category="student"
|
---|
10 | condition_expr="python: not member and (portal.portal_url().find('uniben-alumni.waeup.org') >-1 or portal.portal_url().find('uniben-demo.waeup.org') >-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') >-1"
|
---|
18 | url_expr="string:${portal_url}/campus/students" visible="True">
|
---|
19 | <permission>View</permission>
|
---|
20 | </action>
|
---|
21 | <action title="Alumni" action_id="view_students" category="navigation"
|
---|
22 | condition_expr="python:portal.campus.students.isStaff() and portal.portal_url().find('alumni') >-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-provider>
|
---|
34 | </object> |
---|