Changeset 28 for waeup_product/trunk
- Timestamp:
- 30 Sep 2005, 19:33:50 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r26 r28 61 61 'id' : 'checkadmission', 62 62 'name' : 'Check Admission', 63 'action' : 'string:${ portal_url}/check_admission_form',63 'action' : 'string:${object/absolute_url}/check_admission_form', 64 64 'permission': (View, ), 65 65 'condition' : 'not:member', … … 70 70 'id' : 'new_student', 71 71 'name' : 'Add Student', 72 'action' : ' folder_factories',72 'action' : 'string:${object/absolute_url}/create_student', 73 73 'permission': (View), 74 'condition' : ' member',74 'condition' : 'python: member and here.portal_type == "StudentFolder"', 75 75 'category' : 'student', 76 76 'visible' : 1, … … 86 86 }, 87 87 { 'tool' : 'portal_actions', 88 'id' : ' edit_student',88 'id' : 'add_jamb', 89 89 'name' : 'Add Jamb Data', 90 'action' : 'folder_factories', 90 'action' : 'string:${object/absolute_url}/create_jamb', 91 'permission': (), 92 'condition' : 'python:here.portal_type != "Jamb" and len(object.contentItems()) == 0', 93 'category' : 'student', 94 'visible' : 1, 95 }, 96 { 'tool' : 'portal_actions', 97 'id' : 'edit_jamb', 98 'name' : 'Edit Jamb Data', 99 'action' : 'cpsdocument_edit_form', 91 100 'permission': ( ), 92 'condition' : 'python: len(object.contentItems()) == 0',101 'condition' : 'python: here.portal_type == "Jamb"', 93 102 'category' : 'student', 94 103 'visible' : 1, -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r27 r28 70 70 'cps_proxy_type': 'document', 71 71 'cps_display_as_document_in_listing': True, 72 'schemas': ('metadata', 'student'),73 'layouts': ('student'),72 'schemas': ['student'], 73 'layouts': ['student'], 74 74 'cps_workspace_wf': 'waeup_workspace_wf', 75 75 'cps_section_wf': 'waeup_section_wf',
Note: See TracChangeset for help on using the changeset viewer.