Changeset 2520
- Timestamp:
- 4 Nov 2007, 00:24:54 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r2514 r2520 1212 1212 ###) 1213 1213 1214 security.declareProtected(ModifyPortalContent,'mass_create_applica nt') ###(1215 def mass_create_applica nt(self,mapping):1214 security.declareProtected(ModifyPortalContent,'mass_create_application') ###( 1215 def mass_create_application(self,mapping): 1216 1216 #import pdb;pdb.set_trace() 1217 1217 try: … … 1222 1222 ###) 1223 1223 1224 security.declareProtected(ModifyPortalContent,'mass_edit_applica nt') ###(1225 def mass_edit_applica nt(self,mapping):1224 security.declareProtected(ModifyPortalContent,'mass_edit_application') ###( 1225 def mass_edit_application(self,mapping): 1226 1226 #import pdb;pdb.set_trace() 1227 1227 reg_no = mapping.get('reg_no') … … 1240 1240 self._v_courses = {} 1241 1241 for brain in res: 1242 self._v_courses[brain.code] = brain 1242 self._v_courses[brain.code] = brain 1243 1243 course_id = mapping.get('code') 1244 1244 if course_id not in self._v_courses.keys(): … … 1273 1273 # self._v_courses = {} 1274 1274 # for brain in res: 1275 # self._v_courses[brain.code] = brain 1275 # self._v_courses[brain.code] = brain 1276 1276 # course_id = mapping.get('code') 1277 1277 # if course_id not in self._v_courses.keys(): … … 1665 1665 total_imported += 1 1666 1666 logger.info("%(total_imported)d of %(total)d %(em)s" % vars()) 1667 1667 1668 1668 if total and not total % 100: 1669 1669 transaction.commit() -
WAeUP_SRP/fceokene/profiles/default/layouts/application_manage.xml
r2509 r2520 30 30 31 31 <widget name="screening_score" meta_type="String Widget"> 32 <property name="title">Sc ore</property>32 <property name="title">Screening Score</property> 33 33 <property name="fields"> 34 34 <element value="screening_score"/> 35 35 </property> 36 <property name="label">Sc ore</property>37 <property name="label_edit">Sc ore</property>38 <property name="description"></property> 39 <property name="help"></property> 40 <property name="is_i18n">False</property> 41 <property name="widget_mode_expr"></property> 42 <property name="readonly_layout_modes"> 43 </property> 44 <property name="hidden_layout_modes"> 45 <element value="create"/> 46 </property> 47 <property name="hidden_readonly_layout_modes"/> 48 <property name="css_class_expr">string:row</property> 49 </widget> 50 36 <property name="label">Screening Score</property> 37 <property name="label_edit">Screening Score</property> 38 <property name="description"></property> 39 <property name="help"></property> 40 <property name="is_i18n">False</property> 41 <property name="widget_mode_expr"></property> 42 <property name="readonly_layout_modes"> 43 </property> 44 <property name="hidden_layout_modes"> 45 <element value="create"/> 46 </property> 47 <property name="hidden_readonly_layout_modes"/> 48 <property name="css_class_expr">string:row</property> 49 </widget> 50 51 51 <widget name="notice" meta_type="Text Widget"> 52 52 <property name="title">Notice</property> … … 698 698 <property name="css_class_expr">string:row</property> 699 699 </widget> 700 <widget name="course_admitted" meta_type="String Widget"> 701 <property name="title">Course of Study</property> 700 701 <widget name="course_admitted" meta_type="Select Widget"> 702 <property name="title">Course of Study (admitted)</property> 702 703 <property name="fields"> 703 704 <element value="course_admitted"/> 704 705 </property> 705 <property name="label">Course of Study</property> 706 <property name="label_edit">Course of Study</property> 707 <property name="description"></property> 708 <property name="help"></property> 709 <property name="is_i18n">False</property> 710 <property name="widget_mode_expr"></property> 711 <property name="readonly_layout_modes"> 712 <element value="edit"/> 713 </property> 714 <property name="hidden_layout_modes"> 715 <element value="create"/> 716 </property> 717 <property name="hidden_readonly_layout_modes"/> 718 <property name="css_class_expr">string:row</property> 719 </widget> 720 706 <property name="label">Course of Study (admitted)</property> 707 <property name="label_edit">Course of Study (admitted)</property> 708 <property name="description"></property> 709 <property name="help"></property> 710 <property name="is_i18n">False</property> 711 <property name="widget_mode_expr"></property> 712 <property name="readonly_layout_modes"> 713 </property> 714 <property name="hidden_layout_modes"> 715 <element value="create"/> 716 </property> 717 <property name="hidden_readonly_layout_modes"/> 718 <property name="sorted">True</property> 719 <property name="vocabulary">cos</property> 720 <property name="css_class_expr">string:row</property> 721 </widget> 722 721 723 <widget name="hq_type" meta_type="Select Widget"> 722 724 <property name="title">Higher Qualification</property> … … 871 873 </row> 872 874 <row> 875 <cell name="course_admitted" ncols="2"/> 876 </row> 877 <row> 873 878 <cell name="notice" ncols="2"/> 874 </row> 879 </row> 875 880 </table> 876 881 </object> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_pce.xml
r2511 r2520 31 31 32 32 <widget name="screening_score" meta_type="String Widget"> 33 <property name="title">Sc ore</property>33 <property name="title">Screening Score</property> 34 34 <property name="fields"> 35 35 <element value="screening_score"/> 36 36 </property> 37 <property name="label">Sc ore</property>38 <property name="label_edit">Sc ore</property>37 <property name="label">Screening Score</property> 38 <property name="label_edit">Screening Score</property> 39 39 <property name="description"></property> 40 40 <property name="help"></property> … … 69 69 </property> 70 70 <property name="hidden_readonly_layout_modes"/> 71 <property name="hidden_empty">True</property> 71 72 <property name="css_class_expr">string:row</property> 72 73 </widget> … … 663 664 <property name="css_class_expr">string:row</property> 664 665 </widget> 665 <widget name="course_admitted" meta_type="S tringWidget">666 <property name="title">Course of Study </property>666 <widget name="course_admitted" meta_type="Select Widget"> 667 <property name="title">Course of Study (admitted)</property> 667 668 <property name="fields"> 668 669 <element value="course_admitted"/> 669 670 </property> 670 <property name="label">Course of Study</property> 671 <property name="label_edit">Course of Study</property> 672 <property name="description"></property> 673 <property name="help"></property> 674 <property name="is_i18n">False</property> 675 <property name="widget_mode_expr"></property> 676 <property name="readonly_layout_modes"> 677 <element value="edit"/> 678 </property> 679 <property name="hidden_layout_modes"> 680 <element value="create"/> 681 </property> 682 <property name="hidden_readonly_layout_modes"/> 683 <property name="css_class_expr">string:row</property> 684 </widget> 671 <property name="label">Course of Study (admitted)</property> 672 <property name="label_edit">Course of Study (admitted)</property> 673 <property name="description"></property> 674 <property name="help"></property> 675 <property name="is_i18n">False</property> 676 <property name="widget_mode_expr"></property> 677 <property name="readonly_layout_modes"> 678 <element value="edit"/> 679 </property> 680 <property name="hidden_layout_modes"> 681 <element value="create"/> 682 </property> 683 <property name="hidden_readonly_layout_modes"/> 684 <property name="sorted">True</property> 685 <property name="vocabulary">cos</property> 686 <property name="css_class_expr">string:row</property> 687 </widget> 685 688 686 689 <table> … … 696 699 <row> 697 700 <cell name="middlenames" ncols="2"/> 698 </row> 701 </row> 699 702 <row> 700 703 <cell name="lastname" ncols="2"/> … … 749 752 </row> 750 753 <row> 754 <cell name="course_admitted" ncols="2"/> 755 </row> 756 <row> 751 757 <cell name="notice" ncols="2"/> 752 758 </row> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_pde.xml
r2509 r2520 8 8 <property name="flexible_widgets"/> 9 9 <property name="validate_values_expr"></property> 10 10 11 11 <widget name="student_id" meta_type="String Widget"> 12 12 <property name="title">Student Id</property> … … 28 28 <property name="hidden_readonly_layout_modes"/> 29 29 <property name="css_class_expr">string:row</property> 30 </widget> 30 </widget> 31 31 32 32 <widget name="screening_score" meta_type="String Widget"> 33 <property name="title">Sc ore</property>33 <property name="title">Screening Score</property> 34 34 <property name="fields"> 35 35 <element value="screening_score"/> 36 36 </property> 37 <property name="label">Sc ore</property>38 <property name="label_edit">Sc ore</property>39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 37 <property name="label">Screening Score</property> 38 <property name="label_edit">Screening Score</property> 39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 53 53 <widget name="notice" meta_type="Text Widget"> 54 54 <property name="title">Notice</property> … … 69 69 </property> 70 70 <property name="hidden_readonly_layout_modes"/> 71 <property name="hidden_empty">True</property> 71 72 <property name="css_class_expr">string:row</property> 72 73 </widget> … … 711 712 <property name="css_class_expr">string:row</property> 712 713 </widget> 713 <widget name="course_admitted" meta_type="S tringWidget">714 <property name="title">Course of Study </property>714 <widget name="course_admitted" meta_type="Select Widget"> 715 <property name="title">Course of Study (admitted)</property> 715 716 <property name="fields"> 716 717 <element value="course_admitted"/> 717 718 </property> 718 <property name="label">Course of Study</property> 719 <property name="label_edit">Course of Study</property> 720 <property name="description"></property> 721 <property name="help"></property> 722 <property name="is_i18n">False</property> 723 <property name="widget_mode_expr"></property> 724 <property name="readonly_layout_modes"> 725 <element value="edit"/> 726 </property> 727 <property name="hidden_layout_modes"> 728 <element value="create"/> 729 </property> 730 <property name="hidden_readonly_layout_modes"/> 731 <property name="css_class_expr">string:row</property> 732 </widget> 719 <property name="label">Course of Study (admitted)</property> 720 <property name="label_edit">Course of Study (admitted)</property> 721 <property name="description"></property> 722 <property name="help"></property> 723 <property name="is_i18n">False</property> 724 <property name="widget_mode_expr"></property> 725 <property name="readonly_layout_modes"> 726 <element value="edit"/> 727 </property> 728 <property name="hidden_layout_modes"> 729 <element value="create"/> 730 </property> 731 <property name="hidden_readonly_layout_modes"/> 732 <property name="sorted">True</property> 733 <property name="vocabulary">cos</property> 734 <property name="css_class_expr">string:row</property> 735 </widget> 733 736 734 737 <widget name="hq_type" meta_type="Select Widget"> … … 858 861 </row> 859 862 <row> 863 <cell name="course_admitted" ncols="2"/> 864 </row> 865 <row> 860 866 <cell name="notice" ncols="2"/> 861 </row> 867 </row> 862 868 </table> 863 869 </object> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_prence.xml
r2509 r2520 31 31 32 32 <widget name="screening_score" meta_type="String Widget"> 33 <property name="title">Sc ore</property>33 <property name="title">Screening Score</property> 34 34 <property name="fields"> 35 35 <element value="screening_score"/> 36 36 </property> 37 <property name="label">Sc ore</property>38 <property name="label_edit">Sc ore</property>39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 37 <property name="label">Screening Score</property> 38 <property name="label_edit">Screening Score</property> 39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 53 53 <widget name="notice" meta_type="Text Widget"> 54 54 <property name="title">Notice</property> … … 69 69 </property> 70 70 <property name="hidden_readonly_layout_modes"/> 71 <property name="css_class_expr">string:row</property> 72 </widget> 71 <property name="hidden_empty">True</property> 72 <property name="css_class_expr">string:row</property> 73 </widget> 73 74 74 75 <widget name="reg_no" meta_type="JambRegNo Widget"> … … 658 659 <property name="css_class_expr">string:row</property> 659 660 </widget> 660 <widget name="course_admitted" meta_type="S tringWidget">661 <property name="title">Course of Study </property>661 <widget name="course_admitted" meta_type="Select Widget"> 662 <property name="title">Course of Study (admitted)</property> 662 663 <property name="fields"> 663 664 <element value="course_admitted"/> 664 665 </property> 665 <property name="label">Course of Study</property> 666 <property name="label_edit">Course of Study</property> 667 <property name="description"></property> 668 <property name="help"></property> 669 <property name="is_i18n">False</property> 670 <property name="widget_mode_expr"></property> 671 <property name="readonly_layout_modes"> 672 <element value="edit"/> 673 </property> 674 <property name="hidden_layout_modes"> 675 <element value="create"/> 676 </property> 677 <property name="hidden_readonly_layout_modes"/> 678 <property name="css_class_expr">string:row</property> 679 </widget> 666 <property name="label">Course of Study (admitted)</property> 667 <property name="label_edit">Course of Study (admitted)</property> 668 <property name="description"></property> 669 <property name="help"></property> 670 <property name="is_i18n">False</property> 671 <property name="widget_mode_expr"></property> 672 <property name="readonly_layout_modes"> 673 <element value="edit"/> 674 </property> 675 <property name="hidden_layout_modes"> 676 <element value="create"/> 677 </property> 678 <property name="hidden_readonly_layout_modes"/> 679 <property name="sorted">True</property> 680 <property name="vocabulary">cos</property> 681 <property name="css_class_expr">string:row</property> 682 </widget> 680 683 681 684 <table> … … 726 729 </row> 727 730 <row> 731 <cell name="course_admitted" ncols="2"/> 732 </row> 733 <row> 728 734 <cell name="notice" ncols="2"/> 729 </row> 735 </row> 730 736 </table> 731 737 </object> -
WAeUP_SRP/fceokene/profiles/default/layouts/application_pume.xml
r2509 r2520 31 31 32 32 <widget name="screening_score" meta_type="String Widget"> 33 <property name="title">Sc ore</property>33 <property name="title">Screening Score</property> 34 34 <property name="fields"> 35 35 <element value="screening_score"/> 36 36 </property> 37 <property name="label">Sc ore</property>38 <property name="label_edit">Sc ore</property>39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 37 <property name="label">Screening Score</property> 38 <property name="label_edit">Screening Score</property> 39 <property name="description"></property> 40 <property name="help"></property> 41 <property name="is_i18n">False</property> 42 <property name="widget_mode_expr"></property> 43 <property name="readonly_layout_modes"> 44 <element value="edit"/> 45 </property> 46 <property name="hidden_layout_modes"> 47 <element value="create"/> 48 </property> 49 <property name="hidden_readonly_layout_modes"/> 50 <property name="css_class_expr">string:row</property> 51 </widget> 52 53 53 <widget name="notice" meta_type="Text Widget"> 54 54 <property name="title">Notice</property> … … 69 69 </property> 70 70 <property name="hidden_readonly_layout_modes"/> 71 <property name="hidden_empty">True</property> 71 72 <property name="css_class_expr">string:row</property> 72 73 </widget> … … 645 646 <property name="css_class_expr">string:row</property> 646 647 </widget> 647 <widget name="course_admitted" meta_type="String Widget"> 648 <property name="title">Course of Study</property> 648 649 <widget name="course_admitted" meta_type="Select Widget"> 650 <property name="title">Course of Study (admitted)</property> 649 651 <property name="fields"> 650 652 <element value="course_admitted"/> 651 653 </property> 652 <property name="label">Course of Study</property> 653 <property name="label_edit">Course of Study</property> 654 <property name="description"></property> 655 <property name="help"></property> 656 <property name="is_i18n">False</property> 657 <property name="widget_mode_expr"></property> 658 <property name="readonly_layout_modes"> 659 <element value="edit"/> 660 </property> 661 <property name="hidden_layout_modes"> 662 <element value="create"/> 663 </property> 664 <property name="hidden_readonly_layout_modes"/> 665 <property name="css_class_expr">string:row</property> 666 </widget> 654 <property name="label">Course of Study (admitted)</property> 655 <property name="label_edit">Course of Study (admitted)</property> 656 <property name="description"></property> 657 <property name="help"></property> 658 <property name="is_i18n">False</property> 659 <property name="widget_mode_expr"></property> 660 <property name="readonly_layout_modes"> 661 <element value="edit"/> 662 </property> 663 <property name="hidden_layout_modes"> 664 <element value="create"/> 665 </property> 666 <property name="hidden_readonly_layout_modes"/> 667 <property name="sorted">True</property> 668 <property name="vocabulary">cos</property> 669 <property name="css_class_expr">string:row</property> 670 </widget> 667 671 668 672 <table> … … 725 729 </row> 726 730 <row> 731 <cell name="course_admitted" ncols="2"/> 732 </row> 733 <row> 727 734 <cell name="notice" ncols="2"/> 728 </row> 735 </row> 729 736 </table> 730 737 </object> -
WAeUP_SRP/fceokene/profiles/default/layouts/import_application.xml
r2509 r2520 620 620 <property name="css_class_expr">string:row</property> 621 621 </widget> 622 <widget name="course_admitted" meta_type="S tringWidget">623 <property name="title">Course of Study </property>622 <widget name="course_admitted" meta_type="Select Widget"> 623 <property name="title">Course of Study (admitted)</property> 624 624 <property name="fields"> 625 625 <element value="course_admitted"/> 626 626 </property> 627 <property name="label">Course of Study</property> 628 <property name="label_edit">Course of Study</property> 629 <property name="description"></property> 630 <property name="help"></property> 631 <property name="is_i18n">False</property> 632 <property name="widget_mode_expr"></property> 633 <property name="readonly_layout_modes"> 634 </property> 635 <property name="hidden_layout_modes"> 636 </property> 637 <property name="hidden_readonly_layout_modes"/> 627 <property name="label">Course of Study (admitted)</property> 628 <property name="label_edit">Course of Study (admitted)</property> 629 <property name="description"></property> 630 <property name="help"></property> 631 <property name="is_i18n">False</property> 632 <property name="widget_mode_expr"></property> 633 <property name="readonly_layout_modes"> 634 </property> 635 <property name="hidden_layout_modes"> 636 </property> 637 <property name="hidden_readonly_layout_modes"/> 638 <property name="sorted">True</property> 639 <property name="vocabulary">cos</property> 638 640 <property name="css_class_expr">string:row</property> 639 641 </widget>
Note: See TracChangeset for help on using the changeset viewer.