[Bug 15949] New: Making certain alerts stand out
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15949 Bug ID: 15949 Summary: Making certain alerts stand out Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com In the attempt to make certain messages stand out from others (in this case, when an item is checked in that is not in the system or is miss-scanned), I added the following jquery: //Enhance No item with barcode message $("p.problem:contains('No item with barcode:')").parent("div").removeClass("alert").css("background-color","red").css("border","1px solid #e0c726").css("background","rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #FAECEC 0%, #FAECEC 9%, #FC1B1B 89%, #FA2A2A 100%) repeat scroll 0 0"); //End Enhance Would love to see visual enhancements of the alerts become a preference in admin. Christopher -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15949 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- I think perhaps a better solution is to make sure that messages like this get unique ID atributes so that you can define custom CSS for particular messages which are of higher priority to your library. For example: [% IF ( errmsgloo.badbarcode ) %] <p id="checkin_no_item_with_barcode" class="problem">No item with barcode: [% errmsgloo.msg %]</p> [% END %] That would also allow you to define custom audio alerts for those messages. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15949 Lisette <lisetteslatah@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisetteslatah@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15949 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Academy CC| |katrin.fischer@bsz-bw.de --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Owen Leonard from comment #1)
I think perhaps a better solution is to make sure that messages like this get unique ID atributes so that you can define custom CSS for particular messages which are of higher priority to your library. For example:
[% IF ( errmsgloo.badbarcode ) %] <p id="checkin_no_item_with_barcode" class="problem">No item with barcode: [% errmsgloo.msg %]</p> [% END %]
That would also allow you to define custom audio alerts for those messages.
+1 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15949 --- Comment #3 from Christopher Brannon <cbrannon@cdalibrary.org> --- I think, in the interest of keeping things simple, and not having programmers hate this, it would be better to have either a brief code, or a numeric problem ID or subclass so people are not having to use #checkin_no_item_with_barcode. As someone that uses jQuery a lot, it would annoy me more than keeping a unique code or number straight. But, that is my personal opinion and not the opinion of programmers. Either way, it would work. HOWEVER, it would be even BETTER, if there were a page that could be dedicated to customizations, and would isolate key alerts and such that people could easily set. Koha is HIGHLY customizable, but not everyone wants the nitty gritty of CSS. Looking things up, possibly mistyping something, trying to figure out what they did wrong. Not everyone wants to keep up on CSS. Keep the ability to customize CSS, but add some basic choices for those who don't CSS. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org