Bugzilla – Attachment 100731 Details for
Bug 24846
Add a tool to enable bulk edit of due dates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24846: Link to the new tool
Bug-24846-Link-to-the-new-tool.patch (text/plain), 5.23 KB, created by
Jonathan Druart
on 2020-03-16 11:04:13 UTC
(
hide
)
Description:
Bug 24846: Link to the new tool
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-16 11:04:13 UTC
Size:
5.23 KB
patch
obsolete
>From 6a25077168dec5e4210eef1152b679067eb72869 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Mar 2020 11:51:10 +0100 >Subject: [PATCH] Bug 24846: Link to the new tool > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc | 3 +++ > .../prog/en/modules/tools/batch_extend_due_dates.tt | 6 +++--- > .../intranet-tmpl/prog/en/modules/tools/tools-home.tt | 7 ++++++- > 3 files changed, 12 insertions(+), 4 deletions(-) > >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 3fce8ea0e0..877e68fd84 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc >@@ -37,6 +37,9 @@ > [% 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> >+ [% END %] > [% IF ( CAN_user_tools_moderate_tags ) %] > <li><a href="/cgi-bin/koha/tags/review.pl">Tag moderation</a></li> > [% END %] >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 aa6c9afa0b..6fd7bc83e0 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 >@@ -13,7 +13,7 @@ > [% Asset.css("css/humanmsg.css") | $raw %] > </head> > >-<body id="tools_batch_record_modification" class="tools"> >+<body id="tools_batch_extend_due_dates" class="tools"> > [% INCLUDE 'header.inc' %] > [% INCLUDE 'cat-search.inc' %] > >@@ -128,7 +128,7 @@ > <tr> > <td><input type="checkbox" name="issue_id" value="[% checkout.issue_id | html %]" /></td> > <td>[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> >- <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td> >+ <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout.item.biblio.biblionumber | uri %]">[% checkout.item.biblio.title | html %]</a></td> > <td>[% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %]</td> > <td>[% checkout.item.home_branch.branchname | html %]</td> > <td>[% checkout.issuedate | $KohaDates %]</td> >@@ -178,7 +178,7 @@ > [% FOR checkout IN checkouts %] > <tr> > <td>[% checkout.date_due | $KohaDates as_due_date => 1 %]</td> >- <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td> >+ <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout.item.biblio.biblionumber | uri %]">[% checkout.item.biblio.title | html %]</a></td> > <td>[% ItemTypes.GetDescription( checkout.item.effective_itemtype ) | html %]</td> > <td>[% checkout.item.home_branch.branchname | html %]</td> > <td>[% checkout.issuedate | $KohaDates %]</td> >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 9b2e257326..4074aa2190 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 >@@ -15,7 +15,7 @@ > <div class="col-sm-4"> > [% 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_moderate_tags || CAN_user_tools_batch_upload_patron_images ) %] >+ || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || CAN_user_tools_batch_upload_patron_images ) %] > <h3>Patrons and circulation</h3> > [% END %] > <dl> >@@ -64,6 +64,11 @@ > <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> >+ <dd>Modify the due date checkouts in batch</dd> >+ [% END %] >+ > [% IF ( CAN_user_tools_moderate_tags ) %] > <dt><a href="/cgi-bin/koha/tags/review.pl">Tags</a> [% IF ( pendingtags ) %]<span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags | html %]</a></span>[% END %]</dt> > <dd>Moderate patron tags</dd> >-- >2.20.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 24846
:
100729
|
100730
|
100731
|
100749
|
100750
|
100752
|
100753
|
100754
|
100914
|
100915
|
100969
|
100998
|
100999
|
101000
|
101001