From e5499e511b4194253565a2b1d8ec2c9b829f8cd3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 5 Mar 2019 18:56:55 +0000 Subject: [PATCH] Bug 7890: Highlight required field in MARC editor This patch modifies the basic MARC editor so that required fields have the standard "Required" label on them instead of a small red asterisk. To test, apply the patch and create a new record in the basic MARC editor. Tags which are marked mandatory in your selected MARC bibliographic framework should be labeled "Required." --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 32d71b3..374bca1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -728,7 +728,6 @@ function Changefwk() { [% UNLESS advancedMARCEditor %] [% IF ( subfield_loo.mandatory ) %][% ELSE %][% END %] [% subfield_loo.marc_lib | $raw %] - [% IF ( subfield_loo.mandatory ) %]*[% END %] [% END %] @@ -768,7 +767,9 @@ function Changefwk() { [% END %] [% END %] - + [% IF ( subfield_loo.mandatory ) %] + Required + [% END %] [% IF ( subfield_loo.repeatable ) %] -- 2.1.4