From 80ffd8354bff15ef006da746ce516f6e9b497dc5 Mon Sep 17 00:00:00 2001 From: Abby Date: Mon, 16 Feb 2015 15:45:16 +0100 Subject: [PATCH] Bug 10887: Batch item deletion -- doesn't need Use default values section To test: 1. Go to Home > Tools > Batch item deletion 2. Notice that there is an unnecessary option for "use default values section" to "Populate fields with default values from default work" 3. Apply the patch. 4. Check that this section has disappeared. Signed-off-by: Nick Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/tools/batchMod.tt | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt index 3f9b31312a..115e4eae1a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt @@ -44,17 +44,19 @@ -
- Use default values -
    -
  1. - -
  2. -
-
+ [% UNLESS del %] +
+ Use default values +
    +
  1. + +
  2. +
+
+ [% END %] [% IF ( del ) %][% END %]
-- 2.39.5