- Timestamp:
- 27 Oct 2005, 19:30:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r103 r106 512 512 ###) 513 513 514 accobook = { ###( 515 'widgets': { 516 'sc_id': { 517 'type': 'String Widget', 518 'data': { 519 'title': 'SC ID', 520 'fields': ('accommodation_sc_id',), 521 'is_required': False, 522 'label': 'Card Serial Number ', 523 'label_edit': 'Card Serial Number', 524 'description': 'Card Serial Number ', 525 'help': 'This can be found on the bottom right of the reverse side of your Scratch Card', 526 'is_i18n': False, 527 'readonly_layout_modes': (), 528 'hidden_layout_modes': (), 529 'hidden_readonly_layout_modes': (), 530 'hidden_empty': False, 531 'hidden_if_expr': 'python:1', 532 'css_class': '', 533 'widget_mode_expr': '', 534 'display_width': 10, 535 'size_max': 0, 536 }, 537 }, 538 'sc_pin': { 539 'type': 'Scratchcard Pin Widget', 540 'data': { 541 'title': 'SC Pin', 542 'fields': ('accommodation_sc_pin'), 543 'is_required': True, 544 'label': 'PIN', 545 'label_edit': 'PIN', 546 'description': '', 547 'help': 'PIN-(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', 548 'is_i18n': False, 549 'readonly_layout_modes': (), 550 'hidden_layout_modes': (), 551 'hidden_readonly_layout_modes': (), 552 'hidden_empty': False, 553 'hidden_if_expr': '', 554 'css_class': '', 555 'widget_mode_expr': '', 556 'display_width': 10, 557 'size_max': 10, 558 }, 559 }, 560 }, 561 'layout': { 562 'style_prefix': 'layout_accobook_', 563 'flexible_widgets': (), 564 'ncols': 1, 565 'rows': [ 566 #[{'widget_id': 'sc_id', 'ncols': 1},], 567 [{'widget_id': 'sc_pin', 'ncols': 1},], 568 [{'widget_id': 'jamb_id', 'ncols': 1},], 569 ] 570 }, 571 } 572 ###) 573 514 574 admission_status = { ###( 515 575 'widgets': { … … 645 705 'title': 'Faculty', 646 706 'fields': ('faculty',), 647 'is_required': False,707 'is_required': True, 648 708 'label': 'faculty', 649 709 'label_edit': 'faculty', … … 652 712 'is_i18n': False, 653 713 'vocabulary': 'faculties', 714 }, 715 }, 716 'course': { 717 'type': 'String Widget', 718 'data': { 719 'title': 'Study Course', 720 'fields': ('course',), 721 'is_required': True, 722 'label': 'Study Course', 723 'label_edit': 'Study Course', 724 'description': '', 725 'help': 'The course to study', 726 'is_i18n': False, 654 727 }, 655 728 }, … … 789 862 [{'widget_id': 'aggregate', 'ncols': 1},], 790 863 [{'widget_id': 'faculty', 'ncols': 1},], 864 [{'widget_id': 'course', 'ncols': 1},], 791 865 [{'widget_id': 'listing_date', 'ncols': 1},], 792 866 #[{'widget_id': '2nd_choice', 'ncols': 1},], … … 816 890 [{'widget_id': 'aggregate', 'ncols': 1},], 817 891 [{'widget_id': 'faculty', 'ncols': 1},], 892 [{'widget_id': 'course', 'ncols': 1},], 818 893 [{'widget_id': 'listing_date', 'ncols': 1},], 819 894 #[{'widget_id': '2nd_choice', 'ncols': 1},],
Note: See TracChangeset for help on using the changeset viewer.