Signed-off-by: Mike Rylander <mrylander@gmail.com>
<div class="checkbox">
<label>
<input ng-model="args.pub" type="checkbox"/>
- [% l('Shareable') %]
+ <span ng-show="args.hold_sub">[% l('Visible to Patrons?') %]</span>
+ <span ng-show="!args.hold_sub">[% l('Shareable') %]</span>
</label>
- <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
+ <div ng-if="!args.hold_sub">
+ <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
+ </div>
</div>
</div>
<div class="modal-footer">
<div class="checkbox">
<label>
<input ng-model="args.pub" type="checkbox">
- [% l('Shareable') %]
+ <span ng-show="args.hold_sub">[% l('Visible to Patrons?') %]</span>
+ <span ng-show="!args.hold_sub">[% l('Shareable') %]</span>
</label>
- <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
+ <div ng-if="!args.hold_sub">
+ <eg-help-popover help-text="[%l('Visible and searchable by any staff member')%]">
+ </div>
</div>
</div>
<div class="modal-footer">