]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/holds/retarget-dialog.component.html
lp1811710: minor fixes to other code
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / holds / retarget-dialog.component.html
1 <eg-string #successMsg
2     text="Successfully Retargeted Hold" i18n-text></eg-string>
3 <eg-string #errorMsg
4     text="Failed To Retarget Hold" i18n-text></eg-string>
5
6 <ng-template #dialogContent>
7     <div class="modal-header bg-info">
8       <h4 class="modal-title">
9         <span i18n>Retarget Hold</span>
10       </h4>
11       <button type="button" class="close"
12         i18n-aria-label aria-label="Close" (click)="close()">
13         <span aria-hidden="true">&times;</span>
14       </button>
15     </div>
16     <div class="modal-body">
17       <div class="row d-flex justify-content-center">
18           <h5>Retarget {{holdIds.length}} Holds?</h5>
19       </div>
20       <div class="row" *ngIf="numSucceeded > 0">
21         <div class="col-lg-12" i18n>
22           {{numSucceeded}} Hold(s) Successfully Retargeted
23         </div>
24       </div>
25       <div class="row" *ngIf="numFailed > 0">
26         <div class="col-lg-12">
27           <div class="alert alert-warning">
28             {{numFailed}} Hold(s) Failed to Retarget.
29           </div>
30         </div>
31       </div>
32     </div>
33     <div class="modal-footer">
34       <ng-container *ngIf="!chargeResponse">
35         <button type="button" class="btn btn-warning"
36           (click)="close()" i18n>Cancel</button>
37         <button type="button" class="btn btn-success"
38           (click)="retargetBatch()" i18n>Retarget</button>
39       </ng-container>
40     </div>
41   </ng-template>