]> git.koha-community.org Git - koha.git/commit
Bug 12677: Use Bootstrap "label" style for inline OPAC renewal messages
authorOwen Leonard <oleonard@myacpl.org>
Mon, 28 Jul 2014 15:35:47 +0000 (11:35 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 3 Aug 2014 19:52:49 +0000 (16:52 -0300)
commit5466a5f4ce9a3b71ce1cdf4927bc78d81e3262d7
tree1967a29bced459b06ac4acaba7133735df23d9b2
parent2db8ba555d40ee2bb8edb0342e86e03d5d2a7d04
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@veron.ch>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, no problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/css/opac.css
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
koha-tmpl/opac-tmpl/bootstrap/less/opac.less