Bugzilla – Attachment 163022 Details for
Bug 36135
Add tool to batch modify holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36135: Add links to the batch modify holds tool
0002-Bug-36135-Add-links-to-the-batch-modify-holds-tool.patch (text/plain), 3.80 KB, created by
Emmi Takkinen
on 2024-03-11 11:52:14 UTC
(
hide
)
Description:
Bug 36135: Add links to the batch modify holds tool
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2024-03-11 11:52:14 UTC
Size:
3.80 KB
patch
obsolete
>From de81aa4b79fa51e81ec4bf77e2c95d322fe1986d Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Fri, 1 Mar 2024 08:21:38 +0200 >Subject: [PATCH 2/4] Bug 36135: Add links to the batch modify holds tool > >This patch adds links to new tool batch modify holds tool. > >To test: >1. Apply this patch. >2. Add patron permission "batch_modify_holds". >3. Login as chosen patron. >4. Navigate to Tools page. >=> Note there's a link "Batch modify holds". >5. Remove permission from user. >=> Link to new tool is not displayed. > >Sponsored-by: Koha-Suomi Oy >--- > koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 3 +++ > .../intranet-tmpl/prog/en/modules/tools/tools-home.tt | 8 +++++++- > 2 files changed, 10 insertions(+), 1 deletion(-) > >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..8714deddf0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -40,6 +40,9 @@ > [% 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> > [% END %] >+ [% IF ( CAN_user_tools_batch_modify_holds ) %] >+ <li><a href="/cgi-bin/koha/tools/batch_modify_holds.pl">Batch modify holds</a></li> >+ [% END %] > [% IF ( CAN_user_tools_moderate_tags ) %] > <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li> > [% END %] >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 86ee4426f6..b110a5ee05 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 >@@ -30,7 +30,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_extend_due_dates || CAN_user_tools_batch_modify_holds || 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> >@@ -89,6 +89,12 @@ > <dd>Modify the due date checkouts in batch</dd> > [% END %] > >+ [% IF ( CAN_user_tools_batch_modify_holds ) %] >+ <dt><a href="/cgi-bin/koha/tools/batch_modify_holds.pl">Batch modify holds</a></dt> >+ <dd>Modify holds in batch</dd> >+ [% END %] >+ >+ > [% IF ( CAN_user_tools_moderate_tags ) %] > <dt> > <a href="/cgi-bin/koha/tags/review.pl">Tags</a> >-- >2.34.1 >
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 36135
:
163021
|
163022
|
163023
|
163024
|
163529
|
163530
|
163540
|
163541
|
163542
|
163543
|
163544
|
163796
|
164037
|
164051
|
164057
|
164058
|
164059
|
164060
|
164061
|
164062
|
164063