[pluginsFunctionality | DONE | CHANGED] sdg page: add helptexts if input available
This commit is contained in:
parent
1abd7c111f
commit
6c1c3ef2b2
|
@ -41,6 +41,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0" [texts]="pageContents['top']" class="uk-container"></helper>
|
||||||
<div class="uk-container uk-container-large uk-section" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200">
|
<div class="uk-container uk-container-large uk-section" uk-scrollspy="target: [uk-scrollspy-class]; cls: uk-animation-slide-bottom-medium; delay: 200">
|
||||||
<div *ngIf="loading">
|
<div *ngIf="loading">
|
||||||
<loading></loading>
|
<loading></loading>
|
||||||
|
|
|
@ -31,6 +31,7 @@ export class SdgComponent implements OnInit, OnDestroy {
|
||||||
properties: EnvProperties = properties;
|
properties: EnvProperties = properties;
|
||||||
openaireEntities = OpenaireEntities;
|
openaireEntities = OpenaireEntities;
|
||||||
@Input() customFilter = null;
|
@Input() customFilter = null;
|
||||||
|
@Input() pageContents = null;
|
||||||
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}];
|
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}];
|
||||||
|
|
||||||
subscriptions: Subscription[] = [];
|
subscriptions: Subscription[] = [];
|
||||||
|
|
|
@ -9,13 +9,14 @@ import {Schema2jsonldModule} from "../sharedComponents/schema2jsonld/schema2json
|
||||||
import {SEOServiceModule} from "../sharedComponents/SEO/SEOService.module";
|
import {SEOServiceModule} from "../sharedComponents/SEO/SEOService.module";
|
||||||
import {SdgRoutingModule} from './sdg-routing.module';
|
import {SdgRoutingModule} from './sdg-routing.module';
|
||||||
import {SdgComponent} from './sdg.component';
|
import {SdgComponent} from './sdg.component';
|
||||||
|
import {HelperModule} from "../utils/helper/helper.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, FormsModule, RouterModule,
|
CommonModule, FormsModule, RouterModule,
|
||||||
SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule,
|
SdgRoutingModule, BreadcrumbsModule, RefineFieldResultsServiceModule,
|
||||||
LoadingModule, Schema2jsonldModule, SEOServiceModule
|
LoadingModule, Schema2jsonldModule, SEOServiceModule, HelperModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
SdgComponent
|
SdgComponent
|
||||||
],
|
],
|
||||||
|
@ -26,4 +27,4 @@ import {SdgComponent} from './sdg.component';
|
||||||
})
|
})
|
||||||
export class SdgModule {
|
export class SdgModule {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue