From 51cbc6e01f85b4cb94758e9bef97a83d42d3256b Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 29 Mar 2018 13:44:55 +0000 Subject: [PATCH] 1. searchResult.component.html: component from 'utils/approvedByCommunity/approved.component.ts' is called to show if a content provider is approved by current community. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51578 d315682c-612b-4755-9ff5-7f18f6832af3 --- searchPages/searchUtils/searchResult.component.html | 1 + searchPages/searchUtils/searchResults.module.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/searchPages/searchUtils/searchResult.component.html b/searchPages/searchUtils/searchResult.component.html index ec04a137..f9666ce2 100644 --- a/searchPages/searchUtils/searchResult.component.html +++ b/searchPages/searchUtils/searchResult.component.html @@ -48,6 +48,7 @@ + {{result['type']}} {{result.compatibility}} diff --git a/searchPages/searchUtils/searchResults.module.ts b/searchPages/searchUtils/searchResults.module.ts index 0ca38971..eea3c12d 100644 --- a/searchPages/searchUtils/searchResults.module.ts +++ b/searchPages/searchUtils/searchResults.module.ts @@ -7,11 +7,13 @@ import {ErrorMessagesModule} from '../../utils/errorMessages.module'; import {SearchResult} from '../../utils/entities/searchResult'; import {SearchResultComponent} from './searchResult.component'; +import {ApprovedByCommunityModule} from '../../../utils/approvedByCommunity/approved.module'; @NgModule({ imports: [ CommonModule, FormsModule, - RouterModule, ErrorMessagesModule + RouterModule, ErrorMessagesModule, + ApprovedByCommunityModule ], declarations: [ SearchResultComponent,