Changeset 119 for waeup_product/trunk/skins/waeup_default
- Timestamp:
- 28 Oct 2005, 19:44:25 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r113 r119 51 51 'action': 'folder_contents', 52 52 'condition': "python:member and 'Manager' in member.getRoles()", 53 'condition': "",54 53 'permissions': (ModifyPortalContent,)}, 55 54 {'id': 'edit', … … 106 105 { 107 106 'id' : 'add_jamb', 108 'name' : 'Add Student JAMB',107 'name' : 'Add JAMB Data', 109 108 'action' : 'string:${object/absolute_url}/create_jamb', 110 109 'permissions': (UniversityManage,StudentManage)}, 111 {'id': 'localroles', 112 'name': 'delegate', 113 'action': 'folder_localrole_form', 114 'permissions': (UniversityManage,) 115 }, 110 { 111 'id': 'localroles', 112 'name': 'delegate', 113 'action': 'folder_localrole_form', 114 'permissions': (ModifyPortalContent), 115 'visible' : 0, 116 }, 116 117 ## {'id': 'contents', 117 118 ## 'name': 'action_folder_contents', … … 159 160 'permissions': (View,)}, 160 161 {'id': 'add_faculty', 161 'name': 'Add aFaculty',162 'name': 'Add Faculty', 162 163 'condition': "python:member and 'UniversityManager'in member.getRoles()", 163 164 'action' : 'string:${object/absolute_url}/create_common?type_name=Faculty', … … 208 209 'condition': "python:member and 'Manager' in member.getRoles()", 209 210 'permissions': (UniversityManage,)}, 210 211 {'id': 'localroles', 211 212 'name': 'delegate', 212 213 'action': 'folder_localrole_form', 213 'permissions': (UniversityManage,) 214 'permissions': (ModifyPortalContent), 215 'visible' : 0, 214 216 }, 215 217 ) … … 306 308 'permission': (ModifyPortalContent,StudentManage), 307 309 }, 308 310 {'id': 'localroles', 309 311 'name': 'delegate', 310 312 'action': 'folder_localrole_form', 311 'permissions': (UniversityManage,) 313 'permissions': (ModifyPortalContent), 314 'visible' : 0, 312 315 }, 313 316 { … … 407 410 'visible': True,}, 408 411 {'id': 'add_department', 409 'name': 'Add aDepartment',412 'name': 'Add Department', 410 413 'action' : 'string:${object/absolute_url}/create_common?type_name=Department', 411 414 'permissions': (ModifyPortalContent,UniversityManage,)}, … … 428 431 'name': 'delegate', 429 432 'action': 'folder_localrole_form', 430 'permissions': (UniversityManage,) 433 'permissions': (ModifyPortalContent), 434 'visible' : 0, 431 435 }, 432 436 ) … … 469 473 'visible': True,}, 470 474 {'id': 'create_course', 471 'name': 'Add aCourse',475 'name': 'Add Course', 472 476 'action' : 'string:${object/absolute_url}/create_course', 473 477 'permissions': (ModifyPortalContent,UniversityManage,)}, … … 490 494 'name': 'delegate', 491 495 'action': 'folder_localrole_form', 492 'permissions': (UniversityManage,) 493 }, 494 ) 495 } 496 ###) 497 498 course_type = { ###( 496 'permissions': (ModifyPortalContent), 497 'visible' : 0, 498 }, 499 ) 500 } 501 ###) 502 503 course_type = { ###( 499 504 'title': 'WAeUP Course', 500 505 'description': '', … … 550 555 'name': 'delegate', 551 556 'action': 'folder_localrole_form', 552 'permissions': (UniversityManage,) 557 'permissions': (ModifyPortalContent), 558 'visible' : 0, 553 559 }, 554 560 ) … … 586 592 'visible': True,}, 587 593 {'id': 'add_accommodation', 588 'name': 'Add anAccommodation Hall',589 'condition': "python:member and not 'Student'in member.getRoles()",594 'name': 'Add Accommodation Hall', 595 'condition': "python:member and 'UniversityManager'in member.getRoles()", 590 596 'action' : 'add_accommodation', 591 597 #'action': 'folder_factories', … … 606 612 ###) 607 613 608 accommodation = { ###( 614 accommodation = { ###( 609 615 'title': 'WAeUP Accommodation', 610 616 'description': '',
Note: See TracChangeset for help on using the changeset viewer.