From f1f7d2766ee55895b6a106fdf5a70e7581509bb2 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Fri, 22 Nov 2013 10:18:58 -0500 Subject: [PATCH] Allowing unfillable hold placement in the staff client, not the OPAC 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 b/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 index c768edc85a..e26283a478 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 @@ -135,6 +135,8 @@ function disable_submit() { [% END %] + + [% IF ctx.is_staff %] [% IF override_possible %]

@@ -147,6 +149,7 @@ function disable_submit() { class="opac-button" /> [% END %] + [% END %] [% IF any_failures OR ctx.general_hold_error %] [% l('Cancel') %] -- 2.11.0