1 <eg-staff-banner i18n-bannerText bannerText="Shelving Location Order">
4 <eg-string #editString i18n-text text="Changes Saved"></eg-string>
7 <div class="col-lg-12 d-flex">
8 <div class="mr-2" i18n>Context Org Unit</div>
10 <eg-org-select (onChange)="orgChanged($event)" [initialOrgId]="contextOrg">
14 <button (click)="up()" i18n-title title="Move Selected Location Up"
15 class="mr-2 btn btn-sm btn-outline-dark .mat-icon-shrunk-in-button">
16 <span class="material-icons">arrow_upward</span>
18 <button (click)="down()" i18n-title title="Move Selected Location Down"
19 class="mr-2 btn btn-sm btn-outline-dark .mat-icon-shrunk-in-button">
20 <span class="material-icons">arrow_downward</span>
22 <button (click)="up(true)" i18n-title title="Move Selected Location To Top"
23 class="mr-2 btn btn-sm btn-outline-dark .mat-icon-shrunk-in-button">
24 <span class="material-icons">vertical_align_top</span>
26 <button (click)="down(true)" i18n-title title="Move Selected Location To Bottom"
27 class="mr-2 btn btn-sm btn-outline-dark .mat-icon-shrunk-in-button">
28 <span class="material-icons">vertical_align_bottom</span>
30 <span class="ml-2 font-italic" *ngIf="selected()">
31 Selected: {{selected().location().name()}}
32 ({{orgSn(selected().location().owning_lib())}})
35 <div class="flex-1"></div>
36 <button class="btn btn-outline-dark" (click)="save()"
37 [disabled]="!changesPending()" i18n>Save Changes</button>
41 <div class="mt-2 mb-2 font-italic" i18n>
42 Select a shelving location below and use the arrows above to change its position.
46 <li *ngFor="let entry of entries" (click)="selectedEntry = entry.id()">
48 <div class="col-lg-12">
49 <input type="radio" name="selected-entry"
50 [value]="entry.id()" [(ngModel)]="selectedEntry"/>
51 <span class="flex-1 ml-1 p-1" i18n
52 [ngClass]="{'border border-primary rounded': selectedEntry == entry.id()}">
53 {{entry.location().name()}} ({{orgSn(entry.location().owning_lib())}})
55 <span *ngIf="entry.isnew()" class="ml-2 font-italic text-info">(unsaved)</span>