Changeset 100 for waeup_product/trunk/skins
- Timestamp:
- 27 Oct 2005, 09:27:23 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r99 r100 211 211 ###) 212 212 213 course_type = { ###( 214 'title': 'WAeUP Course', 215 'description': '', 216 'content_icon': 'student.gif', 217 'content_meta_type': 'Course', 218 'product': 'WAeUP', 219 'factory': 'addCourse', 220 'immediate_view': 'cpsdocument_view', 221 'global_allow': True, 222 'filter_content_types': True, 223 'allowed_content_types': (), 224 'allow_discussion': False, 225 'cps_is_searchable': True, 226 'cps_proxy_type': 'document', 227 'cps_display_as_document_in_listing': True, 228 'schemas': ['metadata','common','course'], 229 'layouts': ['course',], 230 'flexible_layouts': (), 231 'layout_clusters': ['metadata:metadata','coursetotal:metadata,course'], 232 'cps_section_wf': 'waeup_section_wf', 233 'use_content_status_history': 0, 234 'actions': ( 235 {'id': 'view', 236 'name': 'action_view', 237 'action': 'string:${object_url}/course_index_html', 238 'condition': '', 239 'permission': ('View',), 240 'category': 'object', 241 'visible': True,}, 242 {'id': 'edit', 243 'name': 'action_edit', 244 'action': 'string:${object_url}/waeup_edit_form', 245 'condition': '', 246 'permission': (CourseManage,), 247 'category': 'object', 248 'visible': True,}, 249 {'id': 'contents', 250 'name': 'action_folder_contents', 251 'action': 'folder_contents', 252 'condition': "python:member and 'Manager' in member.getRoles()", 253 'permissions': (ModifyPortalContent,UniversityManage,)}, 254 {'id': 'edit', 255 'name': 'action_edit', 256 'action': 'cpsdocument_edit_form', 257 'condition': "python:member and 'Manager' in member.getRoles()", 258 'permissions': (ModifyPortalContent,UniversityManage,)}, 259 {'id': 'metadata', 260 'name': 'action_metadata', 261 'action': 'cpsdocument_metadata', 262 'condition': "python:member and 'Manager' in member.getRoles()", 263 'permissions': (ModifyPortalContent,)}, 264 {'id': 'localroles', 265 'name': 'action_local_roles', 266 'action': 'folder_localrole_form', 267 'condition': 'python:0', 268 'permissions': (ModifyPortalContent,)}, 269 ) 270 } 271 ###) 272 213 273 jamb_type = { ###( 214 274 'title': "JAMB data",
Note: See TracChangeset for help on using the changeset viewer.