]> git.koha-community.org Git - koha.git/commit
Bug 12109: Fix tab on the auth subfield configuration page
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 27 Apr 2015 15:16:32 +0000 (17:16 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 18 May 2015 15:13:21 +0000 (12:13 -0300)
commit4f614a8d5e496be5a5f1f585dc606d7ed5caaccd
treeb23eee03e223cc9674c4f4a0364dcfc9bc324a76
parentac93659265d7ceed21294471f21c92a6e317775b
Bug 12109: Fix tab on the auth subfield configuration page

There is a condition in the template to not display the "New" tab if the
user is editing a control field.
But it results in a broken template.
Looking at the biblio frameworks, the New tab exists even for control
fields.

This patch only fixes the html structure, but a complete fix should be
provide, for auth and biblio, if we want not to let the ability to
create subfields for control fields.

Test plan:
Edit subfields for a control field
(admin/marc_subfields_structure.pl?op=add_form&tagfield=001&frameworkcode= for instance)
and confirm that the view is now fixed.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
NOTE: Checked LDR, 001, and 008.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt