From 3ace5c07917e48f44c518c0f7489f022616f0cf5 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 23 Aug 2016 01:22:05 +0000 Subject: [PATCH] Bug 17162: Moving MARC tags structure actions into a drop down menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test: 1) Go to Admin -> MARC bibliographic framework 2) Go to Actions -> MARC structure for any framework 3) Confirm that three links, Subfields, Edit and Delete, now show in drop-down menu with appropriate font awesome icons 4) Confirm that Subfields takes you to the right page and Edit and Delete work as expected Sponsored-by: Catalyst IT Patch behaves as expected. Signed-off-by: Marc VĂ©ron --- .../prog/en/modules/admin/marctagstructure.tt | 34 +++++++++++++++------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt index 1f0a5d8..d5b13a1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt @@ -15,7 +15,7 @@ $(document).ready(function() { $("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ - { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, ], "sPaginationType": "four_button" })); @@ -189,9 +189,7 @@ $(document).ready(function() { Repeatable Mandatory Auth value - Subfields - Edit - Delete +   @@ -211,9 +209,17 @@ $(document).ready(function() { [% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %] [% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %] [% loo.authorised_value %] - subfields - Edit - Delete + + + [% END %] [% ELSE %] @@ -224,9 +230,17 @@ $(document).ready(function() { [% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %] [% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %] [% loo.authorised_value %] - Subfields - Edit - Delete + + + [% END %] [% END %] -- 2.1.4