4 text="Successfully Made Item(s) Bookable" i18n-text></eg-string>
6 text="Failed To Make Item(s) Bookable" i18n-text></eg-string>
8 <ng-template #dialogContent>
9 <div class="modal-header">
10 <h4 class="modal-title">
11 <span i18n>Make Items Bookable</span>
13 <button type="button" class="btn-close btn-close-white"
14 i18n-aria-label aria-label="Close" (click)="close()"></button>
16 <div class="modal-body">
17 <div class="row" *ngIf="!updateComplete">
18 <div class="col-lg-12">
19 <span i18n>Make {{copyIds.length}} Item(s) Bookable?</span>
22 <div class="row" *ngIf="updateComplete">
23 <div class="col-lg-12 d-flex flex-column">
24 <div i18n>{{numSucceeded}} Item(s) Made Bookable.</div>
26 <a target="_blank" routerLink="/staff/admin/booking/resource"
27 [queryParams]="manageUrlParams()" i18n>
28 Manage Bookable Resources
34 <div class="modal-footer">
36 <button type="button" class="btn btn-normal"
37 (click)="close()" i18n>Cancel</button>
38 <ng-container *ngIf="!updateComplete">
39 <button type="button" class="btn btn-success"
40 (click)="makeBookable()" i18n>Make Bookable</button>
42 <ng-container *ngIf="updateComplete">
43 <button type="button" class="btn btn-success"
44 (click)="close(numSucceeded > 0)" i18n>Done</button>