From 6c1c3ef2b24052c5dcdc0080b5b77493e365628e Mon Sep 17 00:00:00 2001 From: argirok Date: Thu, 9 May 2024 10:17:33 +0300 Subject: [PATCH] [pluginsFunctionality | DONE | CHANGED] sdg page: add helptexts if input available --- sdg/sdg.component.html | 1 + sdg/sdg.component.ts | 1 + sdg/sdg.module.ts | 13 +++++++------ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/sdg/sdg.component.html b/sdg/sdg.component.html index c1f431fe..8cb3da17 100644 --- a/sdg/sdg.component.html +++ b/sdg/sdg.component.html @@ -41,6 +41,7 @@ +
diff --git a/sdg/sdg.component.ts b/sdg/sdg.component.ts index 2c648dcb..a7360ec1 100644 --- a/sdg/sdg.component.ts +++ b/sdg/sdg.component.ts @@ -31,6 +31,7 @@ export class SdgComponent implements OnInit, OnDestroy { properties: EnvProperties = properties; openaireEntities = OpenaireEntities; @Input() customFilter = null; + @Input() pageContents = null; public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}]; subscriptions: Subscription[] = []; diff --git a/sdg/sdg.module.ts b/sdg/sdg.module.ts index 1888b381..748729b7 100644 --- a/sdg/sdg.module.ts +++ b/sdg/sdg.module.ts @@ -9,13 +9,14 @@ import {Schema2jsonldModule} from "../sharedComponents/schema2jsonld/schema2json import {SEOServiceModule} from "../sharedComponents/SEO/SEOService.module"; import {SdgRoutingModule} from './sdg-routing.module'; import {SdgComponent} from './sdg.component'; +import {HelperModule} from "../utils/helper/helper.module"; @NgModule({ - imports: [ - CommonModule, FormsModule, RouterModule, - SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule, - LoadingModule, Schema2jsonldModule, SEOServiceModule - ], + imports: [ + CommonModule, FormsModule, RouterModule, + SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule, + LoadingModule, Schema2jsonldModule, SEOServiceModule, HelperModule + ], declarations: [ SdgComponent ], @@ -26,4 +27,4 @@ import {SdgComponent} from './sdg.component'; }) export class SdgModule { -} \ No newline at end of file +}