Allowing unfillable hold placement in the staff client, not the OPAC
authorChris Sharp <csharp@georgialibraries.org>
Fri, 22 Nov 2013 15:18:58 +0000 (10:18 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 20 Oct 2020 13:14:58 +0000 (09:14 -0400)
In PINES, we do not allow patrons to override hold policies, but staff
may in certain circumstances.  This change makes the option visible in
the staff client, but not the OPAC.

Open-ILS/src/templates/opac/parts/place_hold_result.tt2

index c768edc..e26283a 100644 (file)
@@ -135,6 +135,8 @@ function disable_submit() {
             </tr>
         [% END %]
         </table>
+       <!-- in PINES, we reserve this functionality for the staff client-->
+       [% IF ctx.is_staff %]
         [% IF override_possible %]
             <br/>
             <hr/>
@@ -147,6 +149,7 @@ function disable_submit() {
                     class="opac-button" />
             </span>
         [% END %]
+       [% END %]
         <span>
         [% IF any_failures OR ctx.general_hold_error %]
         <a href="[% (CGI.param('redirect_to') || CGI.referer) | html %]">[% l('Cancel') %]</a>