mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Added ItemListPreviewComponent template to custom theme
This commit is contained in:
@@ -62,6 +62,9 @@ const DECLARATIONS = [
|
||||
ResearchEntitiesModule.withEntryComponents(),
|
||||
JournalEntitiesModule.withEntryComponents(),
|
||||
],
|
||||
exports: [
|
||||
...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 { RequestCopyModule } from 'src/app/request-copy/request-copy.module';
|
||||
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 = [
|
||||
FileSectionComponent,
|
||||
@@ -241,6 +242,7 @@ const DECLARATIONS = [
|
||||
ItemStatusComponent,
|
||||
EditBitstreamPageComponent,
|
||||
SearchComponent,
|
||||
ItemListPreviewComponent,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
Reference in New Issue
Block a user