]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/cat/bib-by-ident.component.html
LP1896512 Angular retrieve record by ID/TCN
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / bib-by-ident.component.html
1
2 <div class="row form-validated mt-5">
3   <div class="col-lg-6 form-inline">
4     <div class="input-group">
5       <div class="input-group-prepend">
6         <span class="input-group-text" id="bib-ident-label">
7           <ng-container *ngIf="identType === 'id'" i18n>Record ID:</ng-container>
8           <ng-container *ngIf="identType === 'tcn'" i18n>Record TCN:</ng-container>
9         </span>
10       </div>
11       <input id="bib-ident-value" type="text" required 
12         (keyup.enter)="search()" [(ngModel)]="identValue"
13         class="form-control" aria-describedby="bib-ident-label"/>
14     </div>
15     <button class="btn btn-outline-dark" (click)="search()" i18n>Submit</button>
16   </div>
17 </div>
18
19 <div class="row mt-3">
20   <div class="col-lg-6">
21     <div class="alert alert-warning" *ngIf="notFound && !multiRecordsFound" i18n>
22       Record not found: {{identValue}}
23     </div>
24     <div class="alert alert-warning" *ngIf="multiRecordsFound" i18n>
25       More than one Bib Record found with TCN: {{identValue}}
26     </div>
27   </div>
28 </div>