Bug 13339 - Cart button doesn't open the cart
authorOwen Leonard <oleonard@myacpl.org>
Thu, 22 Jan 2015 19:25:29 +0000 (14:25 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 9 Feb 2015 20:47:46 +0000 (09:47 +1300)
commit6801a2de20243601b9f8d6d863352b80021aee80
tree3d1d3f2a1f4d4ac6e83e34ba2d5ad2c787a22a77
parente49a6b8ad46b3e5f92c7360d8d6d04c6972cac97
Bug 13339 - Cart button doesn't open the cart

The link to open the cart no longer triggers the cart popup. Instead, in
order to make it more usable with mobile devices, it triggers a menu
which displays the count of items in the cart -- something which
previously was done with a hover action (something touch-screen devices
don't have). Clicking/tapping this menu item is what opens the cart
window.

Since the cart link is really now a menu trigger rather than just a
link, it seems logical to add the small arrow which the lists link
has indicating that the link triggers a menu.

To test, apply the patch and view any page in a Cart-enabled OPAC.
Confirm that the "caret" icon displays correctly when the cart is both
empty and when it has contents.

Followed test plan. Icon displays as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, good idea.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 724f77ec43449144a2cccac048a57ffb19799fed)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc