-<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>
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;
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(_ => {
}
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> {