]> git.koha-community.org Git - koha.git/commit
Bug 20217: Make header's catalog search menu into a split button
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 Aug 2018 13:37:49 +0000 (13:37 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Sun, 16 Sep 2018 00:27:50 +0000 (00:27 +0000)
commit8671ea1195c5bc65217017adcedefaf67b774a4e
tree10ed0b549325068b7b5ad5bcfd3e4056968e7e56
parentf0863d814da48d4eb3d511f888359eae4a6c4906
Bug 20217: Make header's catalog search menu into a split button

This patch modifies the markup for the staff client header's catalog
search menu so that it mimics the behavior of a Bootstrap split button
(As seen on the cataloging home page's 'New from Z39.50' button).

To test, apply the patch, run 'yarn build' to regenerate the staff
client's CSS, and clear your browser cache.

- View any page in the staff client.
- Hover your mouse over the "Search" link in the header. It should
  trigger a hover affect on the adjacent menu link.
- Clicking the "Search" link should take you directly to the advanced
  search page.
- Clicking the adjacent menu link should display a menu containing links
  to advanced search and item search.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/js/staff-global.js