]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/booking/make-bookable-dialog.component.html
LP1615805 No inputs after submit in patron search (AngularJS)
[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">
10       <h4 class="modal-title">
11         <span i18n>Make Items Bookable</span>
12       </h4>
13       <button type="button" class="btn-close btn-close-white" 
14         i18n-aria-label aria-label="Close" (click)="close()"></button>
15     </div>
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>
20         </div>
21       </div>
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>
25           <div class="mt-2">
26             <a target="_blank" routerLink="/staff/admin/booking/resource"
27               [queryParams]="manageUrlParams()" i18n>
28               Manage Bookable Resources
29             </a>
30           </div>
31         </div>
32       </div>
33     </div>
34     <div class="modal-footer">
35       <ng-container>
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>
41         </ng-container>
42         <ng-container *ngIf="updateComplete">
43           <button type="button" class="btn btn-success" 
44             (click)="close(numSucceeded > 0)" i18n>Done</button>
45         </ng-container>
46       </ng-container>
47     </div>
48   </ng-template>
49