mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
89721: Themed JournalComponent
This commit is contained in:
@@ -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 {
|
||||||
|
JournalComponent as BaseComponent
|
||||||
|
} from '../../../../../../../app/entity-groups/journal-entities/item-pages/journal/journal.component';
|
||||||
|
import { Context } from '../../../../../../../app/core/shared/context.model';
|
||||||
|
|
||||||
|
@listableObjectComponent('Journal', ViewMode.StandalonePage, Context.Any, 'custom')
|
||||||
|
@Component({
|
||||||
|
selector: 'ds-journal',
|
||||||
|
// styleUrls: ['./journal.component.scss'],
|
||||||
|
styleUrls: ['../../../../../../../app/entity-groups/journal-entities/item-pages/journal/journal.component.scss'],
|
||||||
|
// templateUrl: './journal.component.html',
|
||||||
|
templateUrl: '../../../../../../../app/entity-groups/journal-entities/item-pages/journal/journal.component.html',
|
||||||
|
})
|
||||||
|
/**
|
||||||
|
* The component for displaying metadata and relations of an item of the type Journal
|
||||||
|
*/
|
||||||
|
export class JournalComponent extends BaseComponent {
|
||||||
|
}
|
@@ -1,3 +1,4 @@
|
|||||||
|
import { JournalComponent } from './app/entity-groups/journal-entities/item-pages/journal/journal.component';
|
||||||
import {
|
import {
|
||||||
JournalIssueComponent
|
JournalIssueComponent
|
||||||
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
|
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
|
||||||
@@ -8,6 +9,7 @@ import { PublicationComponent } from './app/item-page/simple/item-types/publicat
|
|||||||
import { UntypedItemComponent } from './app/item-page/simple/item-types/untyped-item/untyped-item.component';
|
import { UntypedItemComponent } from './app/item-page/simple/item-types/untyped-item/untyped-item.component';
|
||||||
|
|
||||||
export const ENTRY_COMPONENTS = [
|
export const ENTRY_COMPONENTS = [
|
||||||
|
JournalComponent,
|
||||||
JournalIssueComponent,
|
JournalIssueComponent,
|
||||||
JournalVolumeComponent,
|
JournalVolumeComponent,
|
||||||
PublicationComponent,
|
PublicationComponent,
|
||||||
|
@@ -95,12 +95,14 @@ import { SearchModule } from '../../app/shared/search/search.module';
|
|||||||
import { ResourcePoliciesModule } from '../../app/shared/resource-policies/resource-policies.module';
|
import { ResourcePoliciesModule } from '../../app/shared/resource-policies/resource-policies.module';
|
||||||
import { ComcolModule } from '../../app/shared/comcol/comcol.module';
|
import { ComcolModule } from '../../app/shared/comcol/comcol.module';
|
||||||
import { FeedbackComponent } from './app/info/feedback/feedback.component';
|
import { FeedbackComponent } from './app/info/feedback/feedback.component';
|
||||||
|
import { JournalComponent } from './app/entity-groups/journal-entities/item-pages/journal/journal.component';
|
||||||
import {
|
import {
|
||||||
JournalIssueComponent
|
JournalIssueComponent
|
||||||
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
|
} from './app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component';
|
||||||
import {
|
import {
|
||||||
JournalVolumeComponent
|
JournalVolumeComponent
|
||||||
} from './app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component';
|
} from './app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component';
|
||||||
|
import { ItemSharedModule } from '../../app/item-page/item-shared.module';
|
||||||
|
|
||||||
const DECLARATIONS = [
|
const DECLARATIONS = [
|
||||||
FileSectionComponent,
|
FileSectionComponent,
|
||||||
@@ -145,6 +147,7 @@ const DECLARATIONS = [
|
|||||||
HeaderNavbarWrapperComponent,
|
HeaderNavbarWrapperComponent,
|
||||||
BreadcrumbsComponent,
|
BreadcrumbsComponent,
|
||||||
FeedbackComponent,
|
FeedbackComponent,
|
||||||
|
JournalComponent,
|
||||||
JournalIssueComponent,
|
JournalIssueComponent,
|
||||||
JournalVolumeComponent,
|
JournalVolumeComponent,
|
||||||
];
|
];
|
||||||
@@ -196,7 +199,8 @@ const DECLARATIONS = [
|
|||||||
SearchModule,
|
SearchModule,
|
||||||
FormsModule,
|
FormsModule,
|
||||||
ResourcePoliciesModule,
|
ResourcePoliciesModule,
|
||||||
ComcolModule
|
ComcolModule,
|
||||||
|
ItemSharedModule,
|
||||||
],
|
],
|
||||||
declarations: DECLARATIONS
|
declarations: DECLARATIONS
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user