mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +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 { ComcolModule } from '../../app/shared/comcol/comcol.module';
|
||||
import { FeedbackComponent } from './app/info/feedback/feedback.component';
|
||||
import { ThumbnailComponent } from './app/thumbnail/thumbnail.component';
|
||||
|
||||
const DECLARATIONS = [
|
||||
FileSectionComponent,
|
||||
@@ -126,7 +127,8 @@ const DECLARATIONS = [
|
||||
NavbarComponent,
|
||||
HeaderNavbarWrapperComponent,
|
||||
BreadcrumbsComponent,
|
||||
FeedbackComponent
|
||||
FeedbackComponent,
|
||||
ThumbnailComponent,
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
|
Reference in New Issue
Block a user