LP#1402797 Where possible, handle all circ events, not just the first one in the...
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / share / t_event_override_dialog.tt2
1 <form ng-submit="ok()" role="form">
2   <div class="modal-header">
3     <button type="button" class="close" 
4       ng-click="cancel()" aria-hidden="true">&times;</button>
5     <h4 class="modal-title">
6       [% l('Exceptions occurred during checkout.') %]
7     </h4>
8   </div>
9   <div class="modal-body">
10     <div ng-repeat="evt in events">
11       <div class="panel panel-danger">
12         <div class="panel-heading">{{evt.textcode}}</div>
13         <div class="panel-body">
14           <div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
15           {{evt.desc}}
16         </div>
17       </div>
18     </div>
19   </div>
20   <div class="modal-footer">
21     <i ng-if="auto_override">[% |l %]If overridden, subsequent checkouts during this patron's 
22  session will auto-override this event[% END %]</i>
23     <br/><br/>
24     <input type="submit" class="btn btn-primary" 
25         value="[% l('Force Action?') %]"/>
26     <button class="btn btn-warning" 
27       ng-click="cancel($event)">[% l('Cancel') %]</button>
28   </div>
29 </form>