From 52fe978a092f79afeae3d56f12b94ff94523239f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 9 Feb 2021 19:31:33 +0000 Subject: [PATCH] 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 to
and moves it just above 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit a63748e241ccfc2ae4dc4487c5c6cb87b1b54b84) Signed-off-by: Fridolin Somers (cherry picked from commit d0f350314a7ad43f44f67a10b8c023b7671b517c) Signed-off-by: Andrew Fuerste-Henry --- .../prog/en/modules/acqui/acqui-home.tt | 29 ++++++++++--------- .../prog/en/modules/admin/aqbudgets.tt | 17 ++++++----- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index 1361b4a10a..128bc138ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -67,21 +67,22 @@

All available funds

+
+ + Expand all | + Collapse all | + Hide inactive budgets | + Show inactive budgets | + + +
+
- diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt index a52cda66f2..3fb5727045 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt @@ -51,15 +51,18 @@ [% IF budgets %] -
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets - | - - -
[% UNLESS budget_period_id %] - + [% END %] + +
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets -
-- 2.39.5
Active