Changeset 152 for waeup_product/trunk/skins/waeup_default
- Timestamp:
- 4 Nov 2005, 17:07:18 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r151 r152 1021 1021 'rows': [ 1022 1022 [{'widget_id': 'Title', 'ncols': 1},], 1023 #[{'widget_id': 'Year', 'ncols': 1},], 1023 1024 ] 1024 1025 }, -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r144 r152 105 105 }, 106 106 }, 107 } 108 # 109 ###) 110 111 studylevel = { ###( 107 112 } 108 113 # … … 486 491 schemas['students'] = students_folder_schema 487 492 schemas['student'] = student_schema 493 schemas['studylevel'] = studylevel 488 494 schemas['course_results'] = course_results_schema 489 495 schemas['student_personal'] = student_personal_schema -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r139 r152 131 131 'name': 'delegate', 132 132 'action': 'folder_localrole_form', 133 'permissions': (ModifyPortalContent ),134 'visible' : 0,133 'permissions': (ModifyPortalContent,UniversityManage), 134 'visible' : 1, 135 135 }, 136 136 ## {'id': 'contents', … … 319 319 'description': 'The data from JAMB', 320 320 'content_icon': '', 321 'content_meta_type': ' CPS Document',322 'product': ' CPSDocument',323 'factory': 'add CPSDocument',321 'content_meta_type': 'Jamb', 322 'product': 'WAeUP', 323 'factory': 'addJamb', 324 324 'immediate_view': 'cpsdocument_view', 325 325 'global_allow': True, … … 426 426 'content_meta_type': 'Level', 427 427 'product': 'WAeUP', 428 'factory': 'add LevelFolder',428 'factory': 'addStudyLevel', 429 429 'immediate_view': 'folder_view', 430 430 'global_allow': True, … … 477 477 'content_meta_type': 'Semester', 478 478 'product': 'WAeUP', 479 'factory': 'add LevelFolder',479 'factory': 'addSemester', 480 480 'immediate_view': 'folder_view', 481 481 'global_allow': True, … … 505 505 {'id': 'add_course_ticket', 506 506 'name': 'Add Course Ticket', 507 'condition': "python:member and 'Student'in member.getRoles()",508 507 'action' : 'add_course_ticket', 509 508 #'action': 'folder_factories', 510 'permissions': ( StudentManage,)},509 'permissions': (ModifyPortalContent,UniversityManage,StudentManage)}, 511 510 {'id': 'metadata', 512 511 'name': 'action_metadata', 513 512 'action': 'cpsdocument_metadata', 514 'condition': "python:member and 'Manager' in member.getRoles()", 515 'permissions': (UniversityManage,)}, 513 'permissions': (ModifyPortalContent,UniversityManage,)}, 516 514 {'id': 'localroles', 517 515 'name': 'delegate', 518 516 'action': 'folder_localrole_form', 519 'permissions': ( UniversityManage,),517 'permissions': (ModifyPortalContent,UniversityManage,StudentManage), 520 518 'visible': 0, 521 519 }, … … 531 529 'product': 'WAeUP', 532 530 'factory': 'addCourseTicket', 533 'immediate_view': ' folder_view',531 'immediate_view': 'cpsdocument_view', 534 532 'global_allow': True, 535 533 'filter_content_types': True, … … 791 789 {'id': 'add_accommodation', 792 790 'name': 'Add Accommodation Hall', 793 'condition': "python:member and 'UniversityManager'in member.getRoles()",791 #'condition': "python:member and 'UniversityManager'in member.getRoles()", 794 792 'action' : 'add_accommodation', 795 793 #'action': 'folder_factories',
Note: See TracChangeset for help on using the changeset viewer.