From 14ea1f8880fcd055efd0bfe425d9cb7bc240f16f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 8 May 2020 15:11:19 +0000 Subject: [PATCH] Bug 25427: Make authority subfield management interface consistent MARC view This patch makes a couple of minor changes to the authority MARC subfield structure administration interface to make it more consistent with the corresponding MARC subfield interface. To test, apply the patch and go to Administration -> Authority types. - Pick an authority type to edit, for instance PERSO_NAME, and choose 'MARC structure' from the Actions menu. - Pick a tag to edit and select "Subfields" from the Actions menu. - In the table of subfields for that tag, each subfield in the first column should link to the edit interface for that subfield (its tab pre-selected). - The "Edit" button in that table should do the same. Signed-off-by: Heather Hernandez Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit f1f3117583a41d02f2ad794622f9becd469720f0) Signed-off-by: Lucas Gass --- .../prog/en/modules/admin/auth_subfields_structure.tt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt index b5da79e661..33d767081c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt @@ -272,7 +272,9 @@ [% FOREACH loo IN loop %] - [% loo.tagsubfield | html %] + + [% loo.tagsubfield | html %] + [% IF ( loo.subfield_ignored ) %] [% loo.liblibrarian | html_entity %] @@ -301,7 +303,10 @@ [% IF ( loo.value_builder ) %] | Plugin:[% loo.value_builder | html %],[% END %] [% END %] - Delete + + Edit + Delete + [% END %] -- 2.39.5