]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/holds/retarget-dialog.component.html
LP2000482 Angular 15 and Bootstrap 5 upgrade
[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="btn-close btn-close-white"
12         i18n-aria-label aria-label="Close" (click)="close()"></button>
13     </div>
14     <div class="modal-body">
15       <div class="row d-flex justify-content-center">
16           <h5>Retarget {{holdIds.length}} Holds?</h5>
17       </div>
18       <div class="row" *ngIf="numSucceeded > 0">
19         <div class="col-lg-12" i18n>
20           {{numSucceeded}} Hold(s) Successfully Retargeted
21         </div>
22       </div>
23       <div class="row" *ngIf="numFailed > 0">
24         <div class="col-lg-12">
25           <div class="alert alert-warning">
26             {{numFailed}} Hold(s) Failed to Retarget.
27           </div>
28         </div>
29       </div>
30     </div>
31     <div class="modal-footer">
32       <ng-container *ngIf="!chargeResponse">
33         <button type="button" class="btn btn-warning"
34           (click)="close()" i18n>Cancel</button>
35         <button type="button" class="btn btn-success"
36           (click)="retargetBatch()" i18n>Retarget</button>
37       </ng-container>
38     </div>
39   </ng-template>