From b270b3faf8d936f885ba991ab9adcc4d84ca90ad 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 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 --- .../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..c91a8cc 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