From 05eb2a05de5866331d2765199c4aa9e77f0c2b90 Mon Sep 17 00:00:00 2001 From: Abby Date: Mon, 16 Feb 2015 15:45:16 +0100 Subject: [PATCH] [SIGNED OFF] 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 --- .../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 3f9b313..115e4ea 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 %]
-- 1.7.10.4