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 bg-info">
10 <h4 class="modal-title">
11 <span i18n>Make Items Bookable</span>
13 <button type="button" class="close"
14 i18n-aria-label aria-label="Close" (click)="close()">
15 <span aria-hidden="true">×</span>
18 <div class="modal-body">
19 <div class="row" *ngIf="!updateComplete">
20 <div class="col-lg-12">
21 <span i18n>Make {{copyIds.length}} Item(s) Bookable?</span>
24 <div class="row" *ngIf="updateComplete">
25 <div class="col-lg-12 d-flex flex-column">
26 <div i18n>{{numSucceeded}} Item(s) Made Bookable.</div>
28 <a target="_blank" routerLink="/staff/admin/booking/resource"
29 [queryParams]="manageUrlParams()" i18n>
30 Manage Bookable Resources
36 <div class="modal-footer">
38 <button type="button" class="btn btn-warning"
39 (click)="close()" i18n>Cancel</button>
40 <ng-container *ngIf="!updateComplete">
41 <button type="button" class="btn btn-success"
42 (click)="makeBookable()" i18n>Make Bookable</button>
44 <ng-container *ngIf="updateComplete">
45 <button type="button" class="btn btn-success"
46 (click)="close(numSucceeded > 0)" i18n>Done</button>