first attempt at changing some identifiers with our seed code
authorJason Etheridge <jason@EquinoxOLI.org>
Mon, 3 Oct 2022 04:02:56 +0000 (00:02 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Wed, 4 Jan 2023 13:39:36 +0000 (08:39 -0500)
Open-ILS/src/eg2/src/app/staff/share/bib-staff-view/bib-staff-view.component.css
Open-ILS/src/eg2/src/app/staff/share/bib-staff-view/bib-staff-view.component.html
Open-ILS/src/eg2/src/app/staff/share/bib-staff-view/bib-staff-view.component.ts

index 2e49b19..56438fa 100644 (file)
@@ -1,8 +1,8 @@
 
-<div class='eg-bib-summary card tight-card w-100' *ngIf="summary">
+<div class='eg-bib-staff-view card tight-card w-100' *ngIf="summary">
   <div class="card-header d-flex">
     <div class="font-weight-bold">
-      Record Summary
+      Record Staff View
       <ng-container *ngIf="summary.record.deleted() === 't'">
         <span class="text-danger" i18n>(Deleted)</span>
       </ng-container>
index c150b73..0a02364 100644 (file)
@@ -7,11 +7,11 @@ import {ServerStoreService} from '@eg/core/server-store.service';
 import {CatalogService} from '@eg/share/catalog/catalog.service';
 
 @Component({
-  selector: 'eg-bib-summary',
-  templateUrl: 'bib-summary.component.html',
-  styleUrls: ['bib-summary.component.css']
+  selector: 'eg-bib-staff-view',
+  templateUrl: 'bib-staff-view.component.html',
+  styleUrls: ['bib-staff-view.component.css']
 })
-export class BibSummaryComponent implements OnInit {
+export class BibStaffViewComponent implements OnInit {
 
     initDone = false;
     hasCourse = false;
@@ -50,7 +50,7 @@ export class BibSummaryComponent implements OnInit {
 
     ngOnInit() {
 
-        this.store.getItem('eg.cat.record.summary.collapse')
+        this.store.getItem('eg.cat.record.staff-view.collapse')
         .then(value => this.expand = !value)
         .then(_ => this.cat.fetchCcvms())
         .then(_ => {
@@ -66,7 +66,7 @@ export class BibSummaryComponent implements OnInit {
     }
 
     saveExpandState() {
-        this.store.setItem('eg.cat.record.summary.collapse', !this.expand);
+        this.store.setItem('eg.cat.record.staff-view.collapse', !this.expand);
     }
 
     loadSummary(): Promise<any> {