Changeset 1197 for WAeUP_SRP/trunk


Ignore:
Timestamp:
4 Jan 2007, 17:54:47 (18 years ago)
Author:
Henrik Bettermann
Message:

minor changes

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/actions.xml

    r1160 r1197  
    117117  </action>
    118118  <action title="Students" action_id="view_students" category="navigation"
    119      condition_expr="python:portal.campus.students.isStaff()"
     119     condition_expr="member"
    120120     url_expr="string:${portal_url}/campus/students" visible="True">
    121121   <permission>View</permission>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_personal.xml

    r1167 r1197  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9 
     9 <widget name="campus_address" meta_type="String Widget">
     10  <property name="title">Campus Address</property>
     11  <property name="fields">
     12   <element value="campus_address"/>
     13  </property>
     14  <property name="label">Campus Address</property>
     15  <property name="label_edit">Campus Address</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
     20 <widget name="disabled" meta_type="Boolean Widget">
     21  <property name="title">Disabled</property>
     22  <property name="fields">
     23   <element value="disabled"/>
     24  </property>
     25  <property name="label">Disabled</property>
     26  <property name="label_edit">Disabled</property>
     27  <property name="readonly_layout_modes"/>
     28  <property name="hidden_layout_modes"/>
     29  <property name="hidden_readonly_layout_modes"/>
     30  <property name="label_false">no</property>
     31  <property name="label_true">yes</property>
     32  <property name="render_format">radio</property>
     33 </widget>
     34 <widget name="email" meta_type="Email Widget">
     35  <property name="title">Email</property>
     36  <property name="fields">
     37   <element value="email"/>
     38  </property>
     39  <property name="label">Email</property>
     40  <property name="label_edit">Email</property>
     41  <property name="readonly_layout_modes"/>
     42  <property name="hidden_layout_modes"/>
     43  <property name="hidden_readonly_layout_modes"/>
     44 </widget>
    1045 <widget name="firstname" meta_type="String Widget">
    1146  <property name="title">Firstname</property>
     
    1348   <element value="firstname"/>
    1449  </property>
    15   <property name="is_required">False</property>
    1650  <property name="label">Firstname</property>
    1751  <property name="label_edit">Firstname</property>
     
    2054  <property name="hidden_readonly_layout_modes"/>
    2155 </widget>
    22 
     56 <widget name="for_lga" meta_type="String Widget">
     57  <property name="title">Foreign Student Local Government Area</property>
     58  <property name="fields">
     59   <element value="for_lga"/>
     60  </property>
     61  <property name="label">Foreign Student Local Government Area</property>
     62  <property name="label_edit">Foreign Student Local Government Area</property>
     63  <property name="readonly_layout_modes"/>
     64  <property name="hidden_layout_modes"/>
     65  <property name="hidden_readonly_layout_modes"/>
     66 </widget>
     67 <widget name="for_state" meta_type="Select Widget">
     68  <property name="title">Foreign Student State</property>
     69  <property name="fields">
     70   <element value="for_state"/>
     71  </property>
     72  <property name="label">Foreign Student State</property>
     73  <property name="label_edit">Foreign Student State</property>
     74  <property name="readonly_layout_modes"/>
     75  <property name="hidden_layout_modes"/>
     76  <property name="hidden_readonly_layout_modes"/>
     77  <property name="vocabulary">states</property>
     78 </widget>
     79 <widget name="former_surname" meta_type="String Widget">
     80  <property name="title">Former Surname</property>
     81  <property name="fields">
     82   <element value="former_surname"/>
     83  </property>
     84  <property name="label">Former Surname</property>
     85  <property name="label_edit">Former Surname</property>
     86  <property name="readonly_layout_modes"/>
     87  <property name="hidden_layout_modes"/>
     88  <property name="hidden_readonly_layout_modes"/>
     89 </widget>
     90 <widget name="fst_best_lang" meta_type="String Widget">
     91  <property name="title">First Best Language</property>
     92  <property name="fields">
     93   <element value="fst_best_lang"/>
     94  </property>
     95  <property name="label">First Best Language</property>
     96  <property name="label_edit">First Best Language</property>
     97  <property name="readonly_layout_modes"/>
     98  <property name="hidden_layout_modes"/>
     99  <property name="hidden_readonly_layout_modes"/>
     100 </widget>
     101 <widget name="hall" meta_type="String Widget">
     102  <property name="title">Residence Hall on Campus</property>
     103  <property name="fields">
     104   <element value="hall"/>
     105  </property>
     106  <property name="label">Residence Hall on Campus</property>
     107  <property name="label_edit">Residence Hall on Campus</property>
     108  <property name="readonly_layout_modes"/>
     109  <property name="hidden_layout_modes"/>
     110  <property name="hidden_readonly_layout_modes"/>
     111 </widget>
     112 <widget name="lastname" meta_type="String Widget">
     113  <property name="title">Lastname</property>
     114  <property name="fields">
     115   <element value="lastname"/>
     116  </property>
     117  <property name="label">Lastname</property>
     118  <property name="label_edit">Lastname</property>
     119  <property name="readonly_layout_modes"/>
     120  <property name="hidden_layout_modes"/>
     121  <property name="hidden_readonly_layout_modes"/>
     122 </widget>
     123 <widget name="marit_stat" meta_type="Boolean Widget">
     124  <property name="title">Marital Status</property>
     125  <property name="fields">
     126   <element value="marit_stat"/>
     127  </property>
     128  <property name="label">Marital Status</property>
     129  <property name="label_edit">Marital Status</property>
     130  <property name="readonly_layout_modes"/>
     131  <property name="hidden_layout_modes"/>
     132  <property name="hidden_readonly_layout_modes"/>
     133  <property name="label_false">single</property>
     134  <property name="label_true">married</property>
     135  <property name="render_format">radio</property>
     136 </widget>
    23137 <widget name="middlename" meta_type="String Widget">
    24138  <property name="title">Middlename</property>
     
    32146  <property name="hidden_readonly_layout_modes"/>
    33147 </widget>
    34 
    35  <widget name="lastname" meta_type="String Widget">
    36   <property name="title">Lastname</property>
    37   <property name="fields">
    38    <element value="lastname"/>
    39   </property>
    40   <property name="label">Lastname</property>
    41   <property name="label_edit">Lastname</property>
    42   <property name="readonly_layout_modes"/>
    43   <property name="hidden_layout_modes"/>
    44   <property name="hidden_readonly_layout_modes"/>
    45  </widget>
    46 
    47   <widget name="former_surname" meta_type="String Widget">
    48   <property name="title">Former Surname</property>
    49   <property name="fields">
    50    <element value="former_surname"/>
    51   </property>
    52   <property name="label">Former Surname</property>
    53   <property name="label_edit">Former Surname</property>
    54   <property name="readonly_layout_modes"/>
    55   <property name="hidden_layout_modes"/>
    56   <property name="hidden_readonly_layout_modes"/>
    57  </widget>
    58 
    59 
     148 <widget name="mother_tongue" meta_type="String Widget">
     149  <property name="title">Mother Tongue</property>
     150  <property name="fields">
     151   <element value="mother_tongue"/>
     152  </property>
     153  <property name="label">Mother Tongue</property>
     154  <property name="label_edit">Mother Tongue</property>
     155  <property name="readonly_layout_modes"/>
     156  <property name="hidden_layout_modes"/>
     157  <property name="hidden_readonly_layout_modes"/>
     158 </widget>
     159 <widget name="next_kin_address" meta_type="String Widget">
     160  <property name="title">Next of Kin Address</property>
     161  <property name="fields">
     162   <element value="next_kin_address"/>
     163  </property>
     164  <property name="label">Next of Kin Address</property>
     165  <property name="label_edit">Next of Kin Address</property>
     166  <property name="readonly_layout_modes"/>
     167  <property name="hidden_layout_modes"/>
     168  <property name="hidden_readonly_layout_modes"/>
     169 </widget>
     170 <widget name="next_kin_city" meta_type="String Widget">
     171  <property name="title">Next of Kin City</property>
     172  <property name="fields">
     173   <element value="next_kin_city"/>
     174  </property>
     175  <property name="label">Next of Kin City</property>
     176  <property name="label_edit">Next of Kin City</property>
     177  <property name="readonly_layout_modes"/>
     178  <property name="hidden_layout_modes"/>
     179  <property name="hidden_readonly_layout_modes"/>
     180 </widget>
     181 <widget name="next_kin_email" meta_type="Email Widget">
     182  <property name="title">Next of Kin Email</property>
     183  <property name="fields">
     184   <element value="next_kin_email"/>
     185  </property>
     186  <property name="label">Next of Kin Email</property>
     187  <property name="label_edit">Next of Kin Email</property>
     188  <property name="readonly_layout_modes"/>
     189  <property name="hidden_layout_modes"/>
     190  <property name="hidden_readonly_layout_modes"/>
     191 </widget>
     192 <widget name="next_kin_firstname" meta_type="String Widget">
     193  <property name="title">Next of Kin Firstname</property>
     194  <property name="fields">
     195   <element value="next_kin_firstname"/>
     196  </property>
     197  <property name="label">Next of Kin Firstname</property>
     198  <property name="label_edit">Next of Kin Firstname</property>
     199  <property name="readonly_layout_modes"/>
     200  <property name="hidden_layout_modes"/>
     201  <property name="hidden_readonly_layout_modes"/>
     202 </widget>
     203 <widget name="next_kin_lastname" meta_type="String Widget">
     204  <property name="title">Next of Kin Lastname</property>
     205  <property name="fields">
     206   <element value="next_kin_lastname"/>
     207  </property>
     208  <property name="label">Next of Kin Lastname</property>
     209  <property name="label_edit">Next of Kin Lastname</property>
     210  <property name="readonly_layout_modes"/>
     211  <property name="hidden_layout_modes"/>
     212  <property name="hidden_readonly_layout_modes"/>
     213 </widget>
     214 <widget name="next_kin_middlename" meta_type="String Widget">
     215  <property name="title">Next of Kin Middlename</property>
     216  <property name="fields">
     217   <element value="next_kin_middlename"/>
     218  </property>
     219  <property name="label">Next of Kin Middlename</property>
     220  <property name="label_edit">Next of Kin Middlename</property>
     221  <property name="readonly_layout_modes"/>
     222  <property name="hidden_layout_modes"/>
     223  <property name="hidden_readonly_layout_modes"/>
     224 </widget>
     225 <widget name="next_kin_phone" meta_type="String Widget">
     226  <property name="title">Next of Kin Phone</property>
     227  <property name="fields">
     228   <element value="next_kin_phone"/>
     229  </property>
     230  <property name="label">Next of Kin Phone</property>
     231  <property name="label_edit">Next of Kin Phone</property>
     232  <property name="readonly_layout_modes"/>
     233  <property name="hidden_layout_modes"/>
     234  <property name="hidden_readonly_layout_modes"/>
     235 </widget>
     236 <widget name="next_kin_relation" meta_type="String Widget">
     237  <property name="title">Next of Kin Relationship</property>
     238  <property name="fields">
     239   <element value="next_kin_relation"/>
     240  </property>
     241  <property name="label">Next of Kin Relationship</property>
     242  <property name="label_edit">Next of Kin Relationship</property>
     243  <property name="readonly_layout_modes"/>
     244  <property name="hidden_layout_modes"/>
     245  <property name="hidden_readonly_layout_modes"/>
     246 </widget>
     247 <widget name="next_kin_state" meta_type="String Widget">
     248  <property name="title">Next of Kin State</property>
     249  <property name="fields">
     250   <element value="next_kin_state"/>
     251  </property>
     252  <property name="label">Next of Kin State</property>
     253  <property name="label_edit">Next of Kin State</property>
     254  <property name="readonly_layout_modes"/>
     255  <property name="hidden_layout_modes"/>
     256  <property name="hidden_readonly_layout_modes"/>
     257 </widget>
     258 <widget name="notes" meta_type="Text Widget">
     259  <property name="title">Notes</property>
     260  <property name="fields">
     261   <element value="notes"/>
     262  </property>
     263  <property name="label">Notes</property>
     264  <property name="label_edit">Notes</property>
     265  <property name="readonly_layout_modes"/>
     266  <property name="hidden_layout_modes"/>
     267  <property name="hidden_readonly_layout_modes"/>
     268 </widget>
     269 <widget name="perm_address" meta_type="String Widget">
     270  <property name="title">Permanent Address</property>
     271  <property name="fields">
     272   <element value="perm_address"/>
     273  </property>
     274  <property name="label">Permanent Address</property>
     275  <property name="label_edit">Permanent Address</property>
     276  <property name="readonly_layout_modes"/>
     277  <property name="hidden_layout_modes"/>
     278  <property name="hidden_readonly_layout_modes"/>
     279 </widget>
     280 <widget name="perm_city" meta_type="String Widget">
     281  <property name="title">City</property>
     282  <property name="fields">
     283   <element value="perm_city"/>
     284  </property>
     285  <property name="label">City</property>
     286  <property name="label_edit">City</property>
     287  <property name="readonly_layout_modes"/>
     288  <property name="hidden_layout_modes"/>
     289  <property name="hidden_readonly_layout_modes"/>
     290 </widget>
     291 <widget name="phone" meta_type="String Widget">
     292  <property name="title">Phone</property>
     293  <property name="fields">
     294   <element value="phone"/>
     295  </property>
     296  <property name="label">Phone</property>
     297  <property name="label_edit">Phone</property>
     298  <property name="readonly_layout_modes"/>
     299  <property name="hidden_layout_modes"/>
     300  <property name="hidden_readonly_layout_modes"/>
     301 </widget>
     302 <widget name="religion" meta_type="Select Widget">
     303  <property name="title">Religion</property>
     304  <property name="fields">
     305   <element value="religion"/>
     306  </property>
     307  <property name="label">Religion</property>
     308  <property name="label_edit">Religion</property>
     309  <property name="readonly_layout_modes"/>
     310  <property name="hidden_layout_modes"/>
     311  <property name="hidden_readonly_layout_modes"/>
     312  <property name="vocabulary">religion</property>
     313 </widget>
     314 <widget name="scd_best_lang" meta_type="String Widget">
     315  <property name="title">Second Best Language</property>
     316  <property name="fields">
     317   <element value="scd_best_lang"/>
     318  </property>
     319  <property name="label">Second Best Language</property>
     320  <property name="label_edit">Second Best Language</property>
     321  <property name="readonly_layout_modes"/>
     322  <property name="hidden_layout_modes"/>
     323  <property name="hidden_readonly_layout_modes"/>
     324 </widget>
    60325 <widget name="sex" meta_type="Boolean Widget">
    61326  <property name="title">Sex</property>
     
    70335  <property name="label_false">male</property>
    71336  <property name="label_true">female</property>
    72  </widget>
    73 
    74  <widget name="for_lga" meta_type="String Widget">
    75   <property name="title">Foreign Student Local Government Area</property>
    76   <property name="fields">
    77    <element value="for_lga"/>
    78   </property>
    79   <property name="label">Foreign Student Local Government Area</property>
    80   <property name="label_edit">Foreign Student Local Government Area</property>
    81   <property name="readonly_layout_modes"/>
    82   <property name="hidden_layout_modes"/>
    83   <property name="hidden_readonly_layout_modes"/>
    84  </widget>
    85 
    86  <widget name="for_state" meta_type="Select Widget">
    87   <property name="title">Foreign Student State</property>
    88   <property name="fields">
    89    <element value="for_state"/>
    90   </property>
    91   <property name="label">Foreign Student State</property>
    92   <property name="label_edit">Foreign Student State</property>
    93   <property name="readonly_layout_modes"/>
    94   <property name="hidden_layout_modes"/>
    95   <property name="hidden_readonly_layout_modes"/>
    96   <property name="vocabulary">states</property>
    97  </widget>
    98 
    99  <widget name="marit_stat" meta_type="Boolean Widget">
    100   <property name="title">Marital Status</property>
    101   <property name="fields">
    102    <element value="marit_stat"/>
    103   </property>
    104   <property name="label">Marital Status</property>
    105   <property name="label_edit">Marital Status</property>
    106   <property name="readonly_layout_modes"/>
    107   <property name="hidden_layout_modes"/>
    108   <property name="hidden_readonly_layout_modes"/>
    109   <property name="label_false">single</property>
    110   <property name="label_true">married</property>
    111  </widget>
    112 
    113  <widget name="religion" meta_type="Select Widget">
    114   <property name="title">Religion</property>
    115   <property name="fields">
    116    <element value="religion"/>
    117   </property>
    118   <property name="label">Religion</property>
    119   <property name="label_edit">Religion</property>
    120   <property name="readonly_layout_modes"/>
    121   <property name="hidden_layout_modes"/>
    122   <property name="hidden_readonly_layout_modes"/>
    123   <property name="vocabulary">religion</property>
    124  </widget>
    125 
    126  <widget name="perm_address" meta_type="String Widget">
    127   <property name="title">Permanent Address</property>
    128   <property name="fields">
    129    <element value="perm_address"/>
    130   </property>
    131   <property name="label">Permanent Address</property>
    132   <property name="label_edit">Permanent Address</property>
    133   <property name="readonly_layout_modes"/>
    134   <property name="hidden_layout_modes"/>
    135   <property name="hidden_readonly_layout_modes"/>
    136  </widget>
    137 
    138  <widget name="perm_city" meta_type="String Widget">
    139   <property name="title">City</property>
    140   <property name="fields">
    141    <element value="perm_city"/>
    142   </property>
    143   <property name="label">City</property>
    144   <property name="label_edit">City</property>
    145   <property name="readonly_layout_modes"/>
    146   <property name="hidden_layout_modes"/>
    147   <property name="hidden_readonly_layout_modes"/>
    148  </widget>
    149 
    150  <widget name="campus_address" meta_type="String Widget">
    151   <property name="title">Campus Address</property>
    152   <property name="fields">
    153    <element value="campus_address"/>
    154   </property>
    155   <property name="label">Campus Address</property>
    156   <property name="label_edit">Campus Address</property>
    157   <property name="readonly_layout_modes"/>
    158   <property name="hidden_layout_modes"/>
    159   <property name="hidden_readonly_layout_modes"/>
    160  </widget>
    161 
    162  <widget name="phone" meta_type="String Widget">
    163   <property name="title">Phone</property>
    164   <property name="fields">
    165    <element value="phone"/>
    166   </property>
    167   <property name="label">Phone</property>
    168   <property name="label_edit">Phone</property>
    169   <property name="readonly_layout_modes"/>
    170   <property name="hidden_layout_modes"/>
    171   <property name="hidden_readonly_layout_modes"/>
    172  </widget>
    173 
    174 
    175  <widget name="email" meta_type="Email Widget">
    176   <property name="title">Email</property>
    177   <property name="fields">
    178    <element value="email"/>
    179   </property>
    180   <property name="label">Email</property>
    181   <property name="label_edit">Email</property>
    182   <property name="readonly_layout_modes"/>
    183   <property name="hidden_layout_modes"/>
    184   <property name="hidden_readonly_layout_modes"/>
    185  </widget>
    186 
    187  <widget name="next_kin_firstname" meta_type="String Widget">
    188   <property name="title">Next of Kin Firstname</property>
    189   <property name="fields">
    190    <element value="next_kin_firstname"/>
    191   </property>
    192   <property name="label">Next of Kin Firstname</property>
    193   <property name="label_edit">Next of Kin Firstname</property>
    194   <property name="readonly_layout_modes"/>
    195   <property name="hidden_layout_modes"/>
    196   <property name="hidden_readonly_layout_modes"/>
    197  </widget>
    198 
    199 
    200  <widget name="next_kin_middlename" meta_type="String Widget">
    201   <property name="title">Next of Kin Middlename</property>
    202   <property name="fields">
    203    <element value="next_kin_middlename"/>
    204   </property>
    205   <property name="label">Next of Kin Middlename</property>
    206   <property name="label_edit">Next of Kin Middlename</property>
    207   <property name="readonly_layout_modes"/>
    208   <property name="hidden_layout_modes"/>
    209   <property name="hidden_readonly_layout_modes"/>
    210  </widget>
    211 
    212 
    213  <widget name="next_kin_lastname" meta_type="String Widget">
    214   <property name="title">Next of Kin Lastname</property>
    215   <property name="fields">
    216    <element value="next_kin_lastname"/>
    217   </property>
    218   <property name="label">Next of Kin Lastname</property>
    219   <property name="label_edit">Next of Kin Lastname</property>
    220   <property name="readonly_layout_modes"/>
    221   <property name="hidden_layout_modes"/>
    222   <property name="hidden_readonly_layout_modes"/>
    223  </widget>
    224 
    225 
    226  <widget name="next_kin_relation" meta_type="String Widget">
    227   <property name="title">Next of Kin Relationship</property>
    228   <property name="fields">
    229    <element value="next_kin_relation"/>
    230   </property>
    231   <property name="label">Next of Kin Relationship</property>
    232   <property name="label_edit">Next of Kin Relationship</property>
    233   <property name="readonly_layout_modes"/>
    234   <property name="hidden_layout_modes"/>
    235   <property name="hidden_readonly_layout_modes"/>
    236  </widget>
    237 
    238 
    239  <widget name="next_kin_address" meta_type="String Widget">
    240   <property name="title">Next of Kin Address</property>
    241   <property name="fields">
    242    <element value="next_kin_address"/>
    243   </property>
    244   <property name="label">Next of Kin Address</property>
    245   <property name="label_edit">Next of Kin Address</property>
    246   <property name="readonly_layout_modes"/>
    247   <property name="hidden_layout_modes"/>
    248   <property name="hidden_readonly_layout_modes"/>
    249  </widget>
    250 
    251 
    252  <widget name="next_kin_city" meta_type="String Widget">
    253   <property name="title">Next of Kin City</property>
    254   <property name="fields">
    255    <element value="next_kin_city"/>
    256   </property>
    257   <property name="label">Next of Kin City</property>
    258   <property name="label_edit">Next of Kin City</property>
    259   <property name="readonly_layout_modes"/>
    260   <property name="hidden_layout_modes"/>
    261   <property name="hidden_readonly_layout_modes"/>
    262  </widget>
    263 
    264 
    265  <widget name="next_kin_state" meta_type="String Widget">
    266   <property name="title">Next of Kin State</property>
    267   <property name="fields">
    268    <element value="next_kin_state"/>
    269   </property>
    270   <property name="label">Next of Kin State</property>
    271   <property name="label_edit">Next of Kin State</property>
    272   <property name="readonly_layout_modes"/>
    273   <property name="hidden_layout_modes"/>
    274   <property name="hidden_readonly_layout_modes"/>
    275  </widget>
    276 
    277  <widget name="next_kin_email" meta_type="Email Widget">
    278   <property name="title">Next of Kin Email</property>
    279   <property name="fields">
    280    <element value="next_kin_email"/>
    281   </property>
    282   <property name="label">Next of Kin Email</property>
    283   <property name="label_edit">Next of Kin Email</property>
    284   <property name="readonly_layout_modes"/>
    285   <property name="hidden_layout_modes"/>
    286   <property name="hidden_readonly_layout_modes"/>
    287  </widget>
    288 
    289  <widget name="next_kin_phone" meta_type="String Widget">
    290   <property name="title">Next of Kin Phone</property>
    291   <property name="fields">
    292    <element value="next_kin_phone"/>
    293   </property>
    294   <property name="label">Next of Kin Phone</property>
    295   <property name="label_edit">Next of Kin Phone</property>
    296   <property name="readonly_layout_modes"/>
    297   <property name="hidden_layout_modes"/>
    298   <property name="hidden_readonly_layout_modes"/>
    299  </widget>
    300 
    301 
     337  <property name="render_format">radio</property>
     338 </widget>
     339 <widget name="sponsor_address" meta_type="String Widget">
     340  <property name="title">Sponsor Address</property>
     341  <property name="fields">
     342   <element value="sponsor_address"/>
     343  </property>
     344  <property name="label">Sponsor Address</property>
     345  <property name="label_edit">Sponsor Address</property>
     346  <property name="readonly_layout_modes"/>
     347  <property name="hidden_layout_modes"/>
     348  <property name="hidden_readonly_layout_modes"/>
     349 </widget>
     350 <widget name="sponsor_city" meta_type="String Widget">
     351  <property name="title">Sponsor City</property>
     352  <property name="fields">
     353   <element value="sponsor_city"/>
     354  </property>
     355  <property name="label">Sponsor City</property>
     356  <property name="label_edit">Sponsor City</property>
     357  <property name="readonly_layout_modes"/>
     358  <property name="hidden_layout_modes"/>
     359  <property name="hidden_readonly_layout_modes"/>
     360 </widget>
     361 <widget name="sponsor_email" meta_type="Email Widget">
     362  <property name="title">Sponsor Email</property>
     363  <property name="fields">
     364   <element value="sponsor_email"/>
     365  </property>
     366  <property name="label">Sponsor Email</property>
     367  <property name="label_edit">Sponsor Email</property>
     368  <property name="readonly_layout_modes"/>
     369  <property name="hidden_layout_modes"/>
     370  <property name="hidden_readonly_layout_modes"/>
     371 </widget>
    302372 <widget name="sponsor_firstname" meta_type="String Widget">
    303373  <property name="title">Sponsor Firstname</property>
     
    311381  <property name="hidden_readonly_layout_modes"/>
    312382 </widget>
    313 
    314  <field name="sponsor_middlename" meta_type="CPS String Field"/>
    315 
     383 <widget name="sponsor_lastname" meta_type="String Widget">
     384  <property name="title">Sponsor Lastname</property>
     385  <property name="fields">
     386   <element value="sponsor_lastname"/>
     387  </property>
     388  <property name="label">Sponsor Lastname</property>
     389  <property name="label_edit">Sponsor Lastname</property>
     390  <property name="readonly_layout_modes"/>
     391  <property name="hidden_layout_modes"/>
     392  <property name="hidden_readonly_layout_modes"/>
     393 </widget>
    316394 <widget name="sponsor_middlename" meta_type="String Widget">
    317395  <property name="title">Sponsor Middlename</property>
     
    325403  <property name="hidden_readonly_layout_modes"/>
    326404 </widget>
    327 
    328 
    329  <widget name="sponsor_lastname" meta_type="String Widget">
    330   <property name="title">Sponsor Lastname</property>
    331   <property name="fields">
    332    <element value="sponsor_lastname"/>
    333   </property>
    334   <property name="label">Sponsor Lastname</property>
    335   <property name="label_edit">Sponsor Lastname</property>
    336   <property name="readonly_layout_modes"/>
    337   <property name="hidden_layout_modes"/>
    338   <property name="hidden_readonly_layout_modes"/>
    339  </widget>
    340 
    341 
    342  <widget name="sponsor_address" meta_type="String Widget">
    343   <property name="title">Sponsor Address</property>
    344   <property name="fields">
    345    <element value="sponsor_address"/>
    346   </property>
    347   <property name="label">Sponsor Address</property>
    348   <property name="label_edit">Sponsor Address</property>
    349   <property name="readonly_layout_modes"/>
    350   <property name="hidden_layout_modes"/>
    351   <property name="hidden_readonly_layout_modes"/>
    352  </widget>
    353 
    354 
    355  <widget name="sponsor_city" meta_type="String Widget">
    356   <property name="title">Sponsor City</property>
    357   <property name="fields">
    358    <element value="sponsor_city"/>
    359   </property>
    360   <property name="label">Sponsor City</property>
    361   <property name="label_edit">Sponsor City</property>
    362   <property name="readonly_layout_modes"/>
    363   <property name="hidden_layout_modes"/>
    364   <property name="hidden_readonly_layout_modes"/>
    365  </widget>
    366 
    367 
     405 <widget name="sponsor_phone" meta_type="String Widget">
     406  <property name="title">Sponsor Phone</property>
     407  <property name="fields">
     408   <element value="sponsor_phone"/>
     409  </property>
     410  <property name="label">Sponsor Phone</property>
     411  <property name="label_edit">Sponsor Phone</property>
     412  <property name="readonly_layout_modes"/>
     413  <property name="hidden_layout_modes"/>
     414  <property name="hidden_readonly_layout_modes"/>
     415 </widget>
    368416 <widget name="sponsor_state" meta_type="String Widget">
    369417  <property name="title">Sponsor State</property>
     
    377425  <property name="hidden_readonly_layout_modes"/>
    378426 </widget>
    379 
    380  <widget name="sponsor_email" meta_type="Email Widget">
    381   <property name="title">Sponsor Email</property>
    382   <property name="fields">
    383    <element value="sponsor_email"/>
    384   </property>
    385   <property name="label">Sponsor Email</property>
    386   <property name="label_edit">Sponsor Email</property>
    387   <property name="readonly_layout_modes"/>
    388   <property name="hidden_layout_modes"/>
    389   <property name="hidden_readonly_layout_modes"/>
    390  </widget>
    391 
    392  <widget name="sponsor_phone" meta_type="String Widget">
    393   <property name="title">Sponsor Phone</property>
    394   <property name="fields">
    395    <element value="sponsor_phone"/>
    396   </property>
    397   <property name="label">Sponsor Phone</property>
    398   <property name="label_edit">Sponsor Phone</property>
    399   <property name="readonly_layout_modes"/>
    400   <property name="hidden_layout_modes"/>
    401   <property name="hidden_readonly_layout_modes"/>
    402  </widget>
    403 
    404 
    405  <widget name="fst_best_lang" meta_type="String Widget">
    406   <property name="title">First Best Language</property>
    407   <property name="fields">
    408    <element value="fst_best_lang"/>
    409   </property>
    410   <property name="label">First Best Language</property>
    411   <property name="label_edit">First Best Language</property>
    412   <property name="readonly_layout_modes"/>
    413   <property name="hidden_layout_modes"/>
    414   <property name="hidden_readonly_layout_modes"/>
    415  </widget>
    416 
    417 
    418  <widget name="scd_best_lang" meta_type="String Widget">
    419   <property name="title">Second Best Language</property>
    420   <property name="fields">
    421    <element value="scd_best_lang"/>
    422   </property>
    423   <property name="label">Second Best Language</property>
    424   <property name="label_edit">Second Best Language</property>
    425   <property name="readonly_layout_modes"/>
    426   <property name="hidden_layout_modes"/>
    427   <property name="hidden_readonly_layout_modes"/>
    428  </widget>
    429 
    430 
    431  <widget name="mother_tongue" meta_type="String Widget">
    432   <property name="title">Mother Tongue</property>
    433   <property name="fields">
    434    <element value="mother_tongue"/>
    435   </property>
    436   <property name="label">Mother Tongue</property>
    437   <property name="label_edit">Mother Tongue</property>
    438   <property name="readonly_layout_modes"/>
    439   <property name="hidden_layout_modes"/>
    440   <property name="hidden_readonly_layout_modes"/>
    441  </widget>
    442 
    443  <widget name="hall" meta_type="String Widget">
    444   <property name="title">Residence Hall on Campus</property>
    445   <property name="fields">
    446    <element value="hall"/>
    447   </property>
    448   <property name="label">Residence Hall on Campus</property>
    449   <property name="label_edit">Residence Hall on Campus</property>
    450   <property name="readonly_layout_modes"/>
    451   <property name="hidden_layout_modes"/>
    452   <property name="hidden_readonly_layout_modes"/>
    453  </widget>
    454 
    455  <widget name="disabled" meta_type="Boolean Widget">
    456   <property name="title">Disabled</property>
    457   <property name="fields">
    458    <element value="disabled"/>
    459   </property>
    460   <property name="label">Disabled</property>
    461   <property name="label_edit">Disabled</property>
    462   <property name="readonly_layout_modes"/>
    463   <property name="hidden_layout_modes"/>
    464   <property name="hidden_readonly_layout_modes"/>
    465   <property name="label_false">no</property>
    466   <property name="label_true">yes</property>
    467  </widget>
    468 
    469  <widget name="notes" meta_type="Text Widget">
    470   <property name="title">Notes</property>
    471   <property name="fields">
    472    <element value="notes"/>
    473   </property>
    474   <property name="label">Notes</property>
    475   <property name="label_edit">Notes</property>
    476   <property name="readonly_layout_modes"/>
    477   <property name="hidden_layout_modes"/>
    478   <property name="hidden_readonly_layout_modes"/>
    479  </widget>
    480 
    481427 <table>
    482428  <row>
     
    588534   <cell name="notes"/>
    589535  </row>
    590 
    591536 </table>
    592537</object>
     538
  • WAeUP_SRP/trunk/profiles/default/layouts/student_personal_fe.xml

    r1167 r1197  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
    9 
     9 <widget name="campus_address" meta_type="String Widget">
     10  <property name="title">Campus Address</property>
     11  <property name="fields">
     12   <element value="campus_address"/>
     13  </property>
     14  <property name="label">Campus Address</property>
     15  <property name="label_edit">Campus Address</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
     20 <widget name="disabled" meta_type="Boolean Widget">
     21  <property name="title">Disabled</property>
     22  <property name="fields">
     23   <element value="disabled"/>
     24  </property>
     25  <property name="label">Disabled</property>
     26  <property name="label_edit">Disabled</property>
     27  <property name="readonly_layout_modes"/>
     28  <property name="hidden_layout_modes"/>
     29  <property name="hidden_readonly_layout_modes"/>
     30  <property name="label_false">no</property>
     31  <property name="label_true">yes</property>
     32  <property name="render_format">radio</property>
     33 </widget>
     34 <widget name="email" meta_type="Email Widget">
     35  <property name="title">Email</property>
     36  <property name="fields">
     37   <element value="email"/>
     38  </property>
     39  <property name="label">Email</property>
     40  <property name="label_edit">Email</property>
     41  <property name="readonly_layout_modes"/>
     42  <property name="hidden_layout_modes"/>
     43  <property name="hidden_readonly_layout_modes"/>
     44 </widget>
    1045 <widget name="firstname" meta_type="String Widget">
    1146  <property name="title">Firstname</property>
     
    1348   <element value="firstname"/>
    1449  </property>
    15   <property name="is_required">False</property>
    1650  <property name="label">Firstname</property>
    1751  <property name="label_edit">Firstname</property>
     
    2256  <property name="hidden_readonly_layout_modes"/>
    2357 </widget>
    24 
     58 <widget name="for_lga" meta_type="String Widget">
     59  <property name="title">Foreign Student Local Government Area</property>
     60  <property name="fields">
     61   <element value="for_lga"/>
     62  </property>
     63  <property name="label">Foreign Student Local Government Area</property>
     64  <property name="label_edit">Foreign Student Local Government Area</property>
     65  <property name="readonly_layout_modes"/>
     66  <property name="hidden_layout_modes"/>
     67  <property name="hidden_readonly_layout_modes"/>
     68 </widget>
     69 <widget name="for_state" meta_type="Select Widget">
     70  <property name="title">Foreign Student State</property>
     71  <property name="fields">
     72   <element value="for_state"/>
     73  </property>
     74  <property name="label">Foreign Student State</property>
     75  <property name="label_edit">Foreign Student State</property>
     76  <property name="readonly_layout_modes"/>
     77  <property name="hidden_layout_modes"/>
     78  <property name="hidden_readonly_layout_modes"/>
     79  <property name="vocabulary">states</property>
     80 </widget>
     81 <widget name="former_surname" meta_type="String Widget">
     82  <property name="title">Former Surname</property>
     83  <property name="fields">
     84   <element value="former_surname"/>
     85  </property>
     86  <property name="label">Former Surname</property>
     87  <property name="label_edit">Former Surname</property>
     88  <property name="readonly_layout_modes"/>
     89  <property name="hidden_layout_modes"/>
     90  <property name="hidden_readonly_layout_modes"/>
     91 </widget>
     92 <widget name="fst_best_lang" meta_type="String Widget">
     93  <property name="title">First Best Language</property>
     94  <property name="fields">
     95   <element value="fst_best_lang"/>
     96  </property>
     97  <property name="label">First Best Language</property>
     98  <property name="label_edit">First Best Language</property>
     99  <property name="readonly_layout_modes"/>
     100  <property name="hidden_layout_modes"/>
     101  <property name="hidden_readonly_layout_modes"/>
     102 </widget>
     103 <widget name="hall" meta_type="String Widget">
     104  <property name="title">Residence Hall on Campus</property>
     105  <property name="fields">
     106   <element value="hall"/>
     107  </property>
     108  <property name="label">Residence Hall on Campus</property>
     109  <property name="label_edit">Residence Hall on Campus</property>
     110  <property name="readonly_layout_modes"/>
     111  <property name="hidden_layout_modes"/>
     112  <property name="hidden_readonly_layout_modes"/>
     113 </widget>
     114 <widget name="lastname" meta_type="String Widget">
     115  <property name="title">Lastname</property>
     116  <property name="fields">
     117   <element value="lastname"/>
     118  </property>
     119  <property name="label">Lastname</property>
     120  <property name="label_edit">Lastname</property>
     121  <property name="readonly_layout_modes">
     122   <element value="edit"/>
     123  </property>
     124  <property name="hidden_layout_modes"/>
     125  <property name="hidden_readonly_layout_modes"/>
     126 </widget>
     127 <widget name="marit_stat" meta_type="Boolean Widget">
     128  <property name="title">Marital Status</property>
     129  <property name="fields">
     130   <element value="marit_stat"/>
     131  </property>
     132  <property name="label">Marital Status</property>
     133  <property name="label_edit">Marital Status</property>
     134  <property name="readonly_layout_modes"/>
     135  <property name="hidden_layout_modes"/>
     136  <property name="hidden_readonly_layout_modes"/>
     137  <property name="label_false">single</property>
     138  <property name="label_true">married</property>
     139  <property name="render_format">radio</property>
     140 </widget>
    25141 <widget name="middlename" meta_type="String Widget">
    26142  <property name="title">Middlename</property>
     
    36152  <property name="hidden_readonly_layout_modes"/>
    37153 </widget>
    38 
    39  <widget name="lastname" meta_type="String Widget">
    40   <property name="title">Lastname</property>
    41   <property name="fields">
    42    <element value="lastname"/>
    43   </property>
    44   <property name="label">Lastname</property>
    45   <property name="label_edit">Lastname</property>
    46   <property name="readonly_layout_modes">
    47    <element value="edit"/>
    48   </property>
    49   <property name="hidden_layout_modes"/>
    50   <property name="hidden_readonly_layout_modes"/>
    51  </widget>
    52 
     154 <widget name="mother_tongue" meta_type="String Widget">
     155  <property name="title">Mother Tongue</property>
     156  <property name="fields">
     157   <element value="mother_tongue"/>
     158  </property>
     159  <property name="label">Mother Tongue</property>
     160  <property name="label_edit">Mother Tongue</property>
     161  <property name="readonly_layout_modes"/>
     162  <property name="hidden_layout_modes"/>
     163  <property name="hidden_readonly_layout_modes"/>
     164 </widget>
     165 <widget name="next_kin_address" meta_type="String Widget">
     166  <property name="title">Next of Kin Address</property>
     167  <property name="fields">
     168   <element value="next_kin_address"/>
     169  </property>
     170  <property name="label">Next of Kin Address</property>
     171  <property name="label_edit">Next of Kin Address</property>
     172  <property name="readonly_layout_modes"/>
     173  <property name="hidden_layout_modes"/>
     174  <property name="hidden_readonly_layout_modes"/>
     175 </widget>
     176 <widget name="next_kin_city" meta_type="String Widget">
     177  <property name="title">Next of Kin City</property>
     178  <property name="fields">
     179   <element value="next_kin_city"/>
     180  </property>
     181  <property name="label">Next of Kin City</property>
     182  <property name="label_edit">Next of Kin City</property>
     183  <property name="readonly_layout_modes"/>
     184  <property name="hidden_layout_modes"/>
     185  <property name="hidden_readonly_layout_modes"/>
     186 </widget>
     187 <widget name="next_kin_email" meta_type="Email Widget">
     188  <property name="title">Next of Kin Email</property>
     189  <property name="fields">
     190   <element value="next_kin_email"/>
     191  </property>
     192  <property name="label">Next of Kin Email</property>
     193  <property name="label_edit">Next of Kin Email</property>
     194  <property name="readonly_layout_modes"/>
     195  <property name="hidden_layout_modes"/>
     196  <property name="hidden_readonly_layout_modes"/>
     197 </widget>
     198 <widget name="next_kin_firstname" meta_type="String Widget">
     199  <property name="title">Next of Kin Firstname</property>
     200  <property name="fields">
     201   <element value="next_kin_firstname"/>
     202  </property>
     203  <property name="label">Next of Kin Firstname</property>
     204  <property name="label_edit">Next of Kin Firstname</property>
     205  <property name="readonly_layout_modes"/>
     206  <property name="hidden_layout_modes"/>
     207  <property name="hidden_readonly_layout_modes"/>
     208 </widget>
     209 <widget name="next_kin_lastname" meta_type="String Widget">
     210  <property name="title">Next of Kin Lastname</property>
     211  <property name="fields">
     212   <element value="next_kin_lastname"/>
     213  </property>
     214  <property name="label">Next of Kin Lastname</property>
     215  <property name="label_edit">Next of Kin Lastname</property>
     216  <property name="readonly_layout_modes"/>
     217  <property name="hidden_layout_modes"/>
     218  <property name="hidden_readonly_layout_modes"/>
     219 </widget>
     220 <widget name="next_kin_middlename" meta_type="String Widget">
     221  <property name="title">Next of Kin Middlename</property>
     222  <property name="fields">
     223   <element value="next_kin_middlename"/>
     224  </property>
     225  <property name="label">Next of Kin Middlename</property>
     226  <property name="label_edit">Next of Kin Middlename</property>
     227  <property name="readonly_layout_modes"/>
     228  <property name="hidden_layout_modes"/>
     229  <property name="hidden_readonly_layout_modes"/>
     230 </widget>
     231 <widget name="next_kin_phone" meta_type="String Widget">
     232  <property name="title">Next of Kin Phone</property>
     233  <property name="fields">
     234   <element value="next_kin_phone"/>
     235  </property>
     236  <property name="label">Next of Kin Phone</property>
     237  <property name="label_edit">Next of Kin Phone</property>
     238  <property name="readonly_layout_modes"/>
     239  <property name="hidden_layout_modes"/>
     240  <property name="hidden_readonly_layout_modes"/>
     241 </widget>
     242 <widget name="next_kin_relation" meta_type="String Widget">
     243  <property name="title">Next of Kin Relationship</property>
     244  <property name="fields">
     245   <element value="next_kin_relation"/>
     246  </property>
     247  <property name="label">Next of Kin Relationship</property>
     248  <property name="label_edit">Next of Kin Relationship</property>
     249  <property name="readonly_layout_modes"/>
     250  <property name="hidden_layout_modes"/>
     251  <property name="hidden_readonly_layout_modes"/>
     252 </widget>
     253 <widget name="next_kin_state" meta_type="String Widget">
     254  <property name="title">Next of Kin State</property>
     255  <property name="fields">
     256   <element value="next_kin_state"/>
     257  </property>
     258  <property name="label">Next of Kin State</property>
     259  <property name="label_edit">Next of Kin State</property>
     260  <property name="readonly_layout_modes"/>
     261  <property name="hidden_layout_modes"/>
     262  <property name="hidden_readonly_layout_modes"/>
     263 </widget>
     264 <widget name="notes" meta_type="Text Widget">
     265  <property name="title">Notes</property>
     266  <property name="fields">
     267   <element value="notes"/>
     268  </property>
     269  <property name="label">Notes</property>
     270  <property name="label_edit">Notes</property>
     271  <property name="readonly_layout_modes"/>
     272  <property name="hidden_layout_modes"/>
     273  <property name="hidden_readonly_layout_modes"/>
     274 </widget>
     275 <widget name="perm_address" meta_type="String Widget">
     276  <property name="title">Permanent Address</property>
     277  <property name="fields">
     278   <element value="perm_address"/>
     279  </property>
     280  <property name="label">Permanent Address</property>
     281  <property name="label_edit">Permanent Address</property>
     282  <property name="readonly_layout_modes"/>
     283  <property name="hidden_layout_modes"/>
     284  <property name="hidden_readonly_layout_modes"/>
     285 </widget>
     286 <widget name="perm_city" meta_type="String Widget">
     287  <property name="title">City</property>
     288  <property name="fields">
     289   <element value="perm_city"/>
     290  </property>
     291  <property name="label">City</property>
     292  <property name="label_edit">City</property>
     293  <property name="readonly_layout_modes"/>
     294  <property name="hidden_layout_modes"/>
     295  <property name="hidden_readonly_layout_modes"/>
     296 </widget>
     297 <widget name="phone" meta_type="String Widget">
     298  <property name="title">Phone</property>
     299  <property name="fields">
     300   <element value="phone"/>
     301  </property>
     302  <property name="label">Phone</property>
     303  <property name="label_edit">Phone</property>
     304  <property name="readonly_layout_modes"/>
     305  <property name="hidden_layout_modes"/>
     306  <property name="hidden_readonly_layout_modes"/>
     307 </widget>
     308 <widget name="religion" meta_type="Select Widget">
     309  <property name="title">Religion</property>
     310  <property name="fields">
     311   <element value="religion"/>
     312  </property>
     313  <property name="label">Religion</property>
     314  <property name="label_edit">Religion</property>
     315  <property name="readonly_layout_modes"/>
     316  <property name="hidden_layout_modes"/>
     317  <property name="hidden_readonly_layout_modes"/>
     318  <property name="vocabulary">religion</property>
     319 </widget>
     320 <widget name="scd_best_lang" meta_type="String Widget">
     321  <property name="title">Second Best Language</property>
     322  <property name="fields">
     323   <element value="scd_best_lang"/>
     324  </property>
     325  <property name="label">Second Best Language</property>
     326  <property name="label_edit">Second Best Language</property>
     327  <property name="readonly_layout_modes"/>
     328  <property name="hidden_layout_modes"/>
     329  <property name="hidden_readonly_layout_modes"/>
     330 </widget>
    53331 <widget name="sex" meta_type="Boolean Widget">
    54332  <property name="title">Sex</property>
     
    65343  <property name="label_false">male</property>
    66344  <property name="label_true">female</property>
    67  </widget>
    68  
    69  <widget name="former_surname" meta_type="String Widget">
    70   <property name="title">Former Surname</property>
    71   <property name="fields">
    72    <element value="former_surname"/>
    73   </property>
    74   <property name="label">Former Surname</property>
    75   <property name="label_edit">Former Surname</property>
    76   <property name="readonly_layout_modes"/>
    77   <property name="hidden_layout_modes"/>
    78   <property name="hidden_readonly_layout_modes"/>
    79  </widget>
    80  
    81  <widget name="for_lga" meta_type="String Widget">
    82   <property name="title">Foreign Student Local Government Area</property>
    83   <property name="fields">
    84    <element value="for_lga"/>
    85   </property>
    86   <property name="label">Foreign Student Local Government Area</property>
    87   <property name="label_edit">Foreign Student Local Government Area</property>
    88   <property name="readonly_layout_modes"/>
    89   <property name="hidden_layout_modes"/>
    90   <property name="hidden_readonly_layout_modes"/>
    91  </widget>
    92 
    93  <widget name="for_state" meta_type="Select Widget">
    94   <property name="title">Foreign Student State</property>
    95   <property name="fields">
    96    <element value="for_state"/>
    97   </property>
    98   <property name="label">Foreign Student State</property>
    99   <property name="label_edit">Foreign Student State</property>
    100   <property name="readonly_layout_modes"/>
    101   <property name="hidden_layout_modes"/>
    102   <property name="hidden_readonly_layout_modes"/>
    103   <property name="vocabulary">states</property>
    104  </widget>
    105 
    106  <widget name="marit_stat" meta_type="Boolean Widget">
    107   <property name="title">Marital Status</property>
    108   <property name="fields">
    109    <element value="marit_stat"/>
    110   </property>
    111   <property name="label">Marital Status</property>
    112   <property name="label_edit">Marital Status</property>
    113   <property name="readonly_layout_modes"/>
    114   <property name="hidden_layout_modes"/>
    115   <property name="hidden_readonly_layout_modes"/>
    116   <property name="label_false">single</property>
    117   <property name="label_true">married</property>
    118  </widget>
    119 
    120  <widget name="religion" meta_type="Select Widget">
    121   <property name="title">Religion</property>
    122   <property name="fields">
    123    <element value="religion"/>
    124   </property>
    125   <property name="label">Religion</property>
    126   <property name="label_edit">Religion</property>
    127   <property name="readonly_layout_modes"/>
    128   <property name="hidden_layout_modes"/>
    129   <property name="hidden_readonly_layout_modes"/>
    130   <property name="vocabulary">religion</property>
    131  </widget>
    132 
    133  <widget name="perm_address" meta_type="String Widget">
    134   <property name="title">Permanent Address</property>
    135   <property name="fields">
    136    <element value="perm_address"/>
    137   </property>
    138   <property name="label">Permanent Address</property>
    139   <property name="label_edit">Permanent Address</property>
    140   <property name="readonly_layout_modes"/>
    141   <property name="hidden_layout_modes"/>
    142   <property name="hidden_readonly_layout_modes"/>
    143  </widget>
    144 
    145  <widget name="perm_city" meta_type="String Widget">
    146   <property name="title">City</property>
    147   <property name="fields">
    148    <element value="perm_city"/>
    149   </property>
    150   <property name="label">City</property>
    151   <property name="label_edit">City</property>
    152   <property name="readonly_layout_modes"/>
    153   <property name="hidden_layout_modes"/>
    154   <property name="hidden_readonly_layout_modes"/>
    155  </widget>
    156 
    157  <widget name="campus_address" meta_type="String Widget">
    158   <property name="title">Campus Address</property>
    159   <property name="fields">
    160    <element value="campus_address"/>
    161   </property>
    162   <property name="label">Campus Address</property>
    163   <property name="label_edit">Campus Address</property>
    164   <property name="readonly_layout_modes"/>
    165   <property name="hidden_layout_modes"/>
    166   <property name="hidden_readonly_layout_modes"/>
    167  </widget>
    168 
    169  <widget name="phone" meta_type="String Widget">
    170   <property name="title">Phone</property>
    171   <property name="fields">
    172    <element value="phone"/>
    173   </property>
    174   <property name="label">Phone</property>
    175   <property name="label_edit">Phone</property>
    176   <property name="readonly_layout_modes"/>
    177   <property name="hidden_layout_modes"/>
    178   <property name="hidden_readonly_layout_modes"/>
    179  </widget>
    180 
    181 
    182  <widget name="email" meta_type="Email Widget">
    183   <property name="title">Email</property>
    184   <property name="fields">
    185    <element value="email"/>
    186   </property>
    187   <property name="label">Email</property>
    188   <property name="label_edit">Email</property>
    189   <property name="readonly_layout_modes"/>
    190   <property name="hidden_layout_modes"/>
    191   <property name="hidden_readonly_layout_modes"/>
    192  </widget>
    193 
    194  <widget name="next_kin_firstname" meta_type="String Widget">
    195   <property name="title">Next of Kin Firstname</property>
    196   <property name="fields">
    197    <element value="next_kin_firstname"/>
    198   </property>
    199   <property name="label">Next of Kin Firstname</property>
    200   <property name="label_edit">Next of Kin Firstname</property>
    201   <property name="readonly_layout_modes"/>
    202   <property name="hidden_layout_modes"/>
    203   <property name="hidden_readonly_layout_modes"/>
    204  </widget>
    205 
    206 
    207  <widget name="next_kin_middlename" meta_type="String Widget">
    208   <property name="title">Next of Kin Middlename</property>
    209   <property name="fields">
    210    <element value="next_kin_middlename"/>
    211   </property>
    212   <property name="label">Next of Kin Middlename</property>
    213   <property name="label_edit">Next of Kin Middlename</property>
    214   <property name="readonly_layout_modes"/>
    215   <property name="hidden_layout_modes"/>
    216   <property name="hidden_readonly_layout_modes"/>
    217  </widget>
    218 
    219 
    220  <widget name="next_kin_lastname" meta_type="String Widget">
    221   <property name="title">Next of Kin Lastname</property>
    222   <property name="fields">
    223    <element value="next_kin_lastname"/>
    224   </property>
    225   <property name="label">Next of Kin Lastname</property>
    226   <property name="label_edit">Next of Kin Lastname</property>
    227   <property name="readonly_layout_modes"/>
    228   <property name="hidden_layout_modes"/>
    229   <property name="hidden_readonly_layout_modes"/>
    230  </widget>
    231 
    232 
    233  <widget name="next_kin_relation" meta_type="String Widget">
    234   <property name="title">Next of Kin Relationship</property>
    235   <property name="fields">
    236    <element value="next_kin_relation"/>
    237   </property>
    238   <property name="label">Next of Kin Relationship</property>
    239   <property name="label_edit">Next of Kin Relationship</property>
    240   <property name="readonly_layout_modes"/>
    241   <property name="hidden_layout_modes"/>
    242   <property name="hidden_readonly_layout_modes"/>
    243  </widget>
    244 
    245 
    246  <widget name="next_kin_address" meta_type="String Widget">
    247   <property name="title">Next of Kin Address</property>
    248   <property name="fields">
    249    <element value="next_kin_address"/>
    250   </property>
    251   <property name="label">Next of Kin Address</property>
    252   <property name="label_edit">Next of Kin Address</property>
    253   <property name="readonly_layout_modes"/>
    254   <property name="hidden_layout_modes"/>
    255   <property name="hidden_readonly_layout_modes"/>
    256  </widget>
    257 
    258 
    259  <widget name="next_kin_city" meta_type="String Widget">
    260   <property name="title">Next of Kin City</property>
    261   <property name="fields">
    262    <element value="next_kin_city"/>
    263   </property>
    264   <property name="label">Next of Kin City</property>
    265   <property name="label_edit">Next of Kin City</property>
    266   <property name="readonly_layout_modes"/>
    267   <property name="hidden_layout_modes"/>
    268   <property name="hidden_readonly_layout_modes"/>
    269  </widget>
    270 
    271 
    272  <widget name="next_kin_state" meta_type="String Widget">
    273   <property name="title">Next of Kin State</property>
    274   <property name="fields">
    275    <element value="next_kin_state"/>
    276   </property>
    277   <property name="label">Next of Kin State</property>
    278   <property name="label_edit">Next of Kin State</property>
    279   <property name="readonly_layout_modes"/>
    280   <property name="hidden_layout_modes"/>
    281   <property name="hidden_readonly_layout_modes"/>
    282  </widget>
    283 
    284  <widget name="next_kin_email" meta_type="Email Widget">
    285   <property name="title">Next of Kin Email</property>
    286   <property name="fields">
    287    <element value="next_kin_email"/>
    288   </property>
    289   <property name="label">Next of Kin Email</property>
    290   <property name="label_edit">Next of Kin Email</property>
    291   <property name="readonly_layout_modes"/>
    292   <property name="hidden_layout_modes"/>
    293   <property name="hidden_readonly_layout_modes"/>
    294  </widget>
    295 
    296  <widget name="next_kin_phone" meta_type="String Widget">
    297   <property name="title">Next of Kin Phone</property>
    298   <property name="fields">
    299    <element value="next_kin_phone"/>
    300   </property>
    301   <property name="label">Next of Kin Phone</property>
    302   <property name="label_edit">Next of Kin Phone</property>
    303   <property name="readonly_layout_modes"/>
    304   <property name="hidden_layout_modes"/>
    305   <property name="hidden_readonly_layout_modes"/>
    306  </widget>
    307 
    308 
     345  <property name="render_format">radio</property>
     346 </widget>
     347 <widget name="sponsor_address" meta_type="String Widget">
     348  <property name="title">Sponsor Address</property>
     349  <property name="fields">
     350   <element value="sponsor_address"/>
     351  </property>
     352  <property name="label">Sponsor Address</property>
     353  <property name="label_edit">Sponsor Address</property>
     354  <property name="readonly_layout_modes"/>
     355  <property name="hidden_layout_modes"/>
     356  <property name="hidden_readonly_layout_modes"/>
     357 </widget>
     358 <widget name="sponsor_city" meta_type="String Widget">
     359  <property name="title">Sponsor City</property>
     360  <property name="fields">
     361   <element value="sponsor_city"/>
     362  </property>
     363  <property name="label">Sponsor City</property>
     364  <property name="label_edit">Sponsor City</property>
     365  <property name="readonly_layout_modes"/>
     366  <property name="hidden_layout_modes"/>
     367  <property name="hidden_readonly_layout_modes"/>
     368 </widget>
     369 <widget name="sponsor_email" meta_type="Email Widget">
     370  <property name="title">Sponsor Email</property>
     371  <property name="fields">
     372   <element value="sponsor_email"/>
     373  </property>
     374  <property name="label">Sponsor Email</property>
     375  <property name="label_edit">Sponsor Email</property>
     376  <property name="readonly_layout_modes"/>
     377  <property name="hidden_layout_modes"/>
     378  <property name="hidden_readonly_layout_modes"/>
     379 </widget>
    309380 <widget name="sponsor_firstname" meta_type="String Widget">
    310381  <property name="title">Sponsor Firstname</property>
     
    318389  <property name="hidden_readonly_layout_modes"/>
    319390 </widget>
    320 
    321  <field name="sponsor_middlename" meta_type="CPS String Field"/>
    322 
     391 <widget name="sponsor_lastname" meta_type="String Widget">
     392  <property name="title">Sponsor Lastname</property>
     393  <property name="fields">
     394   <element value="sponsor_lastname"/>
     395  </property>
     396  <property name="label">Sponsor Lastname</property>
     397  <property name="label_edit">Sponsor Lastname</property>
     398  <property name="readonly_layout_modes"/>
     399  <property name="hidden_layout_modes"/>
     400  <property name="hidden_readonly_layout_modes"/>
     401 </widget>
    323402 <widget name="sponsor_middlename" meta_type="String Widget">
    324403  <property name="title">Sponsor Middlename</property>
     
    332411  <property name="hidden_readonly_layout_modes"/>
    333412 </widget>
    334 
    335 
    336  <widget name="sponsor_lastname" meta_type="String Widget">
    337   <property name="title">Sponsor Lastname</property>
    338   <property name="fields">
    339    <element value="sponsor_lastname"/>
    340   </property>
    341   <property name="label">Sponsor Lastname</property>
    342   <property name="label_edit">Sponsor Lastname</property>
    343   <property name="readonly_layout_modes"/>
    344   <property name="hidden_layout_modes"/>
    345   <property name="hidden_readonly_layout_modes"/>
    346  </widget>
    347 
    348 
    349  <widget name="sponsor_address" meta_type="String Widget">
    350   <property name="title">Sponsor Address</property>
    351   <property name="fields">
    352    <element value="sponsor_address"/>
    353   </property>
    354   <property name="label">Sponsor Address</property>
    355   <property name="label_edit">Sponsor Address</property>
    356   <property name="readonly_layout_modes"/>
    357   <property name="hidden_layout_modes"/>
    358   <property name="hidden_readonly_layout_modes"/>
    359  </widget>
    360 
    361 
    362  <widget name="sponsor_city" meta_type="String Widget">
    363   <property name="title">Sponsor City</property>
    364   <property name="fields">
    365    <element value="sponsor_city"/>
    366   </property>
    367   <property name="label">Sponsor City</property>
    368   <property name="label_edit">Sponsor City</property>
    369   <property name="readonly_layout_modes"/>
    370   <property name="hidden_layout_modes"/>
    371   <property name="hidden_readonly_layout_modes"/>
    372  </widget>
    373 
    374 
     413 <widget name="sponsor_phone" meta_type="String Widget">
     414  <property name="title">Sponsor Phone</property>
     415  <property name="fields">
     416   <element value="sponsor_phone"/>
     417  </property>
     418  <property name="label">Sponsor Phone</property>
     419  <property name="label_edit">Sponsor Phone</property>
     420  <property name="readonly_layout_modes"/>
     421  <property name="hidden_layout_modes"/>
     422  <property name="hidden_readonly_layout_modes"/>
     423 </widget>
    375424 <widget name="sponsor_state" meta_type="String Widget">
    376425  <property name="title">Sponsor State</property>
     
    384433  <property name="hidden_readonly_layout_modes"/>
    385434 </widget>
     435 <table>
     436  <row>
     437   <cell name="firstname"/>
     438  </row>
     439  <row>
     440   <cell name="middlename"/>
     441  </row>
     442  <row>
     443   <cell name="lastname"/>
     444  </row>
     445  <row>
     446   <cell name="former_surname"/>
     447  </row>
     448  <row>
     449   <cell name="sex"/>
     450  </row>
     451  <row>
     452   <cell name="for_state"/>
     453  </row>
     454  <row>
     455   <cell name="marit_stat"/>
     456  </row>
     457  <row>
     458   <cell name="religion"/>
     459  </row>
     460  <row>
     461   <cell name="perm_address"/>
     462  </row>
     463  <row>
     464   <cell name="perm_city"/>
     465  </row>
     466  <row>
     467   <cell name="campus_address"/>
     468  </row>
     469  <row>
     470   <cell name="phone"/>
     471  </row>
     472  <row>
     473   <cell name="email"/>
     474  </row>
     475  <row>
     476   <cell name="next_kin_firstname"/>
     477  </row>
     478  <row>
     479   <cell name="next_kin_middlename"/>
     480  </row>
     481  <row>
     482   <cell name="next_kin_lastname"/>
     483  </row>
     484  <row>
     485   <cell name="next_kin_relation"/>
     486  </row>
     487  <row>
     488   <cell name="next_kin_address"/>
     489  </row>
     490  <row>
     491   <cell name="next_kin_city"/>
     492  </row>
     493  <row>
     494   <cell name="next_kin_state"/>
     495  </row>
     496  <row>
     497   <cell name="next_kin_email"/>
     498  </row>
     499  <row>
     500   <cell name="next_kin_phone"/>
     501  </row>
     502  <row>
     503   <cell name="sponsor_firstname"/>
     504  </row>
     505  <row>
     506   <cell name="sponsor_middlename"/>
     507  </row>
     508  <row>
     509   <cell name="sponsor_lastname"/>
     510  </row>
     511  <row>
     512   <cell name="sponsor_address"/>
     513  </row>
     514  <row>
     515   <cell name="sponsor_city"/>
     516  </row>
     517  <row>
     518   <cell name="sponsor_state"/>
     519  </row>
     520  <row>
     521   <cell name="sponsor_email"/>
     522  </row>
     523  <row>
     524   <cell name="sponsor_phone"/>
     525  </row>
     526  <row>
     527   <cell name="fst_best_lang"/>
     528  </row>
     529  <row>
     530   <cell name="scd_best_lang"/>
     531  </row>
     532  <row>
     533   <cell name="mother_tongue"/>
     534  </row>
     535  <row>
     536   <cell name="hall"/>
     537  </row>
     538  <row>
     539   <cell name="disabled"/>
     540  </row>
     541  <row>
     542   <cell name="notes"/>
     543  </row>
     544 </table>
     545</object>
    386546
    387  <widget name="sponsor_email" meta_type="Email Widget">
    388   <property name="title">Sponsor Email</property>
    389   <property name="fields">
    390    <element value="sponsor_email"/>
    391   </property>
    392   <property name="label">Sponsor Email</property>
    393   <property name="label_edit">Sponsor Email</property>
    394   <property name="readonly_layout_modes"/>
    395   <property name="hidden_layout_modes"/>
    396   <property name="hidden_readonly_layout_modes"/>
    397  </widget>
    398 
    399  <widget name="sponsor_phone" meta_type="String Widget">
    400   <property name="title">Sponsor Phone</property>
    401   <property name="fields">
    402    <element value="sponsor_phone"/>
    403   </property>
    404   <property name="label">Sponsor Phone</property>
    405   <property name="label_edit">Sponsor Phone</property>
    406   <property name="readonly_layout_modes"/>
    407   <property name="hidden_layout_modes"/>
    408   <property name="hidden_readonly_layout_modes"/>
    409  </widget>
    410 
    411 
    412  <widget name="fst_best_lang" meta_type="String Widget">
    413   <property name="title">First Best Language</property>
    414   <property name="fields">
    415    <element value="fst_best_lang"/>
    416   </property>
    417   <property name="label">First Best Language</property>
    418   <property name="label_edit">First Best Language</property>
    419   <property name="readonly_layout_modes"/>
    420   <property name="hidden_layout_modes"/>
    421   <property name="hidden_readonly_layout_modes"/>
    422  </widget>
    423 
    424 
    425  <widget name="scd_best_lang" meta_type="String Widget">
    426   <property name="title">Second Best Language</property>
    427   <property name="fields">
    428    <element value="scd_best_lang"/>
    429   </property>
    430   <property name="label">Second Best Language</property>
    431   <property name="label_edit">Second Best Language</property>
    432   <property name="readonly_layout_modes"/>
    433   <property name="hidden_layout_modes"/>
    434   <property name="hidden_readonly_layout_modes"/>
    435  </widget>
    436 
    437 
    438  <widget name="mother_tongue" meta_type="String Widget">
    439   <property name="title">Mother Tongue</property>
    440   <property name="fields">
    441    <element value="mother_tongue"/>
    442   </property>
    443   <property name="label">Mother Tongue</property>
    444   <property name="label_edit">Mother Tongue</property>
    445   <property name="readonly_layout_modes"/>
    446   <property name="hidden_layout_modes"/>
    447   <property name="hidden_readonly_layout_modes"/>
    448  </widget>
    449 
    450  <widget name="hall" meta_type="String Widget">
    451   <property name="title">Residence Hall on Campus</property>
    452   <property name="fields">
    453    <element value="hall"/>
    454   </property>
    455   <property name="label">Residence Hall on Campus</property>
    456   <property name="label_edit">Residence Hall on Campus</property>
    457   <property name="readonly_layout_modes"/>
    458   <property name="hidden_layout_modes"/>
    459   <property name="hidden_readonly_layout_modes"/>
    460  </widget>
    461 
    462  <widget name="disabled" meta_type="Boolean Widget">
    463   <property name="title">Disabled</property>
    464   <property name="fields">
    465    <element value="disabled"/>
    466   </property>
    467   <property name="label">Disabled</property>
    468   <property name="label_edit">Disabled</property>
    469   <property name="readonly_layout_modes"/>
    470   <property name="hidden_layout_modes"/>
    471   <property name="hidden_readonly_layout_modes"/>
    472   <property name="label_false">no</property>
    473   <property name="label_true">yes</property>
    474  </widget>
    475 
    476  <widget name="notes" meta_type="Text Widget">
    477   <property name="title">Notes</property>
    478   <property name="fields">
    479    <element value="notes"/>
    480   </property>
    481   <property name="label">Notes</property>
    482   <property name="label_edit">Notes</property>
    483   <property name="readonly_layout_modes"/>
    484   <property name="hidden_layout_modes"/>
    485   <property name="hidden_readonly_layout_modes"/>
    486  </widget>
    487 
    488  <table>
    489   <row>
    490    <cell name="firstname"/>
    491   </row>
    492   <row>
    493    <cell name="middlename"/>
    494   </row>
    495   <row>
    496    <cell name="lastname"/>
    497   </row>
    498   <row>
    499    <cell name="former_surname"/>
    500   </row>
    501   <row>
    502    <cell name="sex"/>
    503   </row>
    504   <row>
    505    <cell name="for_state"/>
    506   </row>
    507   <row>
    508    <cell name="marit_stat"/>
    509   </row>
    510   <row>
    511    <cell name="religion"/>
    512   </row>
    513   <row>
    514    <cell name="perm_address"/>
    515   </row>
    516   <row>
    517    <cell name="perm_city"/>
    518   </row>
    519   <row>
    520    <cell name="campus_address"/>
    521   </row>
    522   <row>
    523    <cell name="phone"/>
    524   </row>
    525   <row>
    526    <cell name="email"/>
    527   </row>
    528   <row>
    529    <cell name="next_kin_firstname"/>
    530   </row>
    531   <row>
    532    <cell name="next_kin_middlename"/>
    533   </row>
    534   <row>
    535    <cell name="next_kin_lastname"/>
    536   </row>
    537   <row>
    538    <cell name="next_kin_relation"/>
    539   </row>
    540   <row>
    541    <cell name="next_kin_address"/>
    542   </row>
    543   <row>
    544    <cell name="next_kin_city"/>
    545   </row>
    546   <row>
    547    <cell name="next_kin_state"/>
    548   </row>
    549   <row>
    550    <cell name="next_kin_email"/>
    551   </row>
    552   <row>
    553    <cell name="next_kin_phone"/>
    554   </row>
    555   <row>
    556    <cell name="sponsor_firstname"/>
    557   </row>
    558   <row>
    559    <cell name="sponsor_middlename"/>
    560   </row>
    561   <row>
    562    <cell name="sponsor_lastname"/>
    563   </row>
    564   <row>
    565    <cell name="sponsor_address"/>
    566   </row>
    567   <row>
    568    <cell name="sponsor_city"/>
    569   </row>
    570   <row>
    571    <cell name="sponsor_state"/>
    572   </row>
    573   <row>
    574    <cell name="sponsor_email"/>
    575   </row>
    576   <row>
    577    <cell name="sponsor_phone"/>
    578   </row>
    579   <row>
    580    <cell name="fst_best_lang"/>
    581   </row>
    582   <row>
    583    <cell name="scd_best_lang"/>
    584   </row>
    585   <row>
    586    <cell name="mother_tongue"/>
    587   </row>
    588   <row>
    589    <cell name="hall"/>
    590   </row>
    591   <row>
    592    <cell name="disabled"/>
    593   </row>
    594   <row>
    595    <cell name="notes"/>
    596   </row>
    597  </table> 
    598 </object>
  • WAeUP_SRP/trunk/skins/waeup_student/statistics_view.pt

    r1116 r1197  
    1 <metal:html tal:define="departments context/getStudentStatistics;
     1                     
     2  <metal:body use-macro="here/main_template/macros/master">
     3
     4
     5    <metal:main fill-slot="main">
     6
     7  <metal:block tal:define="departments context/getStudentStatistics;
    28                        mtool here/portal_membership;
    3                         member mtool/getAuthenticatedMember;"
    4                         >
    5   <span tal:condition="not: departments">
    6     <span tal:content="here/illegal_view" />
    7   </span>
    8 <metal:block tal:condition="departments">                         
    9   <metal:body use-macro="here/main_template/macros/master">
    10     <metal:main fill-slot="main">
    11       <span tal:condition="isAnon">
    12       </span> 
     9                        member mtool/getAuthenticatedMember;">       
     10
     11      <span tal:condition="not: departments">
     12        <span tal:content="here/illegal_view" />
     13      </span>
     14      <span tal:condition="departments">
     15 
    1316      <a href="search_students"><strong>Search Students</strong></a>
    1417      <h3>Student Statistics</h3>
     
    5659        </table>
    5760      </span>
     61      </span>
     62</metal:block>     
    5863    </metal:main>
     64
    5965  </metal:body>
    60 </metal:block>     
    61 </metal:html>
     66     
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r1185 r1197  
    11<metal:html tal:define="info context/getStudentFolderInfo;
    2                 is_so info/is_sectionofficer;
    32                is_staff info/is_staff;
    43                is_student info/is_student">
Note: See TracChangeset for help on using the changeset viewer.