2022-03-15 12:13:28 +01:00
|
|
|
<div *ngIf="result" [ngClass]="{'uk-card uk-card-default uk-card-hover': isCard}">
|
|
|
|
<div [ngClass]="{'uk-card-body': isCard}">
|
2021-03-30 14:04:52 +02:00
|
|
|
<!-- Before title -->
|
2021-03-10 11:41:38 +01:00
|
|
|
<div class="uk-grid uk-flex uk-flex-middle">
|
2021-04-09 17:39:42 +02:00
|
|
|
<div *ngIf="properties.enermapsURL && showEnermaps && result.enermapsId" class=" uk-inline uk-width-auto uk-text-center uk-visible-toggle">
|
2021-10-06 15:23:57 +02:00
|
|
|
<img class="uk-width-medium" [src]="properties.enermapsURL +'/images/datasets/' + result.enermapsId + '.png'"
|
2021-07-14 13:19:57 +02:00
|
|
|
alt="Enermaps tool preview" loading="lazy">
|
2021-04-09 17:39:42 +02:00
|
|
|
<div class="uk-overlay uk-margin-medium-left uk-overlay-default uk-position-bottom uk-hidden-hover uk-padding-small">
|
|
|
|
<p>Visit <a
|
|
|
|
class=" uk-margin-right uk-margin-small-top"
|
2021-10-06 15:23:57 +02:00
|
|
|
[href]="properties.enermapsURL + '/?shared_id=' + result.enermapsId" target="_blank" >
|
2021-04-09 17:39:42 +02:00
|
|
|
Enermaps tool <span class="custom-external custom-icon space"></span>
|
|
|
|
</a></p>
|
|
|
|
</div>
|
|
|
|
|
2021-04-08 12:50:11 +02:00
|
|
|
</div>
|
2021-03-10 11:41:38 +01:00
|
|
|
<div class="uk-width-expand">
|
2021-02-26 15:30:10 +01:00
|
|
|
<div>
|
2020-07-15 15:59:09 +02:00
|
|
|
<!-- deposit searchPage URL -->
|
2020-03-13 16:06:22 +01:00
|
|
|
<span class="uk-width-expand uk-flex-right">
|
|
|
|
<a *ngIf="result.websiteURL && promoteWebsiteURL" href="{{result.websiteURL}}" target="_blank" type="submit"
|
2020-08-10 17:14:48 +02:00
|
|
|
class=" uk-float-right uk-button uk-button-primary uk-padding uk-padding-remove-vertical uk-margin-small-left">
|
2020-04-27 10:14:05 +02:00
|
|
|
<span><span>Visit repository to deposit</span><span uk-icon="arrow-right"></span></span>
|
2020-03-13 16:06:22 +01:00
|
|
|
</a>
|
|
|
|
</span>
|
2022-03-03 15:41:07 +01:00
|
|
|
<div class="uk-text-small uk-margin-small-bottom">
|
2020-07-22 15:39:35 +02:00
|
|
|
<span *ngIf="type" class="uk-text-capitalize type">{{type}}</span>
|
|
|
|
<span *ngIf="type && beforeTitle.length > 0"> . </span>
|
|
|
|
<span *ngIf="beforeTitle.length > 0" class="uk-text-capitalize">
|
2020-05-21 16:18:52 +02:00
|
|
|
{{beforeTitle.join(' . ')}}
|
2020-03-12 14:49:10 +01:00
|
|
|
</span>
|
|
|
|
<span *ngIf="result.embargoEndDate && result.embargoEndDate != ''">
|
2020-07-27 12:48:05 +02:00
|
|
|
<span
|
|
|
|
*ngIf="beforeTitle.length > 0"> . </span> Embargo End Date: {{result.embargoEndDate | date: 'dd MMM yyyy'}}
|
2020-03-12 14:49:10 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<!-- Title -->
|
|
|
|
<div class="uk-margin-small-bottom">
|
2021-03-30 14:04:52 +02:00
|
|
|
<h6 class="uk-margin-remove uk-text-break">
|
2021-03-22 17:16:08 +01:00
|
|
|
<a *ngIf="!externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
|
2021-03-08 16:32:33 +01:00
|
|
|
(click)="onClick()" [queryParams]="createParam()"
|
2020-06-29 15:15:52 +02:00
|
|
|
[routerLink]="url" class="uk-link uk-width-expand">
|
2020-03-12 14:49:10 +01:00
|
|
|
<div *ngIf="(result.title) || result.acronym">
|
2020-06-29 15:15:52 +02:00
|
|
|
<span *ngIf="result.acronym">
|
|
|
|
{{result.acronym}}
|
|
|
|
</span>
|
2020-03-12 14:49:10 +01:00
|
|
|
<span *ngIf="result.acronym && (result.title)"> (</span>
|
|
|
|
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
|
|
|
<span *ngIf="result.acronym && result.title">)</span>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!result.title && !result.acronym">
|
|
|
|
[no title available]
|
|
|
|
</div>
|
|
|
|
</a>
|
2021-03-22 17:16:08 +01:00
|
|
|
|
|
|
|
<a *ngIf="externalUrl && result.id && !(result.resultType == 'dataprovider' && result.compatibilityUNKNOWN) "
|
|
|
|
(click)="onClick()"
|
|
|
|
target="_blank" [href]="externalUrl+result.id" class="uk-link uk-width-expand">
|
2021-03-23 18:00:13 +01:00
|
|
|
<span *ngIf="(result.title) || result.acronym">
|
2021-03-22 17:16:08 +01:00
|
|
|
<span *ngIf="result.acronym">
|
|
|
|
{{result.acronym}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="result.acronym && (result.title)"> (</span>
|
|
|
|
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
|
|
|
<span *ngIf="result.acronym && result.title">)</span>
|
2021-03-23 18:00:13 +01:00
|
|
|
</span>
|
|
|
|
<span *ngIf="!result.title && !result.acronym">
|
2021-03-22 17:16:08 +01:00
|
|
|
[no title available]
|
2021-03-23 18:00:13 +01:00
|
|
|
</span>
|
|
|
|
<span class="custom-external custom-icon space"></span>
|
2021-03-22 17:16:08 +01:00
|
|
|
</a>
|
|
|
|
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="!result.id || (result.resultType == 'dataprovider' && result.compatibilityUNKNOWN)"
|
|
|
|
class="uk-width-expand">
|
2020-03-12 14:49:10 +01:00
|
|
|
<div *ngIf="(result.title) || result.acronym">
|
|
|
|
<span *ngIf="result.acronym">
|
|
|
|
{{result.acronym}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="result.acronym && (result.title)"> (</span>
|
|
|
|
<span *ngIf="result.title" [innerHTML]="result.title"></span>
|
|
|
|
<span *ngIf="result.acronym && result.title">)</span>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!result.title && !result.acronym">
|
|
|
|
[no title available]
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-27 12:48:05 +02:00
|
|
|
<hr *ngIf="result.websiteURL && promoteWebsiteURL">
|
2020-10-13 21:04:50 +02:00
|
|
|
</h6>
|
2020-03-12 14:49:10 +01:00
|
|
|
</div>
|
|
|
|
<!-- Funder -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.funderShortname || result.code" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span *ngIf="result.funderShortname">
|
|
|
|
<span class="uk-text-muted">Funder: </span>
|
|
|
|
{{result.funderShortname}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="result.code" [class.uk-margin-left]="result.funderShortname">
|
|
|
|
<span class="uk-text-muted">Project Code: </span>
|
|
|
|
{{result.code}}
|
|
|
|
</span>
|
2020-07-27 12:48:05 +02:00
|
|
|
<!-- Currently not parsed -->
|
|
|
|
<!-- <span *ngIf="result.callIdentifier" [class.uk-margin-left]="(result.funderShortname || result.code)">-->
|
|
|
|
<!-- <span class="uk-text-muted">Call for proposal: </span>-->
|
|
|
|
<!-- {{result.callIdentifier}}-->
|
|
|
|
<!-- </span>-->
|
2020-03-12 14:49:10 +01:00
|
|
|
</div>
|
|
|
|
<!-- Funder Budget -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.budget || result.contribution" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span *ngIf="result.budget">
|
|
|
|
<span class="uk-text-muted">Overall Budget: </span>
|
|
|
|
{{result.budget | number}}
|
|
|
|
<span *ngIf="result.currency">{{result.currency}}</span>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="result.contribution" [class.uk-margin-left]="result.budget">
|
|
|
|
<span class="uk-text-muted">Funder Contribution: </span>
|
|
|
|
{{result.contribution | number}}
|
|
|
|
<span *ngIf="result.currency">{{result.currency}}</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<!-- Labels -->
|
|
|
|
<div class="uk-margin-small-bottom">
|
|
|
|
<span
|
2020-05-05 16:09:18 +02:00
|
|
|
*ngIf="result.accessMode && result.accessMode.toLowerCase() !== 'not available'"
|
2022-03-15 12:13:28 +01:00
|
|
|
class="uk-label uk-text-truncate " [ngClass]="'uk-label-' + accessClass(result.accessMode)"
|
2020-03-12 14:49:10 +01:00
|
|
|
title="Access Mode">
|
2020-05-05 16:09:18 +02:00
|
|
|
{{result.accessMode}}
|
|
|
|
</span>{{' '}}
|
2022-03-15 12:13:28 +01:00
|
|
|
<span
|
|
|
|
*ngIf="result.openAccessMandatePublications && (!result.openAccessMandateDatasets)"
|
|
|
|
class="uk-label uk-label-success uk-text-truncate"
|
|
|
|
title="Open Access mandate for Publications">
|
|
|
|
Open Access mandate for Publications
|
|
|
|
</span>{{' '}}
|
2020-03-12 14:49:10 +01:00
|
|
|
<span
|
|
|
|
*ngIf="result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets && (result.openAccessMandatePublications == undefined || !result.openAccessMandatePublications)"
|
2022-03-15 12:13:28 +01:00
|
|
|
class="uk-label uk-label-success uk-text-truncate " title="Open Access mandate for Research Data">
|
|
|
|
Open Access mandate for Research Data
|
|
|
|
</span>{{' '}}
|
2020-03-12 14:49:10 +01:00
|
|
|
<span
|
|
|
|
*ngIf="result.openAccessMandatePublications != undefined && result.openAccessMandatePublications && result.openAccessMandateDatasets != undefined && result.openAccessMandateDatasets"
|
2022-03-15 12:13:28 +01:00
|
|
|
class="uk-label uk-label-success uk-text-truncate"
|
2020-03-12 14:49:10 +01:00
|
|
|
title="Open Access mandate for Publications and Research Data">
|
2022-03-15 12:13:28 +01:00
|
|
|
Open Access mandate for Publications and Research Data
|
|
|
|
</span>{{' '}}
|
2020-07-27 12:48:05 +02:00
|
|
|
<span *ngIf="result.languages && result.languages.length > 0">
|
2022-03-15 12:13:28 +01:00
|
|
|
<span
|
|
|
|
*ngFor="let language of result.languages"
|
|
|
|
class="uk-label" title="Language">
|
|
|
|
{{language}}
|
|
|
|
</span>{{' '}}
|
|
|
|
</span>
|
2020-03-12 14:49:10 +01:00
|
|
|
<span *ngIf="result.programmingLanguages && result.programmingLanguages.length > 0">
|
2022-03-15 12:13:28 +01:00
|
|
|
<span
|
|
|
|
*ngFor="let programmingLanguage of result.programmingLanguages"
|
|
|
|
class="uk-label" title="Programming Language">
|
|
|
|
{{programmingLanguage}}
|
|
|
|
</span>{{" "}}
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
*ngIf="result.sc39" class="uk-label" title="Special Clause 39">
|
|
|
|
Special Clause 39
|
|
|
|
</span>{{' '}}
|
|
|
|
<span
|
|
|
|
*ngIf="result.compatibility && result.compatibility != '' && result.compatibility != 'not available'"
|
|
|
|
class="uk-label" title="Compatibility">
|
|
|
|
{{result.compatibility}}
|
|
|
|
</span>{{' '}}
|
|
|
|
<span
|
|
|
|
*ngIf="result.compatibility != undefined && result.compatibility != '' && result.compatibility == 'not available'"
|
|
|
|
class="uk-label uk-label-danger" title="OpenAIRE Compatibility">
|
|
|
|
Not yet registered
|
|
|
|
</span>{{' '}}
|
2020-03-12 14:49:10 +01:00
|
|
|
</div>
|
2020-07-22 15:39:35 +02:00
|
|
|
<!-- Authors -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.authors" class="uk-flex uk-margin-small-bottom">
|
2022-03-03 15:41:07 +01:00
|
|
|
<span class="uk-text-muted">Authors: </span>
|
|
|
|
<showAuthors [authors]="result.authors" [authorsLimit]=10 [modal]="modal"
|
2020-07-27 12:48:05 +02:00
|
|
|
[showAll]=false [small]="false"></showAuthors>
|
2020-07-22 15:39:35 +02:00
|
|
|
</div>
|
2020-03-12 14:49:10 +01:00
|
|
|
<!-- Identifiers -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.identifiers && result.identifiers.size > 0" class="uk-margin-small-bottom">
|
2021-04-13 14:33:40 +02:00
|
|
|
<showIdentifiers [identifiers]="result.identifiers"></showIdentifiers>
|
2020-03-12 14:49:10 +01:00
|
|
|
</div>
|
|
|
|
<!-- Publisher -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.publisher && result.publisher != ''" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted">Publisher: </span>
|
|
|
|
{{result.publisher}}
|
|
|
|
</div>
|
|
|
|
<!-- Countries -->
|
|
|
|
<div *ngIf="result.countries && result.countries.length > 0"
|
2020-07-27 12:48:05 +02:00
|
|
|
class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted">{{(result.countries.length == 1) ? 'Country' : 'Countries'}}: </span>
|
|
|
|
<span *ngFor="let country of result.countries.slice(0,10) let i = index">
|
|
|
|
{{country}}{{(i < (result.countries.slice(0, 10).length - 1)) ? ", " : ""}}
|
|
|
|
{{(i == result.countries.slice(0, 10).length - 1 && result.countries.length > 10) ? "..." : ""}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<!-- Projects -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.projects && result.projects.length > 0" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted"> Project: </span>
|
|
|
|
<span *ngFor="let project of result.projects.slice(0,10) let i=index">
|
|
|
|
<span>
|
|
|
|
{{project.funderShortname ? project.funderShortname : project.funderName}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="project.acronym || project.title">
|
|
|
|
| {{ project.acronym ? project.acronym : (project.title.length > 25 ?
|
|
|
|
project.title.substring(0, 25) + '...' : project.title)}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="project.code"> ({{project.code}})</span>
|
|
|
|
<span *ngIf="i < result.projects.length-1">,</span>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="result.projects.length > 10">...</span>
|
|
|
|
</div>
|
|
|
|
<!-- Organizations -->
|
|
|
|
<div *ngIf="showOrganizations && result.organizations && result.organizations.length > 0"
|
2020-07-27 12:48:05 +02:00
|
|
|
class="uk-margin-small-bottom">
|
2020-07-17 11:29:57 +02:00
|
|
|
<span class="uk-text-muted">Partners: </span>
|
2020-03-12 14:49:10 +01:00
|
|
|
<span *ngFor="let organization of result.organizations.slice(0,10) let i=index">
|
|
|
|
<span>{{organization.name}}</span>
|
2020-03-17 11:04:17 +01:00
|
|
|
<span *ngIf="(i < result.organizations.length-1) && (i < 9)">, </span>
|
2020-03-12 14:49:10 +01:00
|
|
|
</span>
|
|
|
|
<span *ngIf="result.organizations.length > 10">...</span>
|
|
|
|
</div>
|
|
|
|
<!-- Website URL -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.websiteURL && result.websiteURL != '' && !promoteWebsiteURL" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted">Website URL: </span>
|
|
|
|
<span>
|
2020-07-29 16:37:33 +02:00
|
|
|
<a href="{{result.websiteURL}}" target="_blank">
|
|
|
|
<span class="custom-external custom-icon"></span>
|
2021-02-26 15:30:10 +01:00
|
|
|
{{result.websiteURL}}
|
2020-03-12 14:49:10 +01:00
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<!-- OAI-PMH URL-->
|
2020-07-27 12:48:05 +02:00
|
|
|
<div *ngIf="result.OAIPMHURL && result.OAIPMHURL != ''" class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted">OAI-PMH URL: </span>
|
|
|
|
<span>
|
2020-07-29 16:37:33 +02:00
|
|
|
<a href="{{result.OAIPMHURL}}" target="_blank">
|
|
|
|
<span class="custom-external custom-icon"></span>
|
2021-02-26 15:30:10 +01:00
|
|
|
{{result.OAIPMHURL}}
|
2020-07-29 16:37:33 +02:00
|
|
|
</a>
|
|
|
|
</span>
|
2020-03-12 14:49:10 +01:00
|
|
|
</div>
|
|
|
|
<!-- Subjects -->
|
|
|
|
<div *ngIf="showSubjects && result.subjects && result.subjects.length > 0"
|
2020-07-27 12:48:05 +02:00
|
|
|
class="uk-margin-small-bottom">
|
2020-03-12 14:49:10 +01:00
|
|
|
<span class="uk-text-muted">Subject: </span>
|
2020-03-17 11:04:17 +01:00
|
|
|
<span *ngFor="let subject of result.subjects.slice(0,10) let i = index">
|
|
|
|
<span>{{subject}}</span>
|
|
|
|
<span>{{(i < (result.subjects.slice(0, 10).length - 1)) ? ", " : ""}}</span>
|
|
|
|
<span>{{(i == result.subjects.slice(0, 10).length - 1 && result.subjects.length > 10) ? "..." : ""}}</span>
|
2020-03-12 14:49:10 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-26 15:30:10 +01:00
|
|
|
<!-- Description -->
|
|
|
|
<div *ngIf="result.description" class="uk-margin-small-bottom multi-line-ellipsis lines-3">
|
|
|
|
<p class="uk-text-muted">
|
|
|
|
{{result.description}}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<!-- Download from-->
|
|
|
|
<div *ngIf="result.hostedBy_collectedFrom && result.hostedBy_collectedFrom.length > 0"
|
|
|
|
class="uk-margin-small-bottom download-from">
|
|
|
|
<div *ngFor="let from of result.hostedBy_collectedFrom"
|
2022-01-07 11:01:22 +01:00
|
|
|
[title]="from.accessRight ? from.accessRight : 'Not available'"
|
2021-02-26 15:30:10 +01:00
|
|
|
class="uk-flex">
|
2020-07-01 14:11:57 +02:00
|
|
|
<span class="uk-margin-small-right">
|
2022-01-07 11:01:22 +01:00
|
|
|
<img [src]="from.accessRightIcon" loading="lazy">
|
2020-07-01 14:11:57 +02:00
|
|
|
</span>
|
2021-02-26 15:30:10 +01:00
|
|
|
<span class="uk-width-expand">
|
2020-07-02 11:54:36 +02:00
|
|
|
<span class="uk-margin-right uk-display-inline-block">
|
|
|
|
<span class="uk-text-muted">Download from: </span>
|
2022-01-07 11:01:22 +01:00
|
|
|
<a *ngIf="from.downloadUrl"
|
|
|
|
[href]="from.downloadUrl" target="_blank" class="title">
|
|
|
|
<span>{{from.downloadNames.join("; ")}}</span>
|
2020-07-02 11:54:36 +02:00
|
|
|
<span class="custom-external space"></span>
|
|
|
|
</a>
|
|
|
|
<span *ngIf="!from.downloadUrl || from.downloadUrl.length === 0" class="title">
|
2022-01-07 11:01:22 +01:00
|
|
|
<span>{{from.downloadNames.join(", ")}}</span>
|
2020-07-02 11:54:36 +02:00
|
|
|
</span>
|
2020-05-20 22:34:29 +02:00
|
|
|
</span>
|
2020-07-02 11:54:36 +02:00
|
|
|
<span class="provider uk-display-inline-block">
|
|
|
|
<span class="uk-text-muted">Provider: </span>
|
2022-01-07 11:01:22 +01:00
|
|
|
<a *ngFor="let collectedName of from.collectedNamesAndIds.keys(); let i=index" [routerLink]="dataProviderUrl"
|
|
|
|
[queryParams]="{datasourceId: from.collectedNamesAndIds.get(collectedName)}" (click)="onClick();">
|
|
|
|
{{collectedName}}<ng-container *ngIf="(i !== (from.collectedNamesAndIds.size - 1))">; </ng-container>
|
2020-07-02 11:54:36 +02:00
|
|
|
</a>
|
2020-05-20 22:34:29 +02:00
|
|
|
</span>
|
|
|
|
</span>
|
2021-02-26 15:30:10 +01:00
|
|
|
</div>
|
2021-03-10 11:41:38 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-20 22:34:29 +02:00
|
|
|
</div>
|
2022-03-15 12:13:28 +01:00
|
|
|
</div>
|
2021-02-26 15:30:10 +01:00
|
|
|
<!--&& loggedIn -->
|
[Trunk | Library]:
1. resultLanding.component.html & result-preview.component.html: Show orcid buttons in all environments (production too) | in <orcid-work> added "resultTitle" property.
2. myOrcidLinks.component.ts: Added "getPersonalDetails()" method and link to advanced research outcomes page, filtered by user's name (if personal details from ORCID fails, use name from AAI - getUserInfo).
3. searchMyOrcidResults.module.ts: Removed PagingModule and added NoLoadPaging.
4. searchMyOrcidResults.component.ts: Added method "totalPages()" to calculate pages in paging.
5. searchMyOrcidResults.component.html:
a. Added <no-load-paging> (instead of custom paging with <paging-no-load>).
b. In <orcid-work> added "resultTitle" property.
c. Fix widths of grid inside card for result preview and orcid buttons.
6. orcid-work.component.ts:
a. Added "resultTitle" @Input property, to show it in notifications, instead of pids.
b. Updated messages for errors and for multiple put-codes.
c. Use "danger" notifications instead of "warning" when an error occurs.
d. For search and my orcid links pages, in orcid buttons, use <icon> for icons | For landing page, updated icons in orcid buttons.
e. Added message "The action will affect your real ORCID iD." in tooltips, when environment == 'beta'.
f. Removed property "procedurePaused" and its usage replaced by "currentAction".
g. [Bug fix] For search pages, added "uk-align-right", in order orcid button not to take width for the whole line.
h. [Bug fix] In method "getOrcidWorks()" check "Session.isLoggedIn()" was missing.
7. orcid.component.ts: If personal details from ORCID fails, use name from AAI - getUserInfo.
8. orcid.module.ts: Added IconsModule and registered icons: add, remove, preview, refresh in IconsService.
9. searchResult.component.ts: Call "orcidService.getPutCodes()" in all environments (production too).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60619 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 02:40:53 +01:00
|
|
|
<div *ngIf="(result.pop_inf && result.DOI) ||
|
2021-04-21 13:09:40 +02:00
|
|
|
((properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community') &&
|
2021-04-16 10:31:05 +02:00
|
|
|
((showOrcid && result.identifiers && result.identifiers.size > 0) || result.orcidCreationDates?.length > 0))"
|
2022-03-15 12:13:28 +01:00
|
|
|
class="result-preview-bottom"
|
|
|
|
[ngClass]="{'uk-card-footer': isCard}">
|
2021-02-26 15:30:10 +01:00
|
|
|
<!-- Impact Factors-->
|
|
|
|
<span class="uk-flex uk-flex-top">
|
2021-01-13 19:30:25 +01:00
|
|
|
<ng-container *ngIf="result.pop_inf && result.DOI">
|
2020-05-04 16:11:50 +02:00
|
|
|
<!--Popularity -->
|
2020-07-27 12:48:05 +02:00
|
|
|
<a title="Popularity" class="popularity-{{result.pop_inf[0]}} uk-margin-right uk-flex uk-flex-middle">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="10.749" height="14.33" viewBox="0 0 10.749 14.33"><defs><!--<style>.a{fill:#d51717;}</style>--></defs><path
|
|
|
|
class="a"
|
|
|
|
d="M10.382.67a14.44,14.44,0,0,1,.5,3.225A2.331,2.331,0,0,1,8.589,6.4,2.445,2.445,0,0,1,6.15,3.895l.02-.242A9.25,9.25,0,0,0,4,9.625a5.375,5.375,0,0,0,10.749,0A11.5,11.5,0,0,0,10.382.67ZM9.18,12.985a2.134,2.134,0,0,1-2.163-2.11A2.1,2.1,0,0,1,8.9,8.779a5.181,5.181,0,0,0,3.1-1.733,9.374,9.374,0,0,1,.4,2.714A3.226,3.226,0,0,1,9.18,12.985Z"
|
|
|
|
transform="translate(-4 -0.67)"/></svg>
|
2020-05-04 16:11:50 +02:00
|
|
|
<span class="uk-margin-small-left"
|
|
|
|
>
|
2020-07-27 12:48:05 +02:00
|
|
|
{{" " + result.pop_inf[2] +
|
2020-05-04 16:11:50 +02:00
|
|
|
" popularity" }}</span>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<div
|
2020-07-27 12:48:05 +02:00
|
|
|
class="default-dropdown uk-margin-remove-top uk-padding-medium"
|
|
|
|
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
|
2020-05-04 16:11:50 +02:00
|
|
|
<span class=" uk-flex uk-flex-middle">
|
2020-07-27 12:48:05 +02:00
|
|
|
<span class="popularity-{{result.pop_inf[0]}}">
|
2020-05-04 16:11:50 +02:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20.234" height="26.974"
|
2020-07-27 12:48:05 +02:00
|
|
|
viewBox="0 0 20.234 26.974"><defs> </defs><path class="a"
|
|
|
|
d="M16.014.67a27.181,27.181,0,0,1,.936,6.07c0,2.605-1.707,4.717-4.312,4.717A4.6,4.6,0,0,1,8.047,6.74l.038-.455A17.411,17.411,0,0,0,4,17.527a10.117,10.117,0,0,0,20.234,0A21.643,21.643,0,0,0,16.014.67ZM13.75,23.85A4.016,4.016,0,0,1,9.678,19.88c0-2.049,1.328-3.49,3.554-3.946a9.753,9.753,0,0,0,5.843-3.263,17.645,17.645,0,0,1,.746,5.109,6.072,6.072,0,0,1-6.07,6.07Z"
|
|
|
|
transform="translate(-4 -0.67)"/></svg>
|
2020-05-04 16:11:50 +02:00
|
|
|
</span>
|
2020-07-27 12:48:05 +02:00
|
|
|
<span class=" uk-margin-small-left uk-text-large">{{" " + result.pop_inf[2] +
|
2020-05-04 16:11:50 +02:00
|
|
|
" popularity" }}</span>
|
|
|
|
<span
|
2020-07-27 12:48:05 +02:00
|
|
|
class="uk-margin-small-top uk-margin-small-left">{{" " + (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%' : '')}}</span>
|
2020-05-04 16:11:50 +02:00
|
|
|
</span>
|
2020-07-27 12:48:05 +02:00
|
|
|
<div class="uk-text-muted uk-margin">Popularity: Citation-based measure reflecting the current impact.</div>
|
2020-05-04 16:11:50 +02:00
|
|
|
<div>
|
2020-07-27 12:48:05 +02:00
|
|
|
<a title="Link to Bip!Finder" class="uk-float-right" target="_blank"
|
|
|
|
href="https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
|
2020-05-04 16:11:50 +02:00
|
|
|
</div>
|
2020-07-27 12:48:05 +02:00
|
|
|
</div>
|
2021-02-26 15:30:10 +01:00
|
|
|
<!--Influence -->
|
2021-01-13 19:30:25 +01:00
|
|
|
<a title="Influence" class="influence-{{result.pop_inf[1]}} uk-margin-right uk-flex uk-flex-middle">
|
2020-07-27 12:48:05 +02:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="12.667" height="14" viewBox="0 0 12.667 14">
|
|
|
|
<defs><!--<style>.a{fill:#e1920a;}</style>--></defs>
|
|
|
|
<path class="a"
|
|
|
|
d="M3.333,7v4.667h2V7Zm4,0v4.667h2V7ZM2,15H14.667V13H2Zm9.333-8v4.667h2V7Zm-3-6L2,4.333V5.667H14.667V4.333Z"
|
|
|
|
transform="translate(-2 -1)"/>
|
|
|
|
</svg>
|
|
|
|
<span class="uk-margin-small-left"
|
|
|
|
>{{" " + result.pop_inf[3] +
|
|
|
|
" influence" }}</span>
|
|
|
|
</a>
|
|
|
|
<div
|
|
|
|
class="default-dropdown uk-margin-remove-top uk-padding-medium"
|
|
|
|
uk-dropdown="pos: bottom-left; mode:click" style="min-width: 70px !important;">
|
2020-05-04 16:11:50 +02:00
|
|
|
<span class=" uk-flex uk-flex-middle">
|
2020-07-27 12:48:05 +02:00
|
|
|
<span class="influence-{{result.pop_inf[1]}}">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24.299" height="26.857" viewBox="0 0 24.299 26.857"><defs><style>.a {
|
|
|
|
fill: #464646;
|
|
|
|
}</style></defs><path class="a"
|
|
|
|
d="M4.558,12.51v8.952H8.394V12.51Zm7.673,0v8.952h3.837V12.51ZM2,27.857H26.3V24.02H2ZM19.9,12.51v8.952h3.837V12.51ZM14.149,1,2,7.394V9.952H26.3V7.394Z"
|
|
|
|
transform="translate(-2 -1)"/></svg>
|
2020-05-04 16:11:50 +02:00
|
|
|
</span>
|
|
|
|
<span class=" uk-margin-small-left uk-text-large"
|
2020-07-27 12:48:05 +02:00
|
|
|
>{{result.pop_inf[3] +
|
2020-05-04 16:11:50 +02:00
|
|
|
" influence" }}</span>
|
|
|
|
<span
|
2020-07-27 12:48:05 +02:00
|
|
|
class="uk-margin-small-top uk-margin-small-left">{{" " + (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%' : '')}}</span>
|
2020-05-04 16:11:50 +02:00
|
|
|
</span>
|
|
|
|
|
2021-02-10 10:05:37 +01:00
|
|
|
<div class="uk-text-muted uk-margin">Influence: Citation-based measure reflecting the total impact.</div>
|
|
|
|
<div>
|
|
|
|
<a title="Link to Bip!Finder" class=" uk-float-right" target="_blank" href=
|
|
|
|
"https://bip.imis.athena-innovation.gr/site/details?id={{result.DOI}}">View more details</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-01-13 19:30:25 +01:00
|
|
|
</ng-container>
|
2021-02-26 15:30:10 +01:00
|
|
|
<!-- && loggedIn -->
|
2022-03-15 12:13:28 +01:00
|
|
|
<!-- TODO: change colors/opacity and disabled attr for ORCID buttons -->
|
2021-04-21 13:09:40 +02:00
|
|
|
<span *ngIf="(properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community')
|
|
|
|
&& showOrcid && result.identifiers && result.identifiers.size > 0"
|
|
|
|
class="uk-width-1-3 uk-width-expand@s">
|
2021-02-10 10:05:37 +01:00
|
|
|
<!-- class="uk-flex uk-flex-middle uk-flex-right uk-width-expand">-->
|
[Trunk | Library]:
1. resultLanding.component.html & result-preview.component.html: Show orcid buttons in all environments (production too) | in <orcid-work> added "resultTitle" property.
2. myOrcidLinks.component.ts: Added "getPersonalDetails()" method and link to advanced research outcomes page, filtered by user's name (if personal details from ORCID fails, use name from AAI - getUserInfo).
3. searchMyOrcidResults.module.ts: Removed PagingModule and added NoLoadPaging.
4. searchMyOrcidResults.component.ts: Added method "totalPages()" to calculate pages in paging.
5. searchMyOrcidResults.component.html:
a. Added <no-load-paging> (instead of custom paging with <paging-no-load>).
b. In <orcid-work> added "resultTitle" property.
c. Fix widths of grid inside card for result preview and orcid buttons.
6. orcid-work.component.ts:
a. Added "resultTitle" @Input property, to show it in notifications, instead of pids.
b. Updated messages for errors and for multiple put-codes.
c. Use "danger" notifications instead of "warning" when an error occurs.
d. For search and my orcid links pages, in orcid buttons, use <icon> for icons | For landing page, updated icons in orcid buttons.
e. Added message "The action will affect your real ORCID iD." in tooltips, when environment == 'beta'.
f. Removed property "procedurePaused" and its usage replaced by "currentAction".
g. [Bug fix] For search pages, added "uk-align-right", in order orcid button not to take width for the whole line.
h. [Bug fix] In method "getOrcidWorks()" check "Session.isLoggedIn()" was missing.
7. orcid.component.ts: If personal details from ORCID fails, use name from AAI - getUserInfo.
8. orcid.module.ts: Added IconsModule and registered icons: add, remove, preview, refresh in IconsService.
9. searchResult.component.ts: Call "orcidService.getPutCodes()" in all environments (production too).
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60619 d315682c-612b-4755-9ff5-7f18f6832af3
2021-03-11 02:40:53 +01:00
|
|
|
<orcid-work *ngIf="showOrcid && result.identifiers && result.identifiers.size > 0"
|
|
|
|
[resultId]="result.relcanId" [resultTitle]="result.title"
|
2021-02-26 15:30:10 +01:00
|
|
|
[type]="result.resultType" [pageType]="'search'"
|
|
|
|
[putCodes]="result.orcidPutCodes" [givenPutCode]="true" [identifiers]="result.identifiers">
|
2021-01-13 19:30:25 +01:00
|
|
|
</orcid-work>
|
|
|
|
</span>
|
2021-04-16 10:31:05 +02:00
|
|
|
<span *ngIf="(properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community') && result.orcidCreationDates?.length > 0"
|
2021-02-26 15:30:10 +01:00
|
|
|
class="uk-width-expand uk-text-right">
|
2021-02-10 10:05:37 +01:00
|
|
|
<span *ngIf="result.orcidCreationDates?.length > 0" class="uk-display-inline-block">
|
|
|
|
<span class="uk-text-muted">Added in ORCID:</span>
|
|
|
|
<span *ngFor="let date of result.orcidCreationDates; let i=index">
|
|
|
|
{{date | date: 'dd MMM yyyy'}}
|
|
|
|
<span *ngIf="i < (result.orcidCreationDates.length - 1)">& </span>
|
|
|
|
</span>
|
|
|
|
</span>
|
2021-04-16 10:31:05 +02:00
|
|
|
<!-- <span *ngIf="result.orcidCreationDates?.length > 0 && result.orcidUpdateDates?.length > 0">-->
|
|
|
|
<!-- {{' . '}}-->
|
|
|
|
<!-- </span>-->
|
|
|
|
<!-- <span *ngIf="result.orcidUpdateDates?.length > 0" class="uk-display-inline-block">-->
|
|
|
|
<!-- <span class="uk-text-muted">Last update in ORCID:</span>-->
|
|
|
|
<!-- <span *ngFor="let date of result.orcidUpdateDates; let i=index">-->
|
|
|
|
<!-- {{date | date: 'dd MMM yyyy'}}-->
|
|
|
|
<!-- <span *ngIf="i < (result.orcidUpdateDates.length - 1)">& </span>-->
|
|
|
|
<!-- </span>-->
|
|
|
|
<!-- </span>-->
|
2021-02-10 10:05:37 +01:00
|
|
|
</span>
|
|
|
|
</span>
|
2021-02-26 15:30:10 +01:00
|
|
|
</div>
|
2020-04-06 16:49:38 +02:00
|
|
|
</div>
|