Changeset 195 for waeup_product
- Timestamp:
- 22 Nov 2005, 18:23:15 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r181 r195 206 206 #'action' : 'string:${portal_url}/accommodation', 207 207 'permissions': (UniversityManage), 208 #'permissions': (ModifyPortalContent,UniversityManage,StudentManage), 209 'category' : 'main_tabs', 210 'visible' : 1, 211 }, 212 { 'tool' : 'portal_actions', 213 'id' : 'chat', 214 'name' : 'Chat', 215 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/chat')", 216 #'action' : 'string:${portal_url}/accommodation', 217 'permissions': (View), 208 218 #'permissions': (ModifyPortalContent,UniversityManage,StudentManage), 209 219 'category' : 'main_tabs', -
waeup_product/trunk/skins/waeup_default/temporary_view_all.py
r169 r195 13 13 #return context.temporary_view_all_form(psm=psm) 14 14 if context.portal_membership.isAnonymousUser(): 15 return context.students.student_view_all_form(psm=psm) 15 if not url0.endswith('chat'): 16 return context.students.student_view_all_form(psm=psm) 17 return context.Chat() 16 18 else: 17 19 if url0.find(uname) > 0 or 'UniversityManager' in roles or 'Manager' in roles:
Note: See TracChangeset for help on using the changeset viewer.