]> git.koha-community.org Git - koha.git/commit
Bug 27653: Use div instead of caption for controls
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Feb 2021 19:31:33 +0000 (19:31 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Feb 2021 15:19:22 +0000 (16:19 +0100)
commitd0f350314a7ad43f44f67a10b8c023b7671b517c
tree3c108ec59c1609a0bc76d073e90c4a8a4679d4bf
parentdf66dc51eae3b799a8cd1378f5254c2cb93adf99
Bug 27653: Use div instead of caption for controls

The funds and acquisitions home page tables use captions for additional
table controls. These are more appropriate as "toolbar" divs.

This patch converts the <caption> to <div class="toolbar btn-toolbar">
and moves it just above <table> in the markup to keep it valid.

To test:
1 - View the tables on acquisitions home and budgets views
2 - Note the 'Expand all...' control row
3 - Apply patch
4 - The row remains, but is below the table controls
5 - The row is not included when printing or copying the table

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit a63748e241ccfc2ae4dc4487c5c6cb87b1b54b84)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt