From e06e56602f41d96693130cd8939cc48ebfae6a10 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. 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 --- .../prog/en/modules/admin/biblio_framework.tt | 219 ++++++++++---------- 1 file changed, 110 insertions(+), 109 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..59b67d2 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,133 +205,134 @@ Code Description   - Edit - Delete - Export - Import   Default framework - MARC structure -   -   - - - Export - - - + - + - - Import - - + + - - + + [% FOREACH loo IN frameworks %] [% loo.frameworkcode %] [% loo.frameworktext %] - MARC structure - Edit - Delete + + + - - Export - - - - + + - - Import - - - - [% END %] -- 1.7.10.4