From b9cabb23c3e9b242b69a22464afe185496bdfb17 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=utf8 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 Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../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 d1823549b2..67052fe17e 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" })); @@ -194,9 +194,7 @@ $(document).ready(function() { Repeatable Mandatory Auth value - Subfields - Edit - Delete +   @@ -216,9 +214,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 %] @@ -229,9 +235,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.39.5