From b41b010212fc3d90f7ad42c90c9874c233245b3a Mon Sep 17 00:00:00 2001 From: Nicolas Hunstein Date: Thu, 16 Jan 2025 11:56:26 +0000 Subject: [PATCH] Bug 38687: update "batch modify due dates" and description "Modify the due date checkouts in batch" to test: - go to Tool - check designation and description of "batch modify due date" - verify designation ist "batch modify due date" and description is "Modify the due date checkouts in batch" - apply patch - verify instead of "batch modify due date" it is now "Batch modify due dates" and instead of "Modify the due date checkouts in batch" it is "Modify checkout due dates in batch" --- installer/data/mysql/mandatory/userpermissions.sql | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 2 +- .../prog/en/modules/tools/batch_extend_due_dates.tt | 8 ++++---- .../intranet-tmpl/prog/en/modules/tools/tools-home.tt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/installer/data/mysql/mandatory/userpermissions.sql b/installer/data/mysql/mandatory/userpermissions.sql index 1d8b7d034f..193a6f1208 100644 --- a/installer/data/mysql/mandatory/userpermissions.sql +++ b/installer/data/mysql/mandatory/userpermissions.sql @@ -110,7 +110,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (13, 'import_patrons', 'Import patron data'), (13, 'edit_patrons', 'Perform batch modification of patrons'), (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'), - (13, 'batch_extend_due_dates', 'Perform batch extend due dates'), + (13, 'batch_modify_due_dates', 'Perform batch modify due dates'), (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'), (13, 'schedule_tasks', 'Schedule tasks to run'), (13, 'items_batchmod', 'Perform batch modification of items'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index 9d8cb5b910..d82e562544 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -532,9 +532,9 @@ Delete old borrowers and anonymize circulation history (deletes borrower checkout history) ([% name | html %]) - [%- CASE 'batch_extend_due_dates' -%] + [%- CASE 'batch_modify_due_dates' -%] - Perform batch extend due dates + Perform batch modify due dates ([% name | html %]) [%- CASE 'edit_calendar' -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc index b106cffbea..0b195b53f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc @@ -38,7 +38,7 @@
  • Batch patron modification
  • [% END %] [% IF ( CAN_user_tools_batch_extend_due_dates ) %] -
  • Batch extend due dates
  • +
  • Batch modify due dates
  • [% END %] [% IF ( CAN_user_tools_moderate_tags ) %]
  • Tags
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt index 0571a26bfb..2ae6a9f64e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt @@ -15,7 +15,7 @@ [% ELSIF ( view == 'report' ) %] [% t("Results") | html %] › [% END %] - [% t("Batch extend due dates") | html %] › + [% t("Batch modify due dates") | html %] › [% t("Tools") | html %] › [% t("Koha") | html %] [% END %] @@ -35,11 +35,11 @@ [% END %] [% IF ( view == 'list' || view == 'report' ) %] [% WRAPPER breadcrumb_item %] - Batch extend due dates + Batch modify due dates [% END %] [% ELSE %] [% WRAPPER breadcrumb_item bc_active= 1 %] - Batch extend due dates + Batch modify due dates [% END %] [% END %] [% IF ( view == 'list' ) %] @@ -60,7 +60,7 @@
    [% INCLUDE 'messages.inc' %] -

    Batch extend due dates

    +

    Batch modify due dates

    [% IF ( messages ) %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt index c63b73cbc8..209ca2f8f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt @@ -85,8 +85,8 @@ [% END %] [% IF ( CAN_user_tools_batch_extend_due_dates ) %] -
    Batch extend due dates
    -
    Modify the due date checkouts in batch
    +
    Batch modify due dates
    +
    Modify checkout due dates in batch
    [% END %] [% IF ( CAN_user_tools_moderate_tags ) %] -- 2.39.5