From 53767ade44d0fe3b415c0a0628cb0f5761b46518 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 6 Apr 2022 18:00:14 +0000 Subject: [PATCH] Bug 30475: Convert tools pages tabs to Bootstrap (part 2) This patch converts jQueryUI tabs on three tools templates to Bootstrap tabs. The patch contains indentation changes, so diff accordingly. To test, apply the patch and go to Tools -> Export. - You should see at least two tabs, "Export bibliographic records" and "Export authority records." - Confirm that they look correct and work correctly. Go to Tools -> Batch patron modification. - Check the "By card number," "By borrowernumber," and "By patron list" tabs. Go to Tools -> Overdue notice/status triggers. - Check the "First," "Second," and "Third" tabs. Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- .../prog/en/modules/tools/export.tt | 472 +++++++++--------- .../prog/en/modules/tools/modborrowers.tt | 150 +++--- .../prog/en/modules/tools/overduerules.tt | 170 ++++--- 3 files changed, 405 insertions(+), 387 deletions(-) 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 4e3924ce0a..fe01cf2b1f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt @@ -49,252 +49,261 @@ [% END %]
- -
-

- Note : The items are exported by this tool unless specified. -

- -
-
- Select records to export -
    -
  1. - - -
  2. -
  3. - - +
- -
- Call number range -
    -
  1. - - + [% IF ( allow_db_export ) %] +
  2. + Export database
  3. -
  4. - - + [% END %] + [% IF ( allow_conf_export ) %] +
  5. + Export configuration
  6. -
-
+ [% END %] + +
+
+

+ Note : The items are exported by this tool unless specified. +

-
- Accession date (inclusive) -
    -
  1. - - -
  2. -
  3. - - -
  4. -
-
+ +
+ Select records to export +
    +
  1. + + +
  2. +
  3. + + +
  4. -
-
- - Use a file - -
    -
  1. File containing a list of biblionumbers with one biblionumber per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)
  2. -
  3. -
-
-
- Options -
  1. - - -
  2. -
  3. - - -
  4. -
  5. - - - separate by a blank. (e.g., 100a 200 606) -
-
-
- - Output format - -
  1. - - -
  2. -
  3. - - -
  4. -
  5. - -
-
- - +
  • + + +
  • -
    - -
    +
  • + + [% INCLUDE 'branch-selector.inc' branches = libraries %] +
  • + -
    -
    -
    - Select records to export -
    1. - - -
    2. -
    3. - - -
    4. -
    5. - - -
    6. -
    -
    -
    - - Use a file - -
      -
    1. File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)
    2. -
    3. -
    -
    -
    - Options -
      -
    1. - - - separate by a blank. (e.g., 100a 200 606) -
    -
    -
    - Output format -
    1. - - -
    2. -
    3. - -
    -
    - - +
    + Call number range +
      +
    1. + + +
    2. +
    3. + + +
    4. +
    +
    -
    -
    -
    +
    + Accession date (inclusive) +
      +
    1. + + +
    2. +
    3. + + +
    4. +
    +
    -[% IF ( allow_db_export ) %] -
    -
    -

    Note : This export file will be very large, and is generated nightly.

    -
    - Choose a file - [% IF ( dbfiles && (dbfiles.size > 0) ) %] -
      - [% FOREACH dbfile IN dbfiles %] -
    • [% dbfile | html %]
    • - [% END %] -
    - [% ELSE %] -

    Unfortunately, no backups are available.

    - [% END %] -
    +
    +
    + + Use a file + +
      +
    1. File containing a list of biblionumbers with one biblionumber per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)
    2. +
    3. +
    +
    +
    + Options +
    1. + + +
    2. +
    3. + + +
    4. +
    5. + + + separate by a blank. (e.g., 100a 200 606) +
    +
    +
    + + Output format + +
    1. + + +
    2. +
    3. + + +
    4. +
    5. + +
    +
    + + - [% IF ( dbfiles && (dbfiles.size > 0) ) %] - - -
    - [% END %] - -
    -[% END %] +
    + +
    -[% IF ( allow_conf_export ) %] -
    -
    -

    Note : This export file will be very large, and is generated nightly.

    -
    - Choose a file - [% IF ( conffiles && (conffiles.size > 0) ) %] -
      - [% FOREACH conffile IN conffiles %] -
    • [% conffile | html %]
    • +
      + +
      + Select records to export +
      1. + + +
      2. +
      3. + + +
      4. +
      5. + + +
      6. +
      +
      +
      + + Use a file + +
        +
      1. File containing a list of authids with one authid per line. This list works as a filter: it is compatible with other parameters. (File types accepted: .csv and .txt)
      2. +
      3. +
      +
      +
      + Options +
        +
      1. + + + separate by a blank. (e.g., 100a 200 606) +
      +
      +
      + Output format +
      1. + + +
      2. +
      3. + +
      +
      + + + +
      + +
      + + [% IF ( allow_db_export ) %] +
      +
      +

      Note : This export file will be very large, and is generated nightly.

      +
      + Choose a file + [% IF ( dbfiles && (dbfiles.size > 0) ) %] +
        + [% FOREACH dbfile IN dbfiles %] +
      • [% dbfile | html %]
      • + [% END %] +
      + [% ELSE %] +

      Unfortunately, no backups are available.

      + [% END %] +
      + + [% IF ( dbfiles && (dbfiles.size > 0) ) %] + + +
      + [% END %] +
      +
      [% END %] -
    - [% ELSE %] -

    Unfortunately, no backups are available.

    - [% END %] -
    - [% IF ( conffiles && (conffiles.size > 0) ) %] - - -
    - [% END %] - -
    -[% END %] + [% IF ( allow_conf_export ) %] +
    +
    +

    Note : This export file will be very large, and is generated nightly.

    +
    + Choose a file + [% IF ( conffiles && (conffiles.size > 0) ) %] +
      + [% FOREACH conffile IN conffiles %] +
    • [% conffile | html %]
    • + [% END %] +
    + [% ELSE %] +

    Unfortunately, no backups are available.

    + [% END %] +
    + [% IF ( conffiles && (conffiles.size > 0) ) %] + + +
    + [% END %] +
    +
    + [% END %] + @@ -312,7 +321,6 @@ [% INCLUDE 'calendar.inc' %] [% END %] -- 2.30.2