Ignore:
Timestamp:
Mar 24, 2010, 4:01:18 PM (13 years ago)
Author:
tabma
Message:
  • uniquely identified column selection moved to first page and changed to radio
Location:
trunk/grails-app/views/importer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/common/_preview.gsp

    r299 r312  
    1515<g:form name="previewform" action="savepreview">
    1616    <table>
     17        <tr>
     18            <td>Identifier:</td>
     19                <g:each var="column" in="${header}">
     20                    <td>
     21                        <g:radio name="identifier" value="${column.value.index}"/>
     22                    </td>
     23                </g:each>
     24            </td>
     25        </tr>
    1726        <tr>
    1827          <td>Columnname:</td>
  • trunk/grails-app/views/importer/common/_properties.gsp

    r305 r312  
    1818              <% if (selectedentities.any { it.type.toInteger() ==stdentity.type.toInteger()} && stdentity.type.toInteger()!=-1) { %>
    1919              <tr><td colspan="2"><h4>${stdentity.name}</h4></td></tr>
    20               <tr>
    21                   <td>Identifier:</td>
     20              <tr>               
    2221                  <td>Columnname:</td>
    2322                  <td>Property:</td>
     
    2524                <g:each var="selentity" in="${selectedentities}">
    2625                    <g:if test="${selentity.type.toLong()==stdentity.type}">
    27                         <tr>
    28                             <td width="12px">
    29                                 <g:checkBox name="identifier"/>
    30                             </td>
     26                        <tr>                       
    3127                            <td class="header" width="200px">
    3228                                <b>${header[selentity.columnindex.toInteger()].name}</b>
  • trunk/grails-app/views/importer/step2.gsp

    r299 r312  
    2525  <body>
    2626    <h1>Step 2: import wizard entities/properties</h1>
     27    <p>Please choose the study you want to add the data to.</p>
     28    <importer:
    2729    <p>Below you see the entities and columns, assign properties to the columns.</p>
    2830  <importer:properties entities="${entities}" header="${header}" templates="${templates}"/>
Note: See TracChangeset for help on using the changeset viewer.