From db6a376fd338a10b26339cfd0712667ead1b09eb Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 20 Oct 2023 19:18:43 +0100 Subject: [PATCH] Bug 35119: (follow-up) Same treatment for editor page We pushed 34014 before I thought about these changes.. I think this is a solid follow-up to add the same styling to the catalogue editor page.. swapping the existing dialog alert with a page-section bg-danger and thus allowing more space to 'pre' wrap the encoding error itself to ease the spotting of errant characters. Signed-off-by: Phil Ringnalda Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/cataloguing/addbiblio.tt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 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 6d7b255c84..73fe2521c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -838,14 +838,15 @@ $(document).ready(function(){ [% END #/ WRAPPER sub-header.inc %]
- [% IF ( INVALID_METADATA ) %] -
-

This record had encoding issues, non-xml characters have been stripped in order to allow editing. Please be cautious when saving that some data may have been removed from the record.
Decoding error:

- [% INVALID_METADATA | html %] -
- [% END %]
+ [% IF ( INVALID_METADATA ) %] +
+

Errors found

+

This record had encoding issues, non-xml characters have been stripped in order to allow editing. Please be cautious when saving that some data may have been removed from the record.

+
[% INVALID_METADATA | html %]
+
+ [% END %]
-- 2.39.5