From 03631164c5d683c92d4728b416e094994c9fc14a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 12 Dec 2018 12:22:47 -0300 Subject: [PATCH] Bug 21990: Replace dialog .error with .alert
will display a div without background color, the correct class is "dialog alert". https://wiki.koha-community.org/wiki/Interface_patterns#Error_messages Test plan: Hit /cgi-bin/koha/acqui/parcel.pl Notice the background color change with and without this patch Signed-off-by: Pierre-Marc Thibault Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit d44a42e417b563f501f038cc5226eda0f5fb3ca5) Signed-off-by: Martin Renvoize (cherry picked from commit 1f5aa58a2ce0b6f1bf076a50cbbd2f728b47d0e1) Signed-off-by: Jesse Maseto --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 4 ++-- .../prog/en/modules/tools/batch_delete_records.tt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index 8a86849dbd..d2134eb097 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -62,7 +62,7 @@ [% END %] [% IF (error_cancelling_receipt) %] -
+
Cannot cancel receipt. Possible reasons :
  • @@ -80,7 +80,7 @@ [% END %] [% IF error_invoice_not_known %] -
    +
    The invoice referenced by this invoiceid does not exist.
    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index cd789a9ef5..a42703441c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -28,7 +28,7 @@ [% ELSIF message.type == 'warning' %]
    [% ELSIF message.type == 'error' %] -
    +
    [% END %] [% IF message.code == 'biblio_not_exists' %] The biblionumber [% message.biblionumber |html %] does not exist in the database. -- 2.39.5