From 7fbec4114fc166fdc321d03d43394695cae55071 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 9 Feb 2021 19:31:33 +0000 Subject: [PATCH] Bug 27653: [Alternate][Alternate][Alternate] 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 --- .../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 c9b7296017..52c28f9f1d 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 @@ -78,21 +78,22 @@

All available funds

-
- +
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets - | - +
+ + 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 5eeb57766b..cb893b6dc2 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 %] -
[% UNLESS budget_period_id %] - + [% END %] + +
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets -
-- 2.11.0
Active