[Koha-bugs] [Bug 27695] Fix style of messages on Elasticsearch configuration page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 3 13:35:01 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27695

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
(In reply to Martin Renvoize from comment #3)
> Hmm.. are 'alert' and an 'error' really the same...?

I don't know that they are from the point of view of the user.

At some point many scripts where modified to use a different method for sending
messages to the template. My searches are failing me so I can't find the
relevant bug number.

When this change was made, many scripts were updated so that the template would
display a dialog with an "error" class which was not defined at the time:

push @messages, {type => 'error', code => 'error_on_delete' };

>From the way this change was made I suspect the use of "error" was intended to
serve the same purpose as "alert." In the staff client there are only "message"
and "alert" type dialogs in use.

In some places the script has been changed to use the previously-standard
"alert," e.g. Bug 22575.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list