From 529b6ab9fe21a508e01e1eb8dd37d83e8e2556c7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 2 Jun 2011 02:30:22 -0400 Subject: [PATCH] Fix for Bug 6446, batch item deletion interface problems Scoping error in T:T variable caused incorrect column display in batch delete and batch edit interfaces. After applying this patch header cells should align correctly with content and checkbox column should appear. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 2 +- 2 files changed, 2 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 21013f5a0d..5aed1baa30 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 @@ -91,7 +91,7 @@ for( x=0; x - [% FOREACH item_loo IN item_loop %] [% IF ( item_loo.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 %][% END %] [% FOREACH item_valu IN item_loo.item_value %] [% item_valu.field |html %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 461b6bcacb..05fa9786ee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -85,7 +85,7 @@ for( x=0; x - [% FOREACH item_loo IN item_loop %] [% IF ( item_loo.show ) %][% IF ( item_loo.nomod ) %] Cannot Edit[% ELSE %][% END %][% ELSE %] [% END %] + [% FOREACH item_loo IN item_loop %] [% IF ( show ) %][% IF ( item_loo.nomod ) %] Cannot Edit[% ELSE %][% END %][% ELSE %] [% END %] [% FOREACH item_valu IN item_loo.item_value %] [% item_valu.field |html %] [% END %] -- 2.39.5