source: WAeUP_SRP/trunk/profiles/default/actions.xml @ 2035

Last change on this file since 2035 was 2030, checked in by Henrik Bettermann, 17 years ago

show Documents tab only for SectionOfficer?

  • Property svn:keywords set to Id
File size: 9.7 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="My stuff" action_id="mystuff" category="user"
5     condition_expr="python: member and portal.portal_membership.getHomeFolder()"
6     url_expr="string:${portal/portal_membership/getHomeUrl}/folder_contents"
7     visible="True">
8   <permission>View</permission>
9  </action>
10  <action title="Search Members" action_id="member_view" category="user"
11     condition_expr="member"
12     url_expr="string:${portal_url}/search_members_form" visible="False">
13   <permission>View</permission>
14  </action>
15  <action title="Staff Login" action_id="login_staff" category="student"
16     condition_expr="not: member" url_expr="string:${portal_url}/login_staff"
17     visible="True">
18   <permission>View</permission>
19  </action>
20  <action title="Log out" action_id="logout" category="user"
21     condition_expr="member" url_expr="string:${portal_url}/logout"
22     visible="True">
23   <permission>View</permission>
24  </action>
25  <action title="action_my_preferences" action_id="preferences"
26     category="user"
27     condition_expr="python:member and member.has_role(&quot;Member&quot;)"
28     url_expr="string:${portal_url}/member_view?dirname=members&amp;id=${member}"
29     visible="True">
30   <permission>View</permission>
31  </action>
32  <action title="Student Login" action_id="login_student" category="student"
33     condition_expr="python: not member and (portal.portal_url().find('uniben.waeup.org') &gt;-1 or portal.portal_url().find('uniben-demo.waeup.org') &gt;-1)"
34     url_expr="string:${portal_url}/login_student" visible="True">
35   <permission>View</permission>
36  </action>
37  <action title="Log out" action_id="logout_student" category="student"
38     condition_expr="member" url_expr="string:${portal_url}/logout"
39     visible="True"/>
40 </action-provider>
41 <action-provider name="portal_actions">
42  <action title="action_print" action_id="print" category="global_header"
43     condition_expr=""
44     url_expr="string:javascript:if%20(window.print)%20window.print();"
45     visible="False">
46   <permission>View</permission>
47  </action>
48  <action title="Search Portal" action_id="waeup_search" category="global"
49     condition_expr="member" url_expr="string:./waeup_search_form"
50     visible="True">
51   <permission>View</permission>
52  </action>
53  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
54     category="global" condition_expr=""
55     url_expr="string:${portal_url}/vocabularies_manage_form" visible="False">
56   <permission>Modify portal content</permission>
57  </action>
58  <action title="Directories" action_id="directories" category="global"
59     condition_expr="python:portal.portal_directories.isSectionOfficer()"
60     url_expr="string:${portal_url}/cpsdirectory_view" visible="True">
61   <permission>View</permission>
62  </action>
63  <action title="Portal Members" action_id="members" category="global"
64     condition_expr="python:portal.portal_directories.members.isSectionOfficer()"
65     url_expr="string:${portal_url}/search_members_form" visible="True">
66   <permission>View</permission>
67  </action>
68  <action title="Home" action_id="home" category="navigation"
69     condition_expr="member" url_expr="string:${portal_url}/campus"
70     visible="True">
71   <permission>View</permission>
72  </action>
73  <action title="Academics" action_id="view_academics" category="navigation"
74     condition_expr="member" url_expr="string:${portal_url}/campus/academics"
75     visible="True">
76   <permission>View</permission>
77  </action>
78  <action title="Hostels" action_id="view_accommodation" category="navigation"
79     condition_expr="python:portal.campus.accommodation.isSectionOfficer()"
80     url_expr="string:${portal_url}/campus/accommodation" visible="True">
81   <permission>View</permission>
82  </action>
83  <action title="Students" action_id="view_students" category="navigation"
84     condition_expr="python:portal.campus.students.isStaff()"
85     url_expr="string:${portal_url}/campus/students" visible="True">
86   <permission>View</permission>
87  </action>
88  <action title="PINs" action_id="view_pins" category="navigation"
89     condition_expr="python:portal.campus.pins.isSectionOfficer()"
90     url_expr="string:${portal_url}/campus/pins" visible="True">
91   <permission>View</permission>
92  </action>
93  <action title="Documents" action_id="view_documents" category="navigation"
94     condition_expr="python:portal.campus.documents.isSectionOfficer()"
95     url_expr="string:${portal_url}/campus/documents"
96     visible="True">
97   <permission>View</permission>
98  </action>
99  <action title="Contact" action_id="contact_admin" category="navigation"
100     condition_expr="member"
101     url_expr="string:${portal_url}/contact_admin_form" visible="True">
102   <permission>View</permission>
103  </action>
104  <action title="Enquiries" action_id="support_anon"
105     category="student_navigation" condition_expr="not:member"
106     url_expr="string:${portal_url}/contact_admin_form" visible="True">
107   <permission>View</permission>
108  </action>
109  <action title="Enquiries" action_id="support" category="student_navigation"
110     condition_expr="member" url_expr="string:${portal_url}/support_form"
111     visible="True">
112   <permission>View</permission>
113  </action>
114  <action title="Unchecked Items" action_id="unchecked" category="object"
115     condition_expr="python:member and 'academics' in object_url"
116     url_expr="string:./unchecked" visible="True">
117   <permission>Modify portal content</permission>
118  </action>
119  <action title="Apply for PUME" action_id="apply_admission"
120     category="student" condition_expr="not:member"
121     url_expr="string:${portal_url}/apply_admission" visible="False">
122   <permission>View</permission>
123  </action>
124  <action title="View PUME Results" action_id="display_pume_results"
125     category="student" condition_expr="not:member"
126     url_expr="string:${portal_url}/display_pume_results" visible="True">
127   <permission>View</permission>
128  </action>
129  <action title="View PDE Results" action_id="display_pde_results"
130     category="student" condition_expr="not:member"
131     url_expr="string:${portal_url}/display_pde_results" visible="True">
132   <permission>View</permission>
133  </action>
134  <action title="View CEST Results" action_id="display_cest_results"
135     category="student" condition_expr="not:member"
136     url_expr="string:${portal_url}/display_cest_results" visible="True">
137   <permission>View</permission>
138  </action>
139  <action title="Check Admission" action_id="check_admission"
140     category="student" condition_expr="not:member"
141     url_expr="string:${portal_url}/check_admission" visible="True">
142   <permission>View</permission>
143  </action>
144  <action title="Return 2006/2007" action_id="display_session_results"
145     category="student" condition_expr="not:member"
146     url_expr="string:${portal_url}/display_session_results" visible="True">
147   <permission>View</permission>
148  </action>
149  <action title="Previous Sessions" action_id="firsttime_login"
150     category="student" condition_expr="not:member"
151     url_expr="string:${portal_url}/firsttime_login" visible="True">
152   <permission>View</permission>
153  </action>
154  <action title="Change Password" action_id="change_password"
155     category="student" condition_expr="member"
156     url_expr="string:${portal_url}/change_password" visible="False">
157   <permission>View</permission>
158  </action>
159  <action title="Home" action_id="students_home" category="student_navigation"
160     condition_expr="not:member" url_expr="string:${portal_url}"
161     visible="True">
162   <permission>View</permission>
163  </action>
164  <action title="Prospectus" action_id="prospectus"
165     category="student_navigation" condition_expr="member"
166     url_expr="string:${portal_url}/campus/academics" visible="True">
167   <permission>View</permission>
168  </action>
169  <action title="My Study" action_id="registration"
170     category="student_navigation" condition_expr="member"
171     url_expr="string:${portal_url}/campus/students" visible="True">
172   <permission>View</permission>
173  </action>
174  <action title="My Accommodation" action_id="reserve_accommodation"
175     category="student_navigation" condition_expr="member"
176     url_expr="string:${portal_url}/campus/students/${member}/reserve_accommodation" visible="True"/>
177  <action title="My Payments" action_id="payments"
178     category="student_navigation" condition_expr="member"
179     url_expr="string:${portal_url}/campus/students/${member}/payments"
180     visible="True"/>
181  <action title="Register Courses" action_id="register_courses"
182     category="student" condition_expr="member"
183     url_expr="string:${portal_url}/register_courses" visible="False"/>
184  <action title="Request Transfer" action_id="request_transfer"
185     category="student"
186     condition_expr="python: here.isStudent() and here.getStudentWorkflowInfo()['tr']"
187     url_expr="string:${portal_url}/request_transfer" visible="True"/>
188 </action-provider>
189 <action-provider name="portal_registration">
190  <action title="Join" action_id="join" category="user"
191     condition_expr="python:portal.portal_registration.enable_portal_joining and not member"
192     url_expr="string:${portal_url}/join_form" visible="True">
193   <permission>Add portal member</permission>
194  </action>
195 </action-provider>
196 <action-provider name="portal_themes"/>
197 <action-provider name="portal_types"/>
198 <action-provider name="portal_syndication"/>
199 <action-provider name="portal_workflow"/>
200 <action-provider name="portal_properties">
201  <action title="Reconfigure Portal" action_id="configPortal"
202     category="global" condition_expr=""
203     url_expr="string:${portal_url}/config_form" visible="True">
204   <permission>Manage portal</permission>
205  </action>
206 </action-provider>
207</object>
Note: See TracBrowser for help on using the repository browser.