]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Feb 2021 10:48:55 +0000 (11:48 +0100)
commita63748e241ccfc2ae4dc4487c5c6cb87b1b54b84
tree85d17ae1bd5ac59aad4a5af105fc02a638c9ca0d
parent1acbe07f0b0b8b3fa8af604054027c7dfe7cf64a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt