From 24b4162c87dbc2a32508e2363afe202047f25eff Mon Sep 17 00:00:00 2001 From: Aleisha Date: Sun, 6 Mar 2016 21:35:04 +0000 Subject: [PATCH] Bug 15966: Move MARC frameworks actions into a drop down menu EDIT: Switching icons for Export and Import. What I had initially was what I intended because export is like downloading and import is like upload, but it seems to make more sense reversed. EDIT2: Fixing Import problem To test: 1) Go to Administration -> MARC bibliographic framework (admin/biblio_framework.pl) 2) Confirm that all actions have now been moved into drop down menus. a) For Default framework, actions available are 'MARC structure', 'Export' and 'Import'. b) Confirm these buttons all work as expected. c) For all other frameworks, actions available are 'MARC structure', 'Edit', 'Delete', 'Export' and 'Import'. d) Confirm these buttons all work as expected. Sponsored-by: Catalyst IT Signed-off-by: Nicole C Engard Signed-off-by: Mark Tompsett Signed-off-by: Jonathan Druart --- .../prog/en/modules/admin/biblio_framework.tt | 195 ++++++++++----------- 1 file changed, 97 insertions(+), 98 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt index f870026..97fd640 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt @@ -17,7 +17,7 @@ $(document).ready(function() { $("#table_biblio_frameworks").dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ - { "aTargets": [ -1, -2, -3, -4, -5 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, { "aTargets": [ 0, 1 ], "sType": "natural" }, ], "bSort": true, @@ -205,71 +205,66 @@ Code Description   - Edit - Delete - Export - Import   Default framework - MARC structure -   -   - - - Export - +