Changeset 141
- Timestamp:
- 2 Nov 2005, 16:52:46 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r140 r141 497 497 pr( "Start migrate") 498 498 pr("migrating courses") 499 for fac in [getattr(waeup,f.id) for f in waeup.contentValues(filter={'portal_type': ('Faculty',)})]: 499 academics = getattr(waeup,'academics') 500 for fac in [getattr(academics,f.id) for f in academics.contentValues(filter={'portal_type': ('Faculty',)})]: 500 501 pr("Faculty: %s" % fac.title_or_id()) 501 502 for dep in [getattr(fac,d.id) for d in fac.contentValues(filter={'portal_type': ('Department',)})]: -
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r139 r141 992 992 ###) 993 993 994 study_level = { ###( 995 'widgets': { 996 'title': { 997 'type': 'Select Widget', 998 'data': { 999 'title': '', 1000 'fields': ('Title',), 1001 'is_required': True, 1002 'label': 'Study Level', 1003 'label_edit': 'Study Level', 1004 'description': '', 1005 'help': '', 1006 'vocabulary': 'courselevel', 1007 'is_i18n': False, 1008 'readonly_layout_modes': (), 1009 'hidden_layout_modes': (), 1010 'hidden_readonly_layout_modes': (), 1011 'hidden_empty': False, 1012 'hidden_if_expr': '', 1013 'css_class': '', 1014 'widget_mode_expr': '', 1015 'display_width': 20, 1016 'size_max': 0, 1017 }, 1018 }, 1019 }, 1020 'layout': { 1021 'style_prefix': 'layout_waeup_', 1022 'flexible_widgets': (), 1023 'ncols': 1, 1024 'rows': [ 1025 [{'widget_id': 'title', 'ncols': 1},], 1026 ] 1027 }, 1028 } 1029 ###) 1030 994 1031 accommodation = { ###( 995 1032 'widgets': { … … 1177 1214 layouts['waeup_common'] = common_layout 1178 1215 layouts['student'] = student_layout 1216 layouts['study_level'] = study_level 1179 1217 layouts['student_personal'] = student_personal_layout 1180 1218 layouts['accommodation'] = accommodation
Note: See TracChangeset for help on using the changeset viewer.