[open-ils-commits] r18285 - trunk/Open-ILS/src/perlmods/OpenILS/WWW (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 12 15:23:27 EDT 2010


Author: miker
Date: 2010-10-12 15:23:22 -0400 (Tue, 12 Oct 2010)
New Revision: 18285

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/WWW/TemplateBatchBibUpdate.pm
Log:
improve labeling and documentation

Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/TemplateBatchBibUpdate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/TemplateBatchBibUpdate.pm	2010-10-12 17:43:14 UTC (rev 18284)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/TemplateBatchBibUpdate.pm	2010-10-12 19:23:22 UTC (rev 18285)
@@ -563,8 +563,11 @@
                 </tr>
                 <tr class='hide_me' id='csvContainer'>
                     <td>
-                        Column <input style='width:75px;' type='text' dojoType='dijit.form.NumberSpinner' name='idcolumn' value='0' constraints='{min:0,max:100,places:0}' /> (starting from 0) of: 
+                        Column <input style='width:75px;' type='text' dojoType='dijit.form.NumberSpinner' name='idcolumn' value='0' constraints='{min:0,max:100,places:0}' /> of: 
                         <input id='idfile' type="file" name="idfile"/>
+                        <br/>
+                        <br/>
+                        Columns are numbered starting at 0.  For instance, when looking at a CSV file in Excel, the column labeled A is the same as column 0, and the column labeled B is the same as column 1.
                     </td>
                 </tr>
                 <tr class='hide_me' id='recordContainer'>
@@ -599,7 +602,7 @@
             <table>
                 <tbody>
                     <tr>
-                        <th>Rule Type</th>
+                        <th>Action (Rule Type)</th>
                         <td name='typeSelectContainer'>
                             <select name='typeSelect'>
                                 <option value='r'>Replace</option>
@@ -607,6 +610,7 @@
                                 <option value='d'>Delete</option>
                             </select>
                         </td>
+                        <td>Three characters, no spaces, no indicators, etc. eg: 245</td>
                     </tr>
                     <tr>
                         <th>MARC Tag</th>
@@ -620,23 +624,26 @@
                     <tr>
                         <th>MARC Data</th>
                         <td name='marcDataContainer'><input name='marcData' type='text'/></td>
+                        <td>MARC-Breaker formatted data with indicators and subfield delimiters, eg:<br/>245 04$aThe End</td>
                     </tr>
                     <tr>
-                        <th colspan='2' style='padding-top: 10px; text-align: center;'>Optionally Restrict By</th>
+                        <th colspan='2' style='padding-top: 10px; text-align: center;'>Advanced Matching Restriction (Optional)</th>
                     </tr>
                     <tr>
                         <th>Subfield</th>
                         <td name='matchSFContainer'><input style='with: 2em;' name='matchSF' type='text'></input</td>
-                    </td>
+                        <td>A single subfield code, no delimiters, eg: a</td>
                     <tr>
                         <th>Regular Expression</th>
                         <td name='matchREContainer'><input name='matchRE' type='text'/></td>
+                        <td>See <a href="http://perldoc.perl.org/perlre.html#Regular-Expressions" target="_blank">the Perl documentation</a>
+                            for an explanation of Regular Expressions.
+                        </td>
                     </tr>
                     <tr>
                         <td></td>
                         <td>
-                            <button name='removeButton'>Remove Merge Rule
-                            </button>
+                            <button name='removeButton'>Remove this Template Rule</button>
                         </td>
                     </tr>
                 </tbody>



More information about the open-ils-commits mailing list