mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
101577: Added themeable ThumbnailComponent to custom theme
This commit is contained in:
12
src/themes/custom/app/thumbnail/thumbnail.component.ts
Normal file
12
src/themes/custom/app/thumbnail/thumbnail.component.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { Component } from '@angular/core';
|
||||||
|
import { ThumbnailComponent as BaseComponent } from '../../../../app/thumbnail/thumbnail.component';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'ds-thumbnail',
|
||||||
|
// styleUrls: ['./thumbnail.component.scss'],
|
||||||
|
styleUrls: ['../../../../app/thumbnail/thumbnail.component.scss'],
|
||||||
|
// templateUrl: './thumbnail.component.html',
|
||||||
|
templateUrl: '../../../../app/thumbnail/thumbnail.component.html',
|
||||||
|
})
|
||||||
|
export class ThumbnailComponent extends BaseComponent {
|
||||||
|
}
|
@@ -84,6 +84,7 @@ 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 { ThumbnailComponent } from './app/thumbnail/thumbnail.component';
|
||||||
|
|
||||||
const DECLARATIONS = [
|
const DECLARATIONS = [
|
||||||
FileSectionComponent,
|
FileSectionComponent,
|
||||||
@@ -126,7 +127,8 @@ const DECLARATIONS = [
|
|||||||
NavbarComponent,
|
NavbarComponent,
|
||||||
HeaderNavbarWrapperComponent,
|
HeaderNavbarWrapperComponent,
|
||||||
BreadcrumbsComponent,
|
BreadcrumbsComponent,
|
||||||
FeedbackComponent
|
FeedbackComponent,
|
||||||
|
ThumbnailComponent,
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
Reference in New Issue
Block a user