Bring back some terminology changes that got lost in a rebase user/miker/lp-1838995-hold-groups-squash_and_rebase
authorMike Rylander <mrylander@gmail.com>
Mon, 8 Feb 2021 21:10:52 +0000 (16:10 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 8 Feb 2021 21:10:52 +0000 (16:10 -0500)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_create.tt2
Open-ILS/src/templates/staff/cat/bucket/share/t_bucket_edit.tt2

index 9a43d1a..cb9ab95 100644 (file)
       <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">
index 2f06655..4821fd3 100644 (file)
        <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">