From 4419dd5c3f59ae8284178fe4e938f8d6acbe8337 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 Signed-off-by: Owen Leonard Thank you, this is a great improvement. Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- .../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 67a07f443a..e2b6425594 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 %]
      -- 2.39.5