From 6894a136c08cb1a6e52ef416162b244324961310 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 15 Mar 2016 00:34:31 +0000 Subject: [PATCH] Bug 16052: Putting buttons from after MARC records have been staged into a toolbar EDIT: Incorporating Owen Leonard's changes from Comment 6 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 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 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 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..e2b6425 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,6 +84,13 @@ function cbUpload( status, fileid ) {
+[% IF ( uploadmarc ) %] + +[% END %] +

Stage MARC records for import

[% IF ( uploadmarc ) %]

MARC staging results :

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