89721: Themed JournalVolumeComponent

This commit is contained in:
Alexandre Vryghem
2022-05-27 19:12:03 +02:00
parent 2441db16e9
commit 2264067240
5 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import { Component } from '@angular/core';
import { ViewMode } from '../../../../../../../app/core/shared/view-mode.model';
import {
listableObjectComponent
} from '../../../../../../../app/shared/object-collection/shared/listable-object/listable-object.decorator';
import {
JournalVolumeComponent as BaseComponent
} from '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component';
import { Context } from '../../../../../../../app/core/shared/context.model';
@listableObjectComponent('JournalVolume', ViewMode.StandalonePage, Context.Any, 'custom')
@Component({
selector: 'ds-journal-volume',
// styleUrls: ['./journal-volume.component.scss'],
styleUrls: ['../../../../../../../app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component.scss'],
// templateUrl: './journal-volume.component.html',
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component.html',
})
/**
* The component for displaying metadata and relations of an item of the type Journal Volume
*/
export class JournalVolumeComponent extends BaseComponent {
}

View File

@@ -1,11 +1,15 @@
import {
JournalIssueComponent
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
import {
JournalVolumeComponent
} from './app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component';
import { PublicationComponent } from './app/item-page/simple/item-types/publication/publication.component';
import { UntypedItemComponent } from './app/item-page/simple/item-types/untyped-item/untyped-item.component';
export const ENTRY_COMPONENTS = [
JournalIssueComponent,
JournalVolumeComponent,
PublicationComponent,
UntypedItemComponent,
];

View File

@@ -98,6 +98,9 @@ import { FeedbackComponent } from './app/info/feedback/feedback.component';
import {
JournalIssueComponent
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
import {
JournalVolumeComponent
} from './app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component';
const DECLARATIONS = [
FileSectionComponent,
@@ -143,6 +146,7 @@ const DECLARATIONS = [
BreadcrumbsComponent,
FeedbackComponent,
JournalIssueComponent,
JournalVolumeComponent,
];
@NgModule({