mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
89721: Themed JournalVolumeComponent
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 {
|
||||
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 {
|
||||
}
|
@@ -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,
|
||||
];
|
||||
|
@@ -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({
|
||||
|
Reference in New Issue
Block a user