From 86bb7713afe3b5c648fc3991c080b9d96cab2723 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 5 Dec 2015 08:53:26 -0500 Subject: [PATCH] Bug 15320 - Use Bootstrap modal for MARC preview when ordering from an existing record MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to reduce the number of dependencies for common interactions we should attempt to use Bootstrap modals in place of Greybox ones. This patch modifies the page in Acquisitions for ordering from an existing record so that the "View MARC" preview is displayed in Bootstrap modals. To test: 1. Apply the patch and navigate to Acquisitions. 2. Locate an exsiting basket or create a new one. 3. Add to the basket using the option to search for an existing record. 4. Perform any search which will return results. 5. Test the "View MARC" link for multiple results and confirm that the correct data is shown each time. Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart --- .../prog/en/modules/acqui/neworderbiblio.tt | 27 ++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt index 4911b62..037dc10 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt @@ -1,7 +1,6 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › Search existing records -[% INCLUDE 'greybox.inc' %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] @@ -79,7 +90,7 @@ [% biblio.copyrightdate %] - View MARC + View MARC @@ -90,6 +101,18 @@ [% END %] + [% END %] -- 2.1.0