]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/holds/note-dialog.component.html
LP1910145 Angular Hold Detail Notes & Notifications
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / holds / note-dialog.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title">Add Hold Note for Hold #{{holdId}}</h4>
4     <button type="button" class="close"
5       i18n-aria-label aria-label="Close" (click)="close()">
6       <span aria-hidden="true">&times;</span>
7     </button>
8   </div>
9   <div class="modal-body form-validated">
10     <div class="form-group form-check">
11       <input type="checkbox" class="form-check-input" 
12         id="patron-visible-cbox" [(ngModel)]="pub">
13       <label class="form-check-label" 
14         for="patron-visible-cbox" i18n>Patron Visible?</label>
15     </div>
16     <div class="form-group form-check">
17       <input type="checkbox" class="form-check-input" 
18         id="hold-slip-cbox" [(ngModel)]="slip">
19       <label class="form-check-label" 
20         for="hold-slip-cbox" i18n>Print on Slip?</label>
21     </div>
22     <div class="form-group">
23       <label for="title-input" i18n>Note Title</label>
24       <input type="text" class="form-control" id="title-input" required [(ngModel)]="title"/>
25     </div>
26     <div class="form-group">
27       <label for="body-input" i18n>Note Body</label>
28       <textarea class="form-control" id="body-input" required [(ngModel)]="body">
29       </textarea>
30     </div>
31     <div class="w-100">
32       <button class="btn btn-success ml-auto" (click)="createNote()"
33         [disabled]="!title || !body" i18n>Create Note</button>
34       <button class="btn btn-warning ml-2" (click)="close()" i18n>Cancel</button>
35     </div>
36   </div>
37 </ng-template>