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>
Sat, 9 Dec 2017 19:33:40 +0000 (14:33 -0500)
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 2ebd0fa..873b9bf 100644 (file)
             </tr>
         [% END %]
         </table>
-       <!-- we don't use this in PINES
+       <!-- in PINES, we reserve this functionality for the staff client-->
+       [% IF ctx.is_staff %]
         [% IF override_possible %]
             <br/>
             <hr/>
                     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>