From b264d67391cb7b9bc5d7f11c6e5d99801b66632c Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 23 Aug 2016 23:51:43 +0000 Subject: [PATCH] Bug 17174: Making z39.50 Authority search actions buttons Have changed the wording of the MARC button to Show MARC to be consistent with other places in Koha. To test: 1) Go to Authorities -> New from Z39.50 2) Put in any search terms and click Search 3) Confirm that both options (MARC and Import) now show as buttons "Show MARC" and "Import" under one "Actions" column with approriate icons 4) Confirm buttons work as expected 5) Confirm buttons do not wrap on narrower browser Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart --- .../prog/en/modules/cataloguing/z3950_auth_search.tt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt index 99065a7..07e69df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt @@ -12,7 +12,7 @@ $(document).ready(function(){ $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { "sDom": 't', "aoColumnDefs": [ - { "aTargets": [ -1,-2,-3 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1,-2 ], "bSortable": false, "bSearchable": false }, ], "aaSorting": [[ 1, "asc" ]], "bPaginate": false @@ -114,8 +114,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Server Heading Authority Type - MARC -   + Actions [% FOREACH breeding_loo IN breeding_loop %] [% IF ( breeding_loo.breedingid ) %] @@ -123,8 +122,10 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% breeding_loo.server %] [% breeding_loo.heading %] [% breeding_loo.heading_code %] - MARC - Import + + Show MARC + Import + [% END %] [% END %] -- 2.8.1