Changeset 107 for waeup_product/trunk/skins/waeup_default
- Timestamp:
- 27 Oct 2005, 23:58:38 (20 years ago)
- Location:
- waeup_product/trunk/skins/waeup_default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r106 r107 542 542 'fields': ('accommodation_sc_pin'), 543 543 'is_required': True, 544 'label': ' PIN',545 'label_edit': ' PIN',546 'description': '', 547 'help': 'P IN-(Personal Identification Number) is an 8 or 12 digit number on the reverse side of the scratch card which you can purchase from many Banks',544 'label': 'enter an Accommodation PIN', 545 'label_edit': 'enter an Accommodation PIN', 546 'description': '', 547 'help': 'Please enter a PIN valid for Accomodation booking', 548 548 'is_i18n': False, 549 549 'readonly_layout_modes': (), … … 566 566 #[{'widget_id': 'sc_id', 'ncols': 1},], 567 567 [{'widget_id': 'sc_pin', 'ncols': 1},], 568 [{'widget_id': 'jamb_id', 'ncols': 1},],569 568 ] 570 569 }, … … 1098 1097 }, 1099 1098 }, 1099 'beds_assigned': { 1100 'type': 'Int Widget', 1101 'data': { 1102 'title': '', 1103 'fields': ('beds_assigned',), 1104 'is_required': True, 1105 'label': 'Assigned Beds', 1106 'label_edit': 'Assigned', 1107 'description': '', 1108 'help': 'Number of Beds already assined', 1109 'is_i18n': False, 1110 }, 1111 }, 1100 1112 }, 1101 1113 'layout': { … … 1111 1123 [{'widget_id': 'rooms_per_floor', 'ncols': 1},], 1112 1124 [{'widget_id': 'beds_per_room', 'ncols': 1},], 1125 [{'widget_id': 'beds_assigned', 'ncols': 1},], 1113 1126 ] 1114 1127 }, … … 1122 1135 layouts['student_personal'] = student_personal_layout 1123 1136 layouts['accommodation'] = accommodation 1137 layouts['accobook'] = accobook 1124 1138 layouts['scratch_card'] = scratch_card 1125 1139 layouts['admission'] = admission -
waeup_product/trunk/skins/waeup_default/getWAeUPSchemas.py
r106 r107 65 65 }, 66 66 }, 67 'accom odation_sc_id': {67 'accommodation_sc_id': { 68 68 'type': 'CPS String Field', 69 69 'data': { … … 83 83 }, 84 84 }, 85 'accom odation_sc_pin': {85 'accommodation_sc_pin': { 86 86 'type': 'CPS String Field', 87 87 'data': { … … 355 355 'type': 'CPS String Field', 356 356 'data': { 357 'default_expr': 'string:',358 357 'is_searchabletext': True, 359 358 }, … … 362 361 'type': 'CPS String Field', 363 362 'data': { 364 'default_expr': 'string:',365 363 'is_searchabletext': True, 366 364 }, … … 369 367 'type': 'CPS Boolean Field', 370 368 'data': { 371 'default_expr': 'string:',372 369 'is_searchabletext': True, 373 370 }, … … 376 373 'type': 'CPS Int Field', 377 374 'data': { 378 'default_expr': 'string:',379 375 'is_searchabletext': False, 380 376 }, … … 383 379 'type': 'CPS Int Field', 384 380 'data': { 385 'default_expr': 'string:',386 381 'is_searchabletext': False, 387 382 }, … … 390 385 'type': 'CPS Int Field', 391 386 'data': { 392 'default_expr': 'string:',393 387 'is_searchabletext': False, 394 388 }, … … 397 391 'type': 'CPS Int Field', 398 392 'data': { 399 'default_expr': 'string:', 393 'is_searchabletext': False, 394 }, 395 }, 396 'beds_assigned': { 397 'type': 'CPS Int Field', 398 'data': { 399 'is_searchabletext': False, 400 }, 401 }, 402 'beds_assigned_list': { 403 'type': 'CPS String List Field', 404 'data': { 400 405 'is_searchabletext': False, 401 406 }, -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r106 r107 538 538 {'id': 'view', 539 539 'name': 'action_view', 540 'action': ' string:${portal_url}/sections/waeup/Accomodation/accommodation_index_html',540 'action': 'accommodation_index_html', 541 541 'condition': '', 542 542 'permission': (View,), 543 543 'category': 'object', 544 544 'visible': True,}, 545 {'id': 'add_accommodation', 546 'name': 'Add an Accommodation Hall', 547 'condition': "python:member and not 'Student'in member.getRoles()", 548 'action' : 'add_accommodation', 549 #'action': 'folder_factories', 550 'permissions': (UniversityManage,)}, 545 551 {'id': 'metadata', 546 552 'name': 'action_metadata',
Note: See TracChangeset for help on using the changeset viewer.