Changeset 2818


Ignore:
Timestamp:
28 Nov 2007, 20:19:18 (17 years ago)
Author:
Henrik Bettermann
Message:

enable editing of jamb_reg_no

fix layout_personal_edit

Location:
WAeUP_SRP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_layout/layout_personal_edit.pt

    r2243 r2818  
    1414    <tr tal:define="lga python:context.getStudentBaseInfo()['student']['lga'];
    1515                    lga_voc python:context.portal_vocabularies.local_gov_areas.get(lga)">
    16       <td><div class="label">State / LGA</div>:
    17       </td>
     16      <th>State / LGA:</th>
    1817      <td tal:condition="lga_voc">
    1918         <span tal:replace="lga_voc" />
  • WAeUP_SRP/uniben/profiles/default/layouts/student_application.xml

    r2738 r2818  
    193193  <property name="hidden_readonly_layout_modes"/>
    194194 </widget>
    195  
     195
    196196 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
    197197  <property name="title">Registration Number</property>
     
    208208  <property name="display_width">12</property>
    209209  <property name="size_max">12</property>
    210   <property name="catalog">students_catalog</property> 
    211  </widget>
    212  
     210  <property name="catalog">students_catalog</property>
     211 </widget>
     212
    213213 <widget name="jamb_score" meta_type="String Widget">
    214214  <property name="title">JAMB Score</property>
     
    473473    <property name="css_class_expr">string:row</property>
    474474  </widget>
     475 
     476 <widget name="reg_no_string" meta_type="String Widget">
     477  <property name="title">Registration Number String</property>
     478  <property name="fields">
     479   <element value="jamb_reg_no"/>
     480  </property>
     481  <property name="label">Registration Number String</property>
     482  <property name="label_edit">Registration Number String</property>
     483  <property name="readonly_layout_modes">
     484   <element value="create"/>
     485   <element value="edit"/>
     486  </property>
     487  <property name="readonly_if_expr">context/isStudent</property>
     488  <property name="hidden_layout_modes">
     489   <element value="create"/>
     490   <element value="edit"/>
     491   <element value="view"/>
     492  </property>
     493  <property name="hidden_readonly_layout_modes"/>
     494 </widget>
     495 
    475496
    476497 <table>
     
    478499   <cell name="jamb_reg_no" ncols="3"/>
    479500  </row>
     501  <row>
     502   <cell name="reg_no_string" ncols="3"/>
     503  </row> 
    480504  <row>
    481505   <cell name="app_ac_pin" ncols="3"/>
Note: See TracChangeset for help on using the changeset viewer.