Bugzilla – Attachment 86494 Details for
Bug 13094
It should be easy to hide the 'Cancel all' button on the holds over report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13094: Make it easy to hide 'Cancel all' button on holds over report
Bug-13094-Make-it-easy-to-hide-Cancel-all-button-o.patch (text/plain), 4.57 KB, created by
Katrin Fischer
on 2019-03-11 23:45:50 UTC
(
hide
)
Description:
Bug 13094: Make it easy to hide 'Cancel all' button on holds over report
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-03-11 23:45:50 UTC
Size:
4.57 KB
patch
obsolete
>From c9bdb3f5e8975ad31fa32cf2971312d7185371f5 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Mon, 11 Mar 2019 08:33:13 +0000 >Subject: [PATCH] Bug 13094: Make it easy to hide 'Cancel all' button on holds > over report > >This patch makes some small modifications to the 'Holds awaiting pickup' >report: > >- Fixes typo sypref >- Fixes 'Home branch' to 'Home library' >- Adds a span to easily hide the cancel all button with CSS > >To test: >- Make sure you have a hold appearing on the awaiting pickup list > second tab: Holds waiting over... >- Verify the 'cancel all' button on top shows >- Verify syspref and Home library changes mentioned above >- Add #holdsover-cancel-all { display:none; } to IntrentUserCSS >- Verify that the button and the text have vanished > >Note: If the text doesn't display next to the button, try toggling > the TransferWhenCancelAllWaitingHolds system preference. >--- > .../prog/en/includes/waiting_holds.inc | 2 +- > .../prog/en/modules/circ/waitingreserves.tt | 37 +++++++++++----------- > 2 files changed, 20 insertions(+), 19 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >index 05ecfee17c..9a460528b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >@@ -6,7 +6,7 @@ > <th class="title-string">Date hold placed</th> > <th class="anti-the">Title</th> > <th>Patron</th> >- <th>Home branch</th> >+ <th>Home library</th> > <th>Current location</th> > <th>Call number</th> > <th>Copy number</th> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >index 8694b77c8a..6bc433117f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt >@@ -79,26 +79,27 @@ > [% END %] > </div> > <div id="holdsover"> >- [% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] >- [% IF ( overloop ) %] >- <form name="cancelAllReserve" action="waitingreserves.pl" method="post"> >- <input type="hidden" name="cancelall" value="1" /> >- <input type="hidden" name="allbranches" value="[% allbranches | html %]" /> >- <input type="hidden" name="tab" value="holdsover"> >- [% IF TransferWhenCancelAllWaitingHolds %] >- <input type="submit" value="Cancel and Transfer all" /> >- [% ELSE %] >- <input type="submit" value="Cancel all" /> >+ [% IF ( ReservesMaxPickUpDelay ) %]<p>Holds listed here have been awaiting pickup for more than [% ReservesMaxPickUpDelay | html %] days.</p>[% END %] >+ [% IF ( overloop ) %] >+ <span id="holdsover-cancel-all"> >+ <form name="cancelAllReserve" action="waitingreserves.pl" method="post"> >+ <input type="hidden" name="cancelall" value="1" /> >+ <input type="hidden" name="allbranches" value="[% allbranches | html %]" /> >+ <input type="hidden" name="tab" value="holdsover"> >+ [% IF TransferWhenCancelAllWaitingHolds %] >+ <input type="submit" value="Cancel and Transfer all" /> >+ [% ELSE %] >+ <input type="submit" value="Cancel all" /> >+ [% END %] >+ </form> >+ [% UNLESS TransferWhenCancelAllWaitingHolds %] >+ Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds syspref) > [% END %] >- </form> >- [% UNLESS TransferWhenCancelAllWaitingHolds %] >- Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref) >- [% END %] >- >+ </span> > [% INCLUDE waiting_holds.inc table_name='holdso' reserveloop=overloop %] >- [% ELSE %] >- <div class="dialog message">No holds found.</div> >- [% END %] >+ [% ELSE %] >+ <div class="dialog message">No holds found.</div> >+ [% END %] > </div> > </div> > [% END %] >-- >2.11.0
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 13094
:
86494
|
89621
|
89969
|
90008