From 324d5778cd7b5142e9bcca948e5033b0501d08d8 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 10 Feb 2023 21:59:40 +0000 Subject: [PATCH] Bug 32452: Link basket group on basket summary to basket groups page In most places we already link the basket group name to the basket group page, but not on the basket summary page. To test: * Create a basket/order with some order lines * Close the basket and check the checkbox for creating a basket group * Go back to the basket/order page * There will be a link 'Manage basket group', but the basket group name is only text * Apply patch * Reload the page, the basket group name should now be linked Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 99f92d2f5f4..c9952b04ea8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -386,14 +386,16 @@ [% END %] [% ELSIF ( ! CAN_user_acquisition_group_manage ) %] [%- IF basketgroup.id -%] - [% basketgroup.name | html %] + [% basketgroup.name | html %] [%- ELSE -%] No group [%- END -%] [% ELSE %] [% IF ( CAN_user_acquisition_group_manage ) %] [% IF ( basketgroup.id ) %] - [% basketgroup.name | html %] + + [% basketgroup.name | html %] + Change basket group [% ELSE %] No group -- 2.25.1