diff --git a/searchPages/searchUtils/searchResult.component.ts b/searchPages/searchUtils/searchResult.component.ts index 411f573e..3a9b4605 100644 --- a/searchPages/searchUtils/searchResult.component.ts +++ b/searchPages/searchUtils/searchResult.component.ts @@ -34,7 +34,7 @@ export class SearchResultComponent implements OnInit, OnChanges { // console.log(data[1]); let dois = encodeURIComponent(this.results.map((result) => result.DOI).join(",")); // console.log(dois); - if(dois.length > 0 && this.showImpactFactors && this.properties.environment == "development") { + if(dois.length > 0 && this.showImpactFactors && this.properties.environment != "production") { let url = 'http://bip.imis.athena-innovation.gr:4000/paper/scores/batch/' + dois; this.http.get(url).subscribe((data_received) => { for (let i = 0; i < this.previewResults.length; i++) { diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html index bc2115f3..3a845869 100644 --- a/utils/result-preview/result-preview.component.html +++ b/utils/result-preview/result-preview.component.html @@ -271,8 +271,65 @@ {{result.description}}

-
-   -   - +
+ + + + + + + {{" "+(result.pop_inf[0]=='A'?'High':'')+(result.pop_inf[0]=='B'?'Average':'')+(result.pop_inf[0]=='C'?'Low':'')+ + " popularity" }} + + +
+ + + + + {{" "+(result.pop_inf[0]=='A'?'High':'')+(result.pop_inf[0]=='B'?'Average':'')+(result.pop_inf[0]=='C'?'Low':'')+ + " popularity" }} + {{" "+(result.pop_inf[0]=='A'?'In top 0.01%':'')+(result.pop_inf[0]=='B'?'In top 1%':'')+(result.pop_inf[0]=='C'?'In bottom 99%':'')}} + + +
Popularity: Citation-based measure reflecting the current impact.
+
+ View more details +
+
+ + + + {{" "+(result.pop_inf[1]=='A'?'Strong':'')+(result.pop_inf[1]=='B'?'Average':'')+(result.pop_inf[1]=='C'?'Weak':'')+ + " influence" }} + +
+ + + + + {{" "+(result.pop_inf[1]=='A'?'Strong':'')+(result.pop_inf[1]=='B'?'Average':'')+(result.pop_inf[1]=='C'?'Weak':'')+ + " influence" }} + {{" "+(result.pop_inf[1]=='A'?'In top 0.01%':'')+(result.pop_inf[1]=='B'?'In top 1%':'')+(result.pop_inf[1]=='C'?'In bottom 99%':'')}} + + +
Influence: Citation-based measure reflecting the total impact.
+
+ View more details +
+
+