LP#1661688: Add a link and other tweaks to alternate hold pickup feature
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / share / t_event_override_dialog.tt2
index 5850ac5..398796f 100644 (file)
@@ -7,11 +7,21 @@
     </h4>
   </div>
   <div class="modal-body">
-    <div class="panel panel-danger">
-      <div class="panel-heading">{{evt.textcode}}</div>
-      <div class="panel-body">
-        <div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
-        {{evt.desc}}
+    <div ng-repeat="evt in events">
+      <div class="panel panel-danger">
+        <div class="panel-heading">{{evt.textcode}}</div>
+        <div class="panel-body">
+          <div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
+          {{evt.desc}}
+          <div ng-if="evt.textcode == 'ITEM_ON_HOLDS_SHELF'"> 
+              <a target="_blank" href="[% ctx.base_path %]/staff/circ/patron/{{patronID}}/checkout">{{patronName}}</a>.
+            <div>
+               <label><input type="checkbox" ng-model="formdata.clearHold"/> 
+               [% l('Cancel this hold upon checkout?') %]</label>
+           </div>
+
+         </div>
+        </div>
       </div>
     </div>
   </div>