Changeset 2520


Ignore:
Timestamp:
4 Nov 2007, 00:24:54 (17 years ago)
Author:
Henrik Bettermann
Message:

application layouts adjusted

Location:
WAeUP_SRP
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2514 r2520  
    12121212    ###)
    12131213
    1214     security.declareProtected(ModifyPortalContent,'mass_create_applicant') ###(
    1215     def mass_create_applicant(self,mapping):
     1214    security.declareProtected(ModifyPortalContent,'mass_create_application') ###(
     1215    def mass_create_application(self,mapping):
    12161216        #import pdb;pdb.set_trace()
    12171217        try:
     
    12221222    ###)
    12231223
    1224     security.declareProtected(ModifyPortalContent,'mass_edit_applicant') ###(
    1225     def mass_edit_applicant(self,mapping):
     1224    security.declareProtected(ModifyPortalContent,'mass_edit_application') ###(
     1225    def mass_edit_application(self,mapping):
    12261226        #import pdb;pdb.set_trace()
    12271227        reg_no = mapping.get('reg_no')
     
    12401240            self._v_courses = {}
    12411241            for brain in res:
    1242                 self._v_courses[brain.code] = brain 
     1242                self._v_courses[brain.code] = brain
    12431243        course_id = mapping.get('code')
    12441244        if course_id not in self._v_courses.keys():
     
    12731273        #     self._v_courses = {}
    12741274        #     for brain in res:
    1275         #         self._v_courses[brain.code] = brain 
     1275        #         self._v_courses[brain.code] = brain
    12761276        # course_id = mapping.get('code')
    12771277        # if course_id not in self._v_courses.keys():
     
    16651665                total_imported += 1
    16661666                logger.info("%(total_imported)d of %(total)d %(em)s" % vars())
    1667            
     1667
    16681668            if total and not total % 100:
    16691669                transaction.commit()
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_manage.xml

    r2509 r2520  
    3030
    3131  <widget name="screening_score" meta_type="String Widget">
    32     <property name="title">Score</property>
     32    <property name="title">Screening Score</property>
    3333    <property name="fields">
    3434      <element value="screening_score"/>
    3535    </property>
    36     <property name="label">Score</property>
    37     <property name="label_edit">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  
     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
    5151  <widget name="notice" meta_type="Text Widget">
    5252    <property name="title">Notice</property>
     
    698698    <property name="css_class_expr">string:row</property>
    699699  </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>
    702703    <property name="fields">
    703704      <element value="course_admitted"/>
    704705    </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 
    721723  <widget name="hq_type" meta_type="Select Widget">
    722724    <property name="title">Higher Qualification</property>
     
    871873  </row>
    872874  <row>
     875   <cell name="course_admitted" ncols="2"/>
     876  </row> 
     877  <row>
    873878   <cell name="notice" ncols="2"/>
    874   </row>   
     879  </row>
    875880 </table>
    876881</object>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_pce.xml

    r2511 r2520  
    3131
    3232  <widget name="screening_score" meta_type="String Widget">
    33     <property name="title">Score</property>
     33    <property name="title">Screening Score</property>
    3434    <property name="fields">
    3535      <element value="screening_score"/>
    3636    </property>
    37     <property name="label">Score</property>
    38     <property name="label_edit">Score</property>
     37    <property name="label">Screening Score</property>
     38    <property name="label_edit">Screening Score</property>
    3939    <property name="description"></property>
    4040    <property name="help"></property>
     
    6969    </property>
    7070    <property name="hidden_readonly_layout_modes"/>
     71    <property name="hidden_empty">True</property>
    7172    <property name="css_class_expr">string:row</property>
    7273  </widget>
     
    663664    <property name="css_class_expr">string:row</property>
    664665  </widget>
    665   <widget name="course_admitted" meta_type="String Widget">
    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>
    667668    <property name="fields">
    668669      <element value="course_admitted"/>
    669670    </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> 
    685688
    686689 <table>
     
    696699  <row>
    697700   <cell name="middlenames" ncols="2"/>
    698   </row>   
     701  </row>
    699702  <row>
    700703   <cell name="lastname" ncols="2"/>
     
    749752  </row>
    750753  <row>
     754   <cell name="course_admitted" ncols="2"/>
     755  </row>   
     756  <row>
    751757   <cell name="notice" ncols="2"/>
    752758  </row>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_pde.xml

    r2509 r2520  
    88  <property name="flexible_widgets"/>
    99  <property name="validate_values_expr"></property>
    10  
     10
    1111  <widget name="student_id" meta_type="String Widget">
    1212    <property name="title">Student Id</property>
     
    2828    <property name="hidden_readonly_layout_modes"/>
    2929    <property name="css_class_expr">string:row</property>
    30   </widget> 
     30  </widget>
    3131
    3232  <widget name="screening_score" meta_type="String Widget">
    33     <property name="title">Score</property>
     33    <property name="title">Screening Score</property>
    3434    <property name="fields">
    3535      <element value="screening_score"/>
    3636    </property>
    37     <property name="label">Score</property>
    38     <property name="label_edit">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  
     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
    5353  <widget name="notice" meta_type="Text Widget">
    5454    <property name="title">Notice</property>
     
    6969    </property>
    7070    <property name="hidden_readonly_layout_modes"/>
     71    <property name="hidden_empty">True</property>
    7172    <property name="css_class_expr">string:row</property>
    7273  </widget>
     
    711712    <property name="css_class_expr">string:row</property>
    712713  </widget>
    713   <widget name="course_admitted" meta_type="String Widget">
    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>
    715716    <property name="fields">
    716717      <element value="course_admitted"/>
    717718    </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> 
    733736
    734737  <widget name="hq_type" meta_type="Select Widget">
     
    858861  </row>
    859862  <row>
     863   <cell name="course_admitted" ncols="2"/>
     864  </row>   
     865  <row>
    860866   <cell name="notice" ncols="2"/>
    861   </row>   
     867  </row>
    862868 </table>
    863869</object>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_prence.xml

    r2509 r2520  
    3131
    3232  <widget name="screening_score" meta_type="String Widget">
    33     <property name="title">Score</property>
     33    <property name="title">Screening Score</property>
    3434    <property name="fields">
    3535      <element value="screening_score"/>
    3636    </property>
    37     <property name="label">Score</property>
    38     <property name="label_edit">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  
     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
    5353  <widget name="notice" meta_type="Text Widget">
    5454    <property name="title">Notice</property>
     
    6969    </property>
    7070    <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>
    7374
    7475  <widget name="reg_no" meta_type="JambRegNo Widget">
     
    658659    <property name="css_class_expr">string:row</property>
    659660  </widget>
    660   <widget name="course_admitted" meta_type="String Widget">
    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>
    662663    <property name="fields">
    663664      <element value="course_admitted"/>
    664665    </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> 
    680683
    681684 <table>
     
    726729  </row>
    727730  <row>
     731   <cell name="course_admitted" ncols="2"/>
     732  </row>   
     733  <row>
    728734   <cell name="notice" ncols="2"/>
    729   </row>     
     735  </row>
    730736 </table>
    731737</object>
  • WAeUP_SRP/fceokene/profiles/default/layouts/application_pume.xml

    r2509 r2520  
    3131
    3232  <widget name="screening_score" meta_type="String Widget">
    33     <property name="title">Score</property>
     33    <property name="title">Screening Score</property>
    3434    <property name="fields">
    3535      <element value="screening_score"/>
    3636    </property>
    37     <property name="label">Score</property>
    38     <property name="label_edit">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  
     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
    5353  <widget name="notice" meta_type="Text Widget">
    5454    <property name="title">Notice</property>
     
    6969    </property>
    7070    <property name="hidden_readonly_layout_modes"/>
     71    <property name="hidden_empty">True</property>
    7172    <property name="css_class_expr">string:row</property>
    7273  </widget>
     
    645646    <property name="css_class_expr">string:row</property>
    646647  </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>
    649651    <property name="fields">
    650652      <element value="course_admitted"/>
    651653    </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> 
    667671
    668672 <table>
     
    725729  </row>
    726730  <row>
     731   <cell name="course_admitted" ncols="2"/>
     732  </row>   
     733  <row>
    727734   <cell name="notice" ncols="2"/>
    728   </row>     
     735  </row>
    729736 </table>
    730737</object>
  • WAeUP_SRP/fceokene/profiles/default/layouts/import_application.xml

    r2509 r2520  
    620620    <property name="css_class_expr">string:row</property>
    621621  </widget>
    622   <widget name="course_admitted" meta_type="String Widget">
    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>
    624624    <property name="fields">
    625625      <element value="course_admitted"/>
    626626    </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>   
    638640    <property name="css_class_expr">string:row</property>
    639641  </widget>
Note: See TracChangeset for help on using the changeset viewer.