[Koha-bugs] [Bug 12677] Use Bootstrap "label" style for inline OPAC renewal messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 2 10:12:01 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12677

--- Comment #2 from Marc Véron <veron at veron.ch> ---
Created attachment 30482
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30482&action=edit
[Signed-off] Bug 12677 - Use Bootstrap "label" style for inline OPAC renewal
messages

This patch revises the styling of the renewal success message to use a
default Bootstrap style more suited to inline messages. I think this is
preferable to using the alert style because the alert is designed to be
a block-level element.

http://getbootstrap.com/2.3.2/components.html#labels-badges

Because Koha's CSS already uses a "label" class for something else I
duplicate the Bootstrap "label" class in opac.css as "blabel." The
Bootstrap color definitions are included.

To test, follow the test plan already provided:

1) Apply this patch
2) From the OPAC, renew some items
3) Note the "Renewed!" message in the "Renew" column of the checkouts
   table

Patch works as expected.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list