From df681b241a821714fe60914ca9f64adf1eeaa46b Mon Sep 17 00:00:00 2001 From: Aleisha Date: Sun, 13 Mar 2016 21:57:58 +0000 Subject: [PATCH] Bug 16052: Putting buttons from after MARC records have been staged into a toolbar To test: 1) Go to Tools -> Stage MARC records for import 2) Upload any file and click Stage for import once it has uploaded 3) Confirm both links are now buttons in a toolbar and work as expected 4) Notice that 'Stage more MARC records' (what was once the 'Back' button) now takes you back to stage-marc-records.pl instead of tools-home.pl 5) Also confirm that the space between results and colon (MARC staging results :) is gone Sponsored-by: Catalyst IT --- .../intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt index 67a07f4..69bcea5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt @@ -84,9 +84,13 @@ function cbUpload( status, fileid ) {
+[% IF ( uploadmarc ) %] +[% INCLUDE 'stage-marc-records-toolbar.inc' %] +[% END %] +

Stage MARC records for import

[% IF ( uploadmarc ) %] -

MARC staging results :

+

MARC staging results:

    [% SWITCH (record_type) %] [% CASE 'biblio' %] @@ -113,8 +117,6 @@ function cbUpload( status, fileid ) { [% IF ( label_batch ) %]
  • New label batch created: # [% label_batch %]
  • [% END %] -
  • Manage staged records
  • -
  • Back
[% ELSE %]
    -- 1.7.10.4