Ignore:
Timestamp:
21 Sep 2007, 20:11:08 (17 years ago)
Author:
Henrik Bettermann
Message:

allow overwriting of matric_no or jamb_reg_no if student id is provided

Location:
WAeUP_SRP/uniben/profiles/default
Files:
3 edited

Legend:

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

    r2262 r2268  
    5252  </action>
    5353  <action title="Import Data" action_id="import" category="global"
    54      condition_expr="python:member and member.has_role('Manager')" url_expr="string:./import"
    55      visible="True">
    56    <permission>View</permission>
    57   </action> 
     54     condition_expr="python:member and member.has_role('Manager')" url_expr="string:${portal_url}/import"
     55     visible="True">
     56   <permission>View</permission>
     57  </action>
    5858  <action title="action_manage_vocabularies" action_id="manage_vocabularies"
    5959     category="global" condition_expr=""
  • WAeUP_SRP/uniben/profiles/default/layouts/import_student.xml

    r2237 r2268  
    88 <property name="flexible_widgets"/>
    99 <property name="validate_values_expr"></property>
     10
     11 <widget name="id" meta_type="String Widget">
     12  <property name="title">Id</property>
     13  <property name="fields">
     14   <element value="email"/>
     15  </property>
     16  <property name="is_required">False</property>
     17  <property name="label">Id</property>
     18  <property name="label_edit">Id</property>
     19  <property name="readonly_layout_modes"/>
     20  <property name="hidden_layout_modes"/>
     21  <property name="hidden_readonly_layout_modes"/>
     22 </widget>
     23
    1024 <widget name="reg_transition" meta_type="String Widget">
    1125  <property name="title">Transition after import</property>
     
    262276  <property name="hidden_readonly_layout_modes"/>
    263277 </widget>
    264  
     278
    265279  <widget name="jamb_state" meta_type="String Widget">
    266280  <property name="title">JAMB State</property>
  • WAeUP_SRP/uniben/profiles/default/schemas/import_student.xml

    r2188 r2268  
    22<?xml-stylesheet type="text/xsl" href="schema.xsl"?>
    33<object name="import_student" meta_type="CPS Schema">
     4 <field name="id" meta_type="CPS String Field"/>
    45 <field name="reg_transition" meta_type="CPS String Field"/>
    56 <field name="firstname" meta_type="CPS String Field"/>
Note: See TracChangeset for help on using the changeset viewer.