Merge conflicts
This commit is contained in:
commit
083f14c394
|
@ -238,8 +238,10 @@ export class AppComponent extends ResearcherBaseComponent implements OnInit, Aft
|
|||
}
|
||||
|
||||
staticUserItems() {
|
||||
if(this.properties.environment != "beta"){
|
||||
this.userMenuItems.push(new MenuItem("myorcidlinks", "My Orcid links", "", "/my-orcid-links", false, [], null, {}, null, null, null, null));
|
||||
}
|
||||
this.userMenuItems.push(
|
||||
new MenuItem("myorcidlinks", "My Orcid links", "", "/my-orcid-links", false, [], null, {}, null, null, null, null),
|
||||
new MenuItem("myclaims", "My links", "", "/participate/myclaims", false, [], null, {}, null, null, null, null),
|
||||
new MenuItem("claims", "Link", "", "/participate/claim", false, [], null, {}, null, null, null, null),
|
||||
new MenuItem("upload-dois", "Upload DOIs", "", "/upload-dois", false, [], null, {}, null, null, null, null)
|
||||
|
|
|
@ -29,7 +29,7 @@ import {LogService} from "../openaireLibrary/utils/log/log.service";
|
|||
<ng-container *ngFor="let month of months ">
|
||||
<ng-container *ngIf="show(year, month) ">
|
||||
<li *ngIf=" !(year == today.getFullYear() && month == today.getMonth()+1)">
|
||||
<a [href]="properties.logServiceUrl + 'webstats/' + year + '/' + month " target="_blank"> {{month}}/{{year}}</a>
|
||||
<a [href]="properties.logServiceUrl + 'webstats/' + year + '/' + (month<10?'0'+month:month) " target="_blank"> {{month}}/{{year}}</a>
|
||||
</li>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<div class="uk-padding-remove-left uk-width-expand">
|
||||
<div class="uk-h6 uk-margin-xsmall-bottom uk-text-truncate">{{author.authorGivenName}} {{author.authorFamilyName}}</div>
|
||||
<div class="uk-text-primary uk-text-xsmall uk-text-bold">
|
||||
<div *ngIf="author.resultsCount && author.resultsCount > 0">{{author.resultsCount}} {{openaireEntities.RESULTS}}</div>
|
||||
<!-- <div *ngIf="author.resultsCount && author.resultsCount > 0">{{author.resultsCount}} {{openaireEntities.RESULTS}}</div></div>-->
|
||||
<div class="uk-text-truncate" *ngIf="author.institutions">{{author.institutions.join(", ")}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -178,7 +178,8 @@ private getOpenaireResultsFor(start, end){
|
|||
}
|
||||
}
|
||||
private getOpenaireResultsObs(author){
|
||||
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")';
|
||||
let param = '(authorid="' + StringUtils.URIEncode(author.id) + '")'
|
||||
+' and (country exact "IE")';
|
||||
return this._searchResearchResultsService.numOfResearchOutcomes(param, properties, null).pipe(map(res => {
|
||||
author.resultsCount = res;
|
||||
return author;
|
||||
|
|
Loading…
Reference in New Issue