Bugzilla – Attachment 86112 Details for
Bug 7890
Required fields in the MARC editor should be highlighted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7890: Highlight required field in MARC editor
Bug-7890-Highlight-required-field-in-MARC-editor.patch (text/plain), 2.12 KB, created by
Owen Leonard
on 2019-03-05 19:01:11 UTC
(
hide
)
Description:
Bug 7890: Highlight required field in MARC editor
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-03-05 19:01:11 UTC
Size:
2.12 KB
patch
obsolete
>From e5499e511b4194253565a2b1d8ec2c9b829f8cd3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] > [% subfield_loo.marc_lib | $raw %] >- [% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] > </span> > [% END %] > </div> <!-- /.col-sm-4 --> >@@ -768,7 +767,9 @@ function Changefwk() { > [% END %] > </select> > [% END %] >- >+ [% IF ( subfield_loo.mandatory ) %] >+ <span class="required">Required</span> >+ [% END %] > <span class="subfield_controls"> > [% IF ( subfield_loo.repeatable ) %] > <a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;"> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7890
:
86112
|
86544
|
89734
|
89918
|
90032