Changeset 3188 for WAeUP_SRP/uniben


Ignore:
Timestamp:
20 Feb 2008, 07:04:43 (17 years ago)
Author:
Henrik Bettermann
Message:

improve import form

WAeUPTool has to be modified accordingly.

Location:
WAeUP_SRP/uniben/profiles/default
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/uniben/profiles/default/layouts/import.xml

    r2333 r3188  
    3333  <property name="vocabulary">import_names</property>
    3434 </widget>
    35  <widget name="import_or_edit" meta_type="Boolean Widget">
    36   <property name="title">Import or Edit</property>
     35 <widget name="mode" meta_type="Select Widget">
     36  <property name="title">Import Mode</property>
    3737  <property name="fields">
    38    <element value="import_or_edit"/>
     38   <element value="mode"/>
    3939  </property>
    40   <property name="label">Import or Edit</property>
    41   <property name="label_edit">Import or Edit</property>
     40  <property name="is_required">False</property>
     41  <property name="label">Import Mode</property>
     42  <property name="label_edit">Import Mode</property>
    4243  <property name="readonly_layout_modes"/>
    4344  <property name="hidden_layout_modes"/>
    4445  <property name="hidden_readonly_layout_modes"/>
    45   <property name="label_false">import</property>
    46   <property name="label_true">edit</property>
    47   <property name="render_format">select</property>
    48  </widget>
     46  <property name="vocabulary">import_modes</property>
     47 </widget>
    4948 <table>
    5049  <row>
     
    5554  </row>
    5655  <row>
    57    <cell name="import_or_edit"/>
     56   <cell name="mode"/>
    5857  </row>
    5958 </table>
  • WAeUP_SRP/uniben/profiles/default/vocabularies/import_names.xml

    r3177 r3188  
    11<?xml version="1.0"?>
    22<?xml-stylesheet type="text/xsl" href="vocabulary.xsl"?>
    3 <object name="entry_modes" meta_type="CPS Vocabulary">
     3<object name="import_names" meta_type="CPS Vocabulary">
    44 <property name="title"></property>
    55 <property name="title_msgid"></property>
     
    77 <property name="acl_write_roles">Manager</property>
    88 <item key="student" msgid="">Student Data</item>
     9 <item key="verdict" msgid="">Verdicts & Return</item>
    910 <item key="faculty" msgid="">Faculty Data</item>
    1011 <item key="department" msgid="">Department Data</item>
     
    1415 <item key="certificate_course" msgid="">Certificate Course Data</item>
    1516 <item key="application" msgid="">Application Data</item>
    16  <item key="verdict" msgid="">Verdicts</item>
     17 <item key="pending" msgid="">Pending Data</item>
    1718</object>
Note: See TracChangeset for help on using the changeset viewer.