source: WAeUP_SRP/trunk/profiles/uniben/actions.xml @ 17651

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

Show student login on uniben-pg.

File size: 2.0 KB
RevLine 
[3692]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"
[7877]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)"
[3692]6     url_expr="string:${portal_url}/login_student" visible="True">
7   <permission>View</permission>
8  </action>
[5623]9  <action title="Alumnus Login" action_id="login_alumni" category="student"
[4529]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> 
[3726]14 </action-provider>
15 <action-provider name="portal_actions">
[4544]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>
[4558]21  <action title="Alumni" action_id="view_alumni" category="navigation"
[4544]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">
[3726]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>     
[5616]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"/>
[3726]36 </action-provider>
[3692]37</object>
Note: See TracBrowser for help on using the repository browser.