From 5f577ad4aeac8fe1e5c5722f7bea64a86b26e8aa Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 May 2016 19:45:27 -0400 Subject: [PATCH] Bug 16548 - All libraries selected on Tools -> Export Data screen This patch adds "select all" and "select none" links to the display of libraries in the export bibliographic records form. Also modified: call number range and accession date fields have been grouped in their own fieldsets in the hopes that this is more readable. Page title and breadcrumbs have been corrected to read "Export data" instead of "MARC export," matching menu items. To test, apply the patch and go to Tools -> Export data. - Test the select all/select none links and confirm that they work as expected. - Confirm that the structural changes to the form look okay. Signed-off-by: Nick Clemens --- .../prog/en/includes/branch-selector.inc | 5 +- .../intranet-tmpl/prog/en/modules/tools/export.tt | 69 +++++++++++++++------- 2 files changed, 50 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc index f3aa11a..2adb0d7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc @@ -6,13 +6,14 @@ END; END %]
+

Select all | Select none

[% FOREACH branch IN branches %]
[% IF branch.selected || (selectall == 1) %] - + [% ELSE %] - + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt index 5362fa9..cf41e5f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -Koha › Tools › MARC export +Koha › Tools › Export data [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] + [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - +
@@ -52,7 +65,8 @@ $(document).ready(function() {
Select records to export -
  1. +
      +
    1. @@ -80,25 +94,36 @@ $(document).ready(function() { [% INCLUDE 'branch-selector.inc' branches = branchloop %] -
    2. - - -
    3. -
    4. - - -
    5. -
    6. Accession date (inclusive): -
      • - - -
      • -
      • - -
      • -
    +
+ +
+ Call number range +
    +
  1. + + +
  2. +
  3. + + +
  4. +
+
+ +
+ Accession date (inclusive) +
    +
  1. + + +
  2. +
  3. + + +
  4. +
+
+
-- 2.1.4