From: Aleisha Amohia Date: Thu, 16 Feb 2017 22:10:34 +0000 (+0000) Subject: Bug 18134: Updating Preview MARC button in Batch Authority Record Mod X-Git-Tag: v17.05.00~400 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=85f52d52e7fc77d6635321523e77a45a69081289;p=koha-ffzg.git Bug 18134: Updating Preview MARC button in Batch Authority Record Mod This patch ensures the Preview MARC button when batch modifying authority records looks like the Preview MARC button when batch modifying biblio records. To test: 1) Go to Tools -> Batch record modification 2) Leave record type as Biblio, Put in a biblionumber, select a template and click Continue 3) Notice the 'Show MARC' button 4) Click Cancel and change record type to Authority. Put in auth id, select template, click Continue 5) Notice ugly 'Preview MARC' link 6) Apply patch and refresh page 7) There should now be a nice 'Show MARC' button like there is for biblio mod. Confirm it still works as expected. Sponsored-by: Catalyst IT Signed-off-by: JMBroust Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 32034a5428..e2d5726841 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -240,7 +240,7 @@ $(document).ready(function() { Authid Summary - Preview +   @@ -249,7 +249,7 @@ $(document).ready(function() { [% authority.authid %] [% PROCESS authresult summary=authority.summary %] - Preview MARC + Show MARC [% END %]