From ab5b46274c30fc0f00486160b93363f099ec0a4a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 3 Feb 2017 00:02:39 +0000 Subject: [PATCH] Bug 18043: Updating buttons for z39.50 cataloguing search 1) Go to Cataloguing -> New from Z39.50 2) Do a search, noticing the ugly buttons from Comment 1 3) Apply patch and go back to a new search 4) Do a search again, noticing the new, nicer buttons 5) Confirm they still work as expected Sponsored-by: Catalyst IT --- .../prog/en/modules/cataloguing/z3950_search.tt | 38 ++++++++++++---------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 733c6b5..57f9e3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_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 }, { "aTargets": [ 1 ], "sType": "nsb-nse" }, ], "aaSorting": [[ 1, "asc" ]], @@ -102,7 +102,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% END %] -
Cancel
+
Cancel
@@ -144,9 +144,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Edition ISBN LCCN - MARC - Card -   + View +   [% FOREACH breeding_loo IN breeding_loop %] [% IF ( breeding_loo.breedingid ) %] @@ -159,9 +158,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% breeding_loo.edition %] [% breeding_loo.isbn %] [% breeding_loo.lccn %] - MARC - Card - Import + MARC Card + Import [% END %] [% END %] @@ -201,20 +199,26 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : [% END %] - [% IF ( show_prevbutton ) %] - - [% END %] - Page [% current_page %] / [% total_pages %] - [% IF ( show_nextbutton ) %] - - [% END %] -
Go to page : +
+ [% IF ( show_prevbutton ) %] + + [% END %] + Page [% current_page %] / [% total_pages %] + [% IF ( show_nextbutton ) %] + + [% END %] +
+
+ Go to page: +
[% ELSE %]
Nothing found.
[% END %] -

+
+
+
[% END %] -- 2.1.4