From 25973718ff7aa9ead3d511929ea35eb66f5211f7 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. --- .../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 %]
-- 2.1.0