Bugzilla – Attachment 60289 Details for
Bug 17453
Inter-site holds improvement
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17453: Add a visible notification to patron to explain why the hold locations are disabled
Bug-17453-Add-a-visible-notification-to-patron-to-.patch (text/plain), 3.30 KB, created by
Nick Clemens
on 2017-02-15 20:22:22 UTC
(
hide
)
Description:
Bug 17453: Add a visible notification to patron to explain why the hold locations are disabled
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2017-02-15 20:22:22 UTC
Size:
3.30 KB
patch
obsolete
>From b518c16a0a36fe0e5baa85f24fb6e39974f94005 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 9 Feb 2017 18:46:38 +0100 >Subject: [PATCH] Bug 17453: Add a visible notification to patron to explain > why the hold locations are disabled > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=14753 >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 7bb7bd2..584687b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -218,6 +218,7 @@ > [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %] > </select> > [% ELSE %] >+ [% SET at_least_one_library_not_available_for_pickup = 0 %] > <select name="branch" id="branch_[% bibitemloo.biblionumber %]"> > [% FOREACH library IN Branches.all( selected => branch) %] > [% SET pickup_available_at = bibitemloo.not_available_at.grep(library.branchcode).size ? 0 : 1 %] >@@ -226,10 +227,14 @@ > [% ELSIF pickup_available_at %] > <option value="[% library.branchcode %]">[% library.branchname %]</option> > [% ELSE %] >+ [% SET at_least_one_library_not_available_for_pickup = 1 %] > <option value="[% library.branchcode %]" disabled="disabled" title="At least one item is available at this library">[% library.branchname %]</option> > [% END %] > [% END %] > </select> >+ [% IF at_least_one_library_not_available_for_pickup %] >+ Note: Library policy does not allow hold/pickup of an item available locally. Please come to the library to retrieve these items >+ [% END %] > [% END # / UNLESS bibitemloo.holdable %] > </li> > [% END # / IF bibitemloo.holdable && choose_branch %] >-- >2.1.4
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 17453
:
56623
|
56624
|
56762
|
56994
|
57002
|
57003
|
57004
|
57005
|
59915
|
59916
|
60093
|
60102
|
60285
|
60286
|
60287
|
60288
| 60289 |
60290
|
60291