Bug 19414: Move the location of the 'Import this batch into the catalog' button
authorYour Full Name <your_email>
Thu, 5 Oct 2017 05:54:55 +0000 (05:54 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Oct 2017 16:05:36 +0000 (13:05 -0300)
Moves the location of the button in question to be below the framework selector

Test plan:
1. Go to Tools -> Stage MARC records for import
2. Upload a .mrc file and stage it for import
3. Click Manage staged records
4. Note that the import button appears above the framework selector
5. Apply patch
6. Refresh the window
7. Notice that the button has now moved to below the framework selector

Sponsored-By: CALYX information essentials
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt

index 4d84eb3..b4403ef 100644 (file)
@@ -327,8 +327,6 @@ $(document).ready(function(){
     <input type="hidden" name="completedJobID" value="" />
     <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
     <fieldset class="action">
-    <input type="submit" class="button" name="mainformsubmit" value="Import this batch into the catalog" />
-    <br/>
     [% IF ( record_type != 'auth' ) %]
     Add new bibliographic records into this framework:
     <select name="framework" id="frameworks">
@@ -338,6 +336,8 @@ $(document).ready(function(){
       [% END %]
     </select>
     [% END %]
+    <br/>
+    <input type="submit" class="button" name="mainformsubmit" value="Import this batch into the catalog" />
     </fieldset>
   </form>
   <div id="jobpanel"><div id="jobstatus" class="progress_panel">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>