Bugzilla – Attachment 178580 Details for
Bug 38687
Batch extend due dates should be called Batch modify due dates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38687: update "batch modify due dates" and description "Modify the due date checkouts in batch"
Bug-38687-update-batch-modify-due-dates-and-descri.patch (text/plain), 9.03 KB, created by
Owen Leonard
on 2025-02-24 15:39:45 UTC
(
hide
)
Description:
Bug 38687: update "batch modify due dates" and description "Modify the due date checkouts in batch"
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-02-24 15:39:45 UTC
Size:
9.03 KB
patch
obsolete
>From af56c6c7529f9ba638dffb6d6be7f2f994915a80 Mon Sep 17 00:00:00 2001 >From: Nicolas Hunstein <nicolas.hunstein@bsz-bw.de> >Date: Mon, 24 Feb 2025 15:32:36 +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" >--- > .../data/mysql/mandatory/userpermissions.sql | 2 +- > .../prog/en/includes/permissions.inc | 4 ++-- > .../prog/en/includes/tools-menu.inc | 4 ++-- > .../en/modules/tools/batch_extend_due_dates.tt | 16 ++++++++-------- > .../prog/en/modules/tools/tools-home.tt | 6 +++--- > 5 files changed, 16 insertions(+), 16 deletions(-) > >diff --git a/installer/data/mysql/mandatory/userpermissions.sql b/installer/data/mysql/mandatory/userpermissions.sql >index 1d8b7d034f2..193a6f12087 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 4ca590e4b8d..99e8a1722f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc >@@ -362,8 +362,8 @@ > [%- CASE 'delete_anonymize_patrons' -%] > <span class="sub_permission delete_anonymize_patrons_subpermission"> Delete old borrowers and anonymize circulation history (deletes borrower checkout history) </span> > <span class="permissioncode">([% name | html %])</span> >- [%- CASE 'batch_extend_due_dates' -%] >- <span class="sub_permission batch_extend_due_dates_subpermission"> Perform batch extend due dates </span> >+ [%- CASE 'batch_modify_due_dates' -%] >+ <span class="sub_permission batch_modify_due_dates_subpermission"> Perform batch modify due dates </span> > <span class="permissioncode">([% name | html %])</span> > [%- CASE 'edit_calendar' -%] > <span class="sub_permission edit_calendar_subpermission"> Define days when the library is closed </span> >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 28cd71f6b7c..9cae6653814 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -36,8 +36,8 @@ > [% IF ( CAN_user_tools_edit_patrons ) %] > <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li> > [% END %] >- [% IF ( CAN_user_tools_batch_extend_due_dates ) %] >- <li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li> >+ [% IF ( CAN_user_tools_batch_modify_due_dates ) %] >+ <li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch modify due dates</a></li> > [% END %] > [% IF ( CAN_user_tools_moderate_tags ) %] > <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li> >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 e4188a8edc8..a0e04e72b21 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 >@@ -18,7 +18,7 @@ > [% t("Results") | html %] > › > [% END %] >- [% t("Batch extend due dates") | html %] >+ [% t("Batch modify due dates") | html %] > › [% t("Tools") | html %] › [% t("Koha") | html %] > [% END %]</title > > >@@ -26,7 +26,7 @@ > [% Asset.css("css/humanmsg.css") | $raw %] > </head> > >-<body id="tools_batch_extend_due_dates" class="tools"> >+<body id="tools_batch_modify_due_dates" class="tools"> > [% WRAPPER 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > [% END %] >@@ -38,11 +38,11 @@ > [% END %] > [% IF ( view == 'list' || view == 'report' ) %] > [% WRAPPER breadcrumb_item %] >- <a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a> >+ <a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch modify due dates</a> > [% END %] > [% ELSE %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Batch extend due dates</span> >+ <span>Batch modify due dates</span> > [% END %] > [% END %] > [% IF ( view == 'list' ) %] >@@ -58,7 +58,7 @@ > [% END #/ WRAPPER sub-header.inc %] > > [% WRAPPER 'main-container.inc' aside='tools-menu' %] >- <h1>Batch extend due dates</h1> >+ <h1>Batch modify due dates</h1> > > [% IF ( messages ) %] > <div class="alert alert-info"> >@@ -81,7 +81,7 @@ > [% END %] > > [% IF view == 'form' %] >- <form method="post" action="/cgi-bin/koha/tools/batch_extend_due_dates.pl" id="extend_due_dates_form"> >+ <form method="post" action="/cgi-bin/koha/tools/batch_extend_due_dates.pl" id="modify_due_dates_form"> > [% INCLUDE 'csrf-token.inc' %] > <fieldset class="rows"> > <legend>Checkout criteria:</legend> >@@ -154,7 +154,7 @@ > <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a> > </fieldset> > </form> >- <!-- /#extend_due_dates_form --> >+ <!-- /#modify_due_dates_form --> > [% ELSIF view == 'list' %] > [% IF checkouts.count %] > <form action="/cgi-bin/koha/tools/batch_extend_due_dates.pl" method="post" id="process"> >@@ -287,7 +287,7 @@ > paginate: false, > }); > >- $("#extend_due_dates_form").on("submit", function (e) { >+ $("#modify_due_dates_form").on("submit", function (e) { > var new_hard_due_date = $("#new_hard_due_date").val(); > var due_date_days = $("#due_date_days").val(); > if (new_hard_due_date && due_date_days) { >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 bf1d14de861..d1219227026 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 >@@ -29,7 +29,7 @@ > <h1>Tools</h1> > <div class="row"> > <div class="col-sm-6"> >- [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || CAN_user_tools_rotating_collections || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %] >+ [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons || CAN_user_tools_edit_patrons || CAN_user_tools_batch_modify_due_dates || CAN_user_tools_moderate_tags || CAN_user_tools_rotating_collections || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %] > <h3>Patrons and circulation</h3> > [% END %] > <dl> >@@ -83,8 +83,8 @@ > <dd>Modify patrons in batch</dd> > [% END %] > >- [% IF ( CAN_user_tools_batch_extend_due_dates ) %] >- <dt><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></dt> >+ [% IF ( CAN_user_tools_batch_modify_due_dates ) %] >+ <dt><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch modify due dates</a></dt> > <dd>Modify the due date checkouts in batch</dd> > [% END %] > >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38687
:
176651
| 178580