From be98a615bca4247f6b69576d8b39c0a6a326cef7 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 17 Mar 2023 17:43:18 +0000 Subject: [PATCH] Bug 19361: (QA follow-up) Make sure "Not an authorised value" appears in the pull down This is to make sure that the small icon with the additional tooltip style explanation is not as easily missed. Also updates text slightly: * Pull downs: "X (Not an authorised value)" * Tooltip: "The current value X is not configured for the authorised value category controlling this subfield" Switches from exclamation triangle to the more "alerting" exclamation-triangle :) Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit c123b414800a9a7f20d1a7948baa6ea43025eec6) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 4 ++-- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 7fc306aa64..a167314729 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -122,7 +122,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr $node.append( '' ); } ); if( !matched ){ - $node.append( "" ); + $node.append( "" ); } $node.val( this.text ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index 76b25a68a5..634bf8f196 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -126,9 +126,9 @@ [% END %] [% UNLESS matched || ( ( kohafield == 'items.damaged' || kohafield == 'items.itemlost' || kohafield == 'items.withdrawn' || kohafield == 'items.notforloan' ) && mv.default == '0' ) %] [%# If the current value is not in the authorised list and is not a field where 0 means unset #%] - + - + [% ELSE %] [% END %] 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 0789780765..58b3d1fb08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -1158,10 +1158,10 @@ function PopupMARCFieldDoc(field) { [% END %] [% END %] - [% UNLESS matched # If the current value is not in the authorised list %] - + [% UNLESS matched # If the current value is not in the authorised value list %] + - + [% ELSE %] [% END %] -- 2.39.5