Changeset 78
- Timestamp:
- 22 Oct 2005, 12:10:25 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_default
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r76 r78 792 792 course = { ###( 793 793 'widgets': { 794 'title': {795 'type': 'String Widget',796 'data': {797 'title': '',798 'fields': ('title',),799 'is_required': True,800 'label': 'Title',801 'label_edit': 'Title',802 'description': '',803 'help': '',804 'is_i18n': False,805 'display_width': 10,806 'size_max': 0,807 },808 },794 ## 'title': { 795 ## 'type': 'String Widget', 796 ## 'data': { 797 ## 'title': '', 798 ## 'fields': ('title',), 799 ## 'is_required': True, 800 ## 'label': 'Title', 801 ## 'label_edit': 'Title', 802 ## 'description': '', 803 ## 'help': '', 804 ## 'is_i18n': False, 805 ## 'display_width': 10, 806 ## 'size_max': 0, 807 ## }, 808 ## }, 809 809 'level': { 810 810 'type': 'String Widget', … … 865 865 'help': '', 866 866 'is_i18n': False, 867 'display_width': 10,867 'display_width': 2, 868 868 'size_max': 0, 869 869 }, -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r68 r78 329 329 schemas['student_personal'] = student_personal_schema 330 330 schemas['jamb'] = jamb_schema 331 #schemas['scratch_card'] = scratch_card 332 schemas['faculty'] = faculty_schema 333 schemas['department'] = department_schema 331 334 schemas['course'] = course_schema 332 #schemas['scratch_card'] = scratch_card333 335 334 336 return schemas -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r76 r78 282 282 'description': '', 283 283 'content_icon': '', 284 'content_meta_type': ' Student',284 'content_meta_type': 'Faculty', 285 285 'product': 'WAeUP', 286 286 'factory': 'addFaculty', 287 'immediate_view': ' cpsdocument_view',287 'immediate_view': 'folder_view', 288 288 'global_allow': True, 289 289 'filter_content_types': True, … … 291 291 'allow_discussion': False, 292 292 'cps_is_searchable': True, 293 'cps_proxy_type': ' document',293 'cps_proxy_type': 'folder', 294 294 'cps_display_as_document_in_listing': True, 295 295 'schemas': ['metadata','common','faculty'], 296 'layouts': ['waeup_common', 'faculty'],296 'layouts': ['waeup_common',], 297 297 'flexible_layouts': (), 298 298 'layout_clusters': ['metadata:metadata'], … … 314 314 'title': 'WAeUP Department', 315 315 'description': '', 316 'content_icon': ' student.gif',316 'content_icon': '', 317 317 'content_meta_type': 'Department', 318 318 'product': 'WAeUP', 319 319 'factory': 'addDepartment', 320 'immediate_view': ' cpsdocument_view',320 'immediate_view': 'folder_view', 321 321 'global_allow': True, 322 322 'filter_content_types': True, … … 324 324 'allow_discussion': False, 325 325 'cps_is_searchable': True, 326 'cps_proxy_type': ' document',326 'cps_proxy_type': 'folder', 327 327 'cps_display_as_document_in_listing': True, 328 328 'schemas': ['metadata','common','department'], 329 'layouts': ['waeup_common', 'department'],329 'layouts': ['waeup_common',], 330 330 'flexible_layouts': (), 331 331 'layout_clusters': ['metadata:metadata'], … … 335 335 {'id': 'view', 336 336 'name': 'action_view', 337 'action': 'string:${object_url}/depar ment_index_html',337 'action': 'string:${object_url}/department_index_html', 338 338 'condition': '', 339 339 'permission': ('View',), … … 359 359 'cps_proxy_type': 'document', 360 360 'cps_display_as_document_in_listing': True, 361 'schemas': ['metadata','common',' student'],362 'layouts': ['waeup_common',' student'],361 'schemas': ['metadata','common','course'], 362 'layouts': ['waeup_common','course'], 363 363 'flexible_layouts': (), 364 364 'layout_clusters': ['metadata:metadata'], -
waeup_product/trunk/skins/waeup_default/university_view.py
r73 r78 7 7 member = context.portal_membership.getAuthenticatedMember() 8 8 if member: 9 if 'Students' in member.getGroups(): 9 if 'Manager' in member.getRoles(): 10 return context.folder_view() 11 elif 'Students' in member.getGroups(): 10 12 return context.students.students_folder_view_student(psm=psm,groups=groups) 11 if 'StudentManager' in member.getGroups():13 elif 'StudentManager' in member.getGroups(): 12 14 return context.students.student_folder_view_manager(psm=psm,groups=groups) 13 15 return context.students.students_folder_view_anon(psm=psm,groups=groups)
Note: See TracChangeset for help on using the changeset viewer.