]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/cat/authority/marc-edit.component.html
LP2061136 - Stamping 1405 DB upgrade script
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / authority / marc-edit.component.html
1
2 <ng-container *ngIf="!authorityId">
3   <!-- If we don't have an authority ID, prompt the user to enter one -->
4   <eg-staff-banner bannerText="Find Authority Record By ID" i18n-bannerText>
5   </eg-staff-banner>
6
7   <div class="row">
8     <div class="col-lg-6 form-inline">
9       <div class="input-group">
10         <span class="input-group-text" i18n>Authorty Record Id</span>
11         <input type="text" class="form-control" 
12           id='auth-id-input'
13           i18n-placeholder placeholder="Authorty Record Id" 
14           i18n-aria-label aria-label="Authorty Record Id"
15           (keyup.enter)="goToAuthority()" [(ngModel)]="loadId"/>
16         <button type="button" class="btn btn-success" (click)="goToAuthority()" i18n>Submit</button>
17       </div>
18     </div>
19   </div>
20 </ng-container>
21
22 <ng-container *ngIf="authorityId">
23   <eg-staff-banner bannerText="Edit Authority Record #{{authorityId}}" i18n-bannerText>
24   </eg-staff-banner>
25
26   <eg-marc-editor #marcEditor recordType="authority" [recordId]="authorityId">
27   </eg-marc-editor>
28 </ng-container>
29
30