Bug 30579: (follow-up) Use same conditions on item groups place hold button as on other options

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Nick Clemens 2023-10-25 11:40:04 +00:00 committed by Katrin Fischer
parent e40bbac24f
commit 4686f5f0ff
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -762,7 +762,15 @@
</ul>
[% END %]
<fieldset class="action">
<button type="submit" id="hold_grp_btn" class="btn btn-primary warning">Place hold</button>
[% IF ( patron.borrowernumber ) %]
[% IF ( override_required ) %]
<button type="submit" id="hold_any_btn" class="btn btn-primary warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button>
[% ELSIF ( none_available ) %]
<button type="submit" id="hold_any_btn" disabled="disabled" class="btn btn-primary btn-disabled">Place hold</button>
[% ELSE %]
<button type="submit" id="hold_any_btn" class="btn btn-primary">Place hold</button>
[% END %]
[% END %]
</fieldset>
</fieldset>
</fieldset>