Ignore:
Timestamp:
11 Mar 2008, 14:16:31 (17 years ago)
Author:
joachim
Message:

allow ignore,
check for duplicates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_upload/uploads_form.pt

    r3315 r3316  
    6666                <th>Value from 1. record</th>
    6767              </tr>
    68               <tr tal:repeat="key row/invalid_keys">
     68              <tr tal:repeat="key row/fields">
    6969                <td colspan="1">
    70                   <font tal:attributes="color python: test(key[1] == '----' and not key[0].startswith('ignore'),'red','black')" tal:content="python: key[0]" />
     70                  <font tal:attributes="color python: test(key[3],'red','black')">
     71                    <span tal:content="python: key[1]" tal:omit-tag=""/>
     72                    <span tal:condition="python: key[3]" tal:content="python: key[3]" tal:omit-tag=""/>
     73                  </font>
    7174                </td>
    7275                <td colspan="1"
    7376                    tal:define="old_key python: key[0];new_key python: key[1];">
    74                   <select tal:attributes="name string:${row/id}|${old_key}.valid_key:record">
     77                  <select tal:attributes="name string:${row/id}|${repeat/key/index}.valid_key:record">
    7578                    <option tal:repeat="new row/valid_keys"
    76                             tal:attributes="value new; selected python: new == new_key"
     79                            tal:attributes="value new; selected python: new_key == new"
    7780                            tal:content="new" />
    7881                  </select><br />
Note: See TracChangeset for help on using the changeset viewer.