From 25fc3036057d8f7374340fc163776e9d8fb7397f Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 13 May 2019 18:05:38 +0000 Subject: [PATCH] Bug 22914: Batch Item Delete column misconfigured when using show/hide tool --- .../prog/en/modules/tools/batchMod-del.tt | 43 +++++++++++++++++++++- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt index fd7913b850..b938a16c87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt @@ -97,14 +97,53 @@ [% IF ( show ) %] [% END %] Title + Holds [% FOREACH item_header_loo IN item_header_loop %] [% item_header_loo.header_value | html %] [% END %] - [% FOREACH item_loo IN item_loop %] [% IF ( show ) %][% IF ( item_loo.nomod ) %] Cannot edit[% ELSE %][% END %][% END %] - + [% FOREACH item_loo IN item_loop %] + + [% IF show %] + [% IF item_loo.nomod %] + Cannot edit + [% ELSE %] + + [% END %] + [% ELSE %] +   + [% END %] + + + + + [% IF item_loo.holds %] + [% IF item_loo.item_holds %] + + [% ELSE %] + + [% END %] + [% ELSE %] + [% IF item_loo.holds %] + + [% ELSE %] + + [% END %] + [% END %] + [% IF item_loo.holds %] + [% item_loo.item_holds | html %]/[% item_loo.holds | html %] + [% ELSE %] + [% item_loo.holds | html %] + [% END %] + + [% FOREACH item_valu IN item_loo.item_value %] [% item_valu.field | html %] [% END %] [% END %] -- 2.11.0