[Explore | new-theme]: sdg.component: Use OpenaireEntities.RESULTS in cards.
This commit is contained in:
parent
1cbe7fd930
commit
a85c7781f2
|
@ -62,7 +62,7 @@
|
|||
<div class="uk-text-center">
|
||||
<div>
|
||||
<span class="uk-text-large uk-text-bold uk-margin-small-bottom">{{sdg.number == null ? '0' : sdg.number | number}}</span>
|
||||
<p class="uk-text-small uk-margin-remove">Research Items</p>
|
||||
<p class="uk-text-small uk-margin-remove">{{openaireEntities.RESULTS}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -6,6 +6,7 @@ import {Breadcrumb} from "../openaireLibrary/utils/breadcrumbs/breadcrumbs.compo
|
|||
import {EnvProperties} from "../openaireLibrary/utils/properties/env-properties";
|
||||
import {properties} from "src/environments/environment";
|
||||
import {RefineFieldResultsService} from "../openaireLibrary/services/refineFieldResults.service";
|
||||
import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields";
|
||||
|
||||
@Component({
|
||||
selector: 'sdg',
|
||||
|
@ -20,6 +21,7 @@ export class SdgComponent implements OnInit, OnDestroy {
|
|||
|
||||
public loading: boolean;
|
||||
properties: EnvProperties = properties;
|
||||
openaireEntities = OpenaireEntities;
|
||||
public breadcrumbs: Breadcrumb[] = [{name: 'home', route: '/'}, {name: 'Sustainable Development Goals'}];
|
||||
|
||||
subscriptions: Subscription[] = [];
|
||||
|
|
Loading…
Reference in New Issue