89721: Themed JournalIssueComponent

This commit is contained in:
Alexandre Vryghem
2022-05-27 18:53:56 +02:00
parent 3a483c393d
commit 2441db16e9
5 changed files with 32 additions and 1 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 {
JournalIssueComponent as BaseComponent
} from '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
import { Context } from '../../../../../../../app/core/shared/context.model';
@listableObjectComponent('JournalIssue', ViewMode.StandalonePage, Context.Any, 'custom')
@Component({
selector: 'ds-journal-issue',
// styleUrls: ['./journal-issue.component.scss'],
styleUrls: ['../../../../../../../app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component.scss'],
// templateUrl: './journal-issue.component.html',
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component.html',
})
/**
* The component for displaying metadata and relations of an item of the type Journal Issue
*/
export class JournalIssueComponent extends BaseComponent {
}

View File

@@ -1,7 +1,11 @@
import {
JournalIssueComponent
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.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,
PublicationComponent,
UntypedItemComponent,
];

View File

@@ -95,6 +95,9 @@ import { SearchModule } from '../../app/shared/search/search.module';
import { ResourcePoliciesModule } from '../../app/shared/resource-policies/resource-policies.module';
import { ComcolModule } from '../../app/shared/comcol/comcol.module';
import { FeedbackComponent } from './app/info/feedback/feedback.component';
import {
JournalIssueComponent
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
const DECLARATIONS = [
FileSectionComponent,
@@ -138,7 +141,8 @@ const DECLARATIONS = [
NavbarComponent,
HeaderNavbarWrapperComponent,
BreadcrumbsComponent,
FeedbackComponent
FeedbackComponent,
JournalIssueComponent,
];
@NgModule({