From a63748e241ccfc2ae4dc4487c5c6cb87b1b54b84 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 --- .../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 1454470d17..5195314c8e 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 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 %] -
[% UNLESS budget_period_id %] - + [% END %] + +
- Expand all - | Collapse all - | Hide inactive budgets - | Show inactive budgets -
-- 2.39.5
Active