[Koha-bugs] [Bug 26886] OPAC suggestions: possible duplicate message should stand out more

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 2 14:54:53 CET 2020


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 112835
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112835&action=edit
Bug 26886: Correct style of alert-error class in the OPAC

This patch makes a minor change to the OPAC SCSS so that instances of
"alert-error" classes are styled the same as messages with the Bootstrap
4 "alert-warning" class. This change is simpler than making multiple
changes to scripts and templates.

To test, apply the patch and try to view a single news item in the OPAC
which doesn't exist:

/cgi-bin/koha/opac-main.pl?news_id=XXX

- You should see a warning message with a pale yellow background, "This
  news item does not exist."
- Submit a suggestion, and then submit another suggestion with the
  same title.
  - You should see a warning message, "The suggestion has not been
  added. A suggestion with this title already exists."

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


More information about the Koha-bugs mailing list