LP1821382 Make items bookable (part 1)
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / booking / make-bookable-dialog.component.html
1
2
3 <eg-string #successMsg
4     text="Successfully Made Item(s) Bookable" i18n-text></eg-string>
5 <eg-string #errorMsg 
6     text="Failed To Make Item(s) Bookable" i18n-text></eg-string>
7
8 <ng-template #dialogContent>
9     <div class="modal-header bg-info">
10       <h4 class="modal-title">
11         <span i18n>Make Items Bookable</span>
12       </h4>
13       <button type="button" class="close" 
14         i18n-aria-label aria-label="Close" (click)="dismiss('cross_click')">
15         <span aria-hidden="true">&times;</span>
16       </button>
17     </div>
18     <div class="modal-body">
19       <div class="row">
20         <div class="col-lg-12 d-flex justify-content-center">
21           <span i18n>Make {{copyIds.length}} Item(s) Bookable?</span>
22         </div>
23       </div>
24     </div>
25     <div class="modal-footer">
26       <ng-container>
27         <button type="button" class="btn btn-warning" 
28           (click)="dismiss('canceled')" i18n>Cancel</button>
29         <ng-container *ngIf="!updateComplete">
30           <button type="button" class="btn btn-success" 
31             (click)="makeBookable()" i18n>Make Bookable</button>
32         </ng-container>
33         <ng-container *ngIf="updateComplete">
34           <button type="button" class="btn btn-success" 
35             (click)="close(numSucceeded > 0)" i18n>Done</button>
36         </ng-container>
37       </ng-container>
38     </div>
39   </ng-template>
40