Changeset 27 for waeup_product/trunk
- Timestamp:
- 30 Sep 2005, 18:06:13 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Workflows/WAeUPWorkflow.py
r19 r27 62 62 s = wf.states.get('work') 63 63 64 s.setPermission(View, 1, ('Student ',))65 s.setPermission(ModifyPortalContent, 1, ('Student Admin',))64 s.setPermission(View, 1, ('Students',)) 65 s.setPermission(ModifyPortalContent, 1, ('StudentManager',)) 66 66 67 67 s.setInitialState('work') -
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r25 r27 109 109 layouts['student'] = student_layout 110 110 111 checkadmission= {111 scratch_card = { 112 112 'widgets': { 113 ' reg_nr': {114 'type': 'St udentIdWidget',115 'data': { 116 'title': 'S tudentID',117 'fields': (' reg_nr',),113 'sc_id': { 114 'type': 'String Widget', 115 'data': { 116 'title': 'SC ID', 117 'fields': ('sc_id',), 118 118 'is_required': True, 119 'label': 'S tudentID',120 'label_edit': 'S tudentID',119 'label': 'Scratch card ID', 120 'label_edit': 'Scratch card ID', 121 121 'description': '', 122 122 'help': '', … … 157 157 }, 158 158 'layout': { 159 'style_prefix': 'layout_ admission_',159 'style_prefix': 'layout_default_', 160 160 'flexible_widgets': (), 161 161 'ncols': 1, … … 167 167 } 168 168 169 layouts[' checkadmission'] = checkadmission169 layouts['scratch_card'] = scratch_card 170 170 171 171 jamb_layout = { -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r25 r27 302 302 schemas['student'] = student_schema 303 303 schemas['jamb'] = jamb_schema 304 schemas['scratch card'] = scratch_card304 schemas['scratch_card'] = scratch_card 305 305 306 306 return schemas -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r25 r27 18 18 'global_allow': 1, 19 19 'filter_content_types': 1, 20 'allowed_content_types': ('Student','ScratchCard'), 20 'allowed_content_types': ('Student'), 21 #'allowed_content_types': ('Student','ScratchCard'), 21 22 'allow_discussion': 0, 22 23 'cps_is_searchable': 1, … … 24 25 'cps_proxy_type': 'folder', 25 26 'schemas': ['metadata', 'common', 'folder'], 26 'layouts': [' common', 'folder'],27 'layouts': ['folder'], 27 28 'layout_clusters': ['metadata:metadata'], 28 29 'cps_section_wf': 'waeup_section_wf', … … 70 71 'cps_display_as_document_in_listing': True, 71 72 'schemas': ('metadata', 'student'), 72 'layouts': (' common', 'student'),73 'layouts': ('student'), 73 74 'cps_workspace_wf': 'waeup_workspace_wf', 74 75 'cps_section_wf': 'waeup_section_wf', … … 119 120 'cps_proxy_type': 'document', 120 121 'cps_display_as_document_in_listing': True, 121 'schemas': (' metadata', 'scratch_card'),122 'layouts': (' common', 'scratch_card'),122 'schemas': ('scratch_card'), 123 'layouts': ('scratch_card'), 123 124 'cps_workspace_wf': 'waeup_workspace_wf', 124 125 'cps_section_wf': 'waeup_section_wf',
Note: See TracChangeset for help on using the changeset viewer.