mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 13:33:03 +00:00
Added ItemListPreviewComponent template to custom theme
This commit is contained in:
@@ -62,6 +62,9 @@ const DECLARATIONS = [
|
|||||||
ResearchEntitiesModule.withEntryComponents(),
|
ResearchEntitiesModule.withEntryComponents(),
|
||||||
JournalEntitiesModule.withEntryComponents(),
|
JournalEntitiesModule.withEntryComponents(),
|
||||||
],
|
],
|
||||||
|
exports: [
|
||||||
|
...DECLARATIONS,
|
||||||
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
...DECLARATIONS,
|
...DECLARATIONS,
|
||||||
]
|
]
|
||||||
|
@@ -0,0 +1,14 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
import { fadeInOut } from '../../../../../../../app/shared/animations/fade';
|
||||||
|
import { ItemListPreviewComponent as BaseComponent } from '../../../../../../../app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'ds-item-list-preview',
|
||||||
|
// styleUrls: ['./item-list-preview.component.scss'],
|
||||||
|
styleUrls: ['../../../../../../../app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component.scss'],
|
||||||
|
// templateUrl: './item-list-preview.component.html',
|
||||||
|
templateUrl: '../../../../../../../app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component.html',
|
||||||
|
animations: [fadeInOut],
|
||||||
|
})
|
||||||
|
export class ItemListPreviewComponent extends BaseComponent {
|
||||||
|
}
|
@@ -157,6 +157,7 @@ import { EditBitstreamPageComponent } from './app/bitstream-page/edit-bitstream-
|
|||||||
import { FormModule } from '../../app/shared/form/form.module';
|
import { FormModule } from '../../app/shared/form/form.module';
|
||||||
import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
|
import { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
|
||||||
import { SearchComponent } from './app/shared/search/search.component';
|
import { SearchComponent } from './app/shared/search/search.component';
|
||||||
|
import { ItemListPreviewComponent } from './app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component';
|
||||||
|
|
||||||
const DECLARATIONS = [
|
const DECLARATIONS = [
|
||||||
FileSectionComponent,
|
FileSectionComponent,
|
||||||
@@ -241,6 +242,7 @@ const DECLARATIONS = [
|
|||||||
ItemStatusComponent,
|
ItemStatusComponent,
|
||||||
EditBitstreamPageComponent,
|
EditBitstreamPageComponent,
|
||||||
SearchComponent,
|
SearchComponent,
|
||||||
|
ItemListPreviewComponent,
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
Reference in New Issue
Block a user