706 lines
42 KiB
HTML
706 lines
42 KiB
HTML
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
|
|
<div *ngIf="!showFeedback" uk-grid>
|
|
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
|
|
<div class="uk-container uk-container-large publication">
|
|
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
|
|
role="alert">{{warningMessage}}</div>
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
|
role="alert">{{errorMessage}}</div>
|
|
<div [style.display]="showLoading ? 'inline' : 'none'"
|
|
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span
|
|
class="loading-gif uk-align-center"></span></div>
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
[texts]="pageContents['top']"></helper>
|
|
<div *ngIf="resultLandingInfo != null" class="uk-grid">
|
|
<div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
|
|
<!-- schema.org-->
|
|
<schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record
|
|
[URL]="properties.baseLink+linkToLandingPage+id"></schema2jsonld>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
|
[subTitle]="resultLandingInfo.subtitle"
|
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div *ngIf="resultLandingInfo.deletedByInferenceIds"
|
|
class="uk-text-muted uk-text-small uk-text-right">
|
|
<a (click)="openDeletedByInference()">View all {{resultLandingInfo.deletedByInferenceIds.length}}
|
|
versions</a>
|
|
</div>
|
|
<div class="uk-margin-small-bottom uk-margin-small-top">
|
|
<showAuthors [authors]="resultLandingInfo.authors" [small]="false"></showAuthors>
|
|
</div>
|
|
<!-- Labels -->
|
|
<div class="uk-margin-bottom">
|
|
<span *ngIf="properties.environment !== 'production' && resultLandingInfo.accessMode"
|
|
[class]="'uk-label custom-label label-'+ accessClass(resultLandingInfo.accessMode)"
|
|
title="Access Mode">{{resultLandingInfo.accessMode}}
|
|
</span>{{" "}}
|
|
<span *ngIf="properties.environment === 'production' && resultLandingInfo.accessMode
|
|
&& resultLandingInfo.accessMode.toLowerCase() !== 'not available'"
|
|
[class]="'uk-label custom-label label-'+ accessClass(resultLandingInfo.accessMode)"
|
|
title="Access Mode">{{resultLandingInfo.accessMode}}
|
|
</span>{{" "}}
|
|
<span
|
|
*ngIf="properties.environment !== 'production' && resultLandingInfo.languages && resultLandingInfo.languages.length > 0">
|
|
<ng-container *ngFor="let language of resultLandingInfo.languages">
|
|
<span class="uk-label custom-label label-language" title="Language">{{language}}</span>
|
|
{{' '}}
|
|
</ng-container>
|
|
</span>
|
|
<span *ngIf="properties.environment === 'production' && resultLandingInfo.languages &&
|
|
removeUnknown(resultLandingInfo.languages).length > 0">
|
|
<ng-container *ngFor="let language of removeUnknown(resultLandingInfo.languages)">
|
|
<span class="uk-label custom-label label-language" title="Language">{{language}}</span>
|
|
{{' '}}
|
|
</ng-container>
|
|
</span>
|
|
<span *ngIf="resultLandingInfo.programmingLanguages && resultLandingInfo.programmingLanguages.length > 0">
|
|
<ng-container *ngFor="let programmingLanguage of resultLandingInfo.programmingLanguages">
|
|
<span class="uk-label custom-label label-language"
|
|
title="Programming Language">{{programmingLanguage}}</span>
|
|
{{' '}}
|
|
</ng-container>
|
|
</span>
|
|
</div>
|
|
<ul class="uk-list">
|
|
<!--Published Date, Journal and Publisher-->
|
|
<showPublisher [publisher]="resultLandingInfo.publisher"
|
|
[publishDate]="resultLandingInfo.dateofacceptance"
|
|
[journal]="resultLandingInfo.journal" [properties]="properties"></showPublisher>
|
|
<!-- Countries -->
|
|
<li *ngIf="resultLandingInfo.countries && resultLandingInfo.countries.length > 0">
|
|
<span class="uk-text-muted">
|
|
{{(resultLandingInfo.countries.length === 1) ? 'Country: ' : 'Countries: '}}
|
|
</span>
|
|
{{resultLandingInfo.countries.join(", ")}}
|
|
</li>
|
|
<!-- Funded By -->
|
|
<li *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0">
|
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects"></fundedBy>
|
|
</li>
|
|
<!-- Identifiers -->
|
|
<li *ngIf="resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0">
|
|
<showIdentifiers [identifiers]="resultLandingInfo.identifiers"
|
|
[properties]="properties"></showIdentifiers>
|
|
</li>
|
|
</ul>
|
|
<!-- Description -->
|
|
<div *ngIf="resultLandingInfo.description" class="uk-margin-bottom">
|
|
<div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
|
|
<span class="uk-text-muted">Abstract: </span>
|
|
<span>{{resultLandingInfo.description.substring(0, showNumDescription)}}</span>
|
|
<span *ngIf="showNumDescription == thresholdDescription &&
|
|
resultLandingInfo.description.length > thresholdDescription">...</span>
|
|
</div>
|
|
<div *ngIf="showNumDescription == thresholdDescription &&
|
|
resultLandingInfo.description.length > thresholdDescription" class="uk-text-right">
|
|
<a (click)="showNumDescription = resultLandingInfo.description.length;">
|
|
View more
|
|
</a>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.description && showNumDescription > thresholdDescription"
|
|
class="uk-text-right">
|
|
<a (click)="showNumDescription = thresholdDescription;">
|
|
View less
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<!-- Communities -->
|
|
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length >0 ">
|
|
<relatedTo [contexts]="resultLandingInfo.contexts"></relatedTo>
|
|
</div>
|
|
<!-- Subjects -->
|
|
<div *ngIf="resultLandingInfo.subjects || resultLandingInfo.otherSubjects ||
|
|
resultLandingInfo.classifiedSubjects" class="uk-margin-bottom">
|
|
<showSubjects [subjects]="resultLandingInfo.subjects"
|
|
[otherSubjects]="resultLandingInfo.otherSubjects"
|
|
[classifiedSubjects]="resultLandingInfo.classifiedSubjects">
|
|
</showSubjects>
|
|
</div>
|
|
<div class="uk-margin-medium-top">
|
|
<div *ngIf="resultLandingInfo.references || resultLandingInfo.bioentities"
|
|
class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
|
|
<div *ngIf="resultLandingInfo.references" (click)="openReferences()" class="clickable uk-margin-right">
|
|
<span class="uk-text-bold">{{resultLandingInfo.references.length | number}}</span> References
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.bioentities" (click)="openBioentities()" class="clickable">
|
|
<span class="uk-text-bold">{{bioentitiesNum | number}}</span> Bioentities
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.relatedResearchResults || resultLandingInfo.similarResearchResults ||
|
|
resultLandingInfo.supplementaryResearchResults || resultLandingInfo.supplementedByResearchResults ||
|
|
resultLandingInfo.organizations"
|
|
class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
|
|
uk-height-match="target: .target; row: false"
|
|
uk-grid>
|
|
<div *ngIf="resultLandingInfo.relatedResearchResults">
|
|
<div class="clickable" (click)="openRelationResults('Related research results of',
|
|
resultLandingInfo.relatedResearchResults)">
|
|
<div class="header target uk-text-bold">Related Research Results</div>
|
|
<div class="footer target uk-position-relative">
|
|
<span
|
|
class="uk-text-bold uk-position-center">{{resultLandingInfo.relatedResearchResults.length | number}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.similarResearchResults">
|
|
<div class="clickable" (click)="openRelationResults('Similar research results of',
|
|
resultLandingInfo.similarResearchResults, 'similarity')">
|
|
<div class="header target uk-text-bold">Similar Research Results</div>
|
|
<div class="footer target uk-position-relative">
|
|
<span
|
|
class="uk-text-bold uk-position-center">{{resultLandingInfo.similarResearchResults.length | number}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.supplementaryResearchResults">
|
|
<div class="clickable" (click)="openRelationResults('Supplementary research results of',
|
|
resultLandingInfo.supplementaryResearchResults)">
|
|
<div class="header target uk-text-bold">Supplementary Research Results</div>
|
|
<div class="footer target uk-position-relative">
|
|
<span
|
|
class="uk-text-bold uk-position-center">{{resultLandingInfo.supplementaryResearchResults.length | number}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.supplementedByResearchResults">
|
|
<div class="clickable" (click)="openRelationResults('Research results supplemented by',
|
|
resultLandingInfo.supplementedByResearchResults)">
|
|
<div class="header target uk-text-bold">Research Results supplemented by
|
|
this {{getTypeName()}}</div>
|
|
<div class="footer target uk-position-relative">
|
|
<span
|
|
class="uk-text-bold uk-position-center">{{resultLandingInfo.supplementedByResearchResults.length | number}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.organizations">
|
|
<div class="clickable" (click)="openOrganizations()">
|
|
<div class="header target uk-text-bold">Related Organizations</div>
|
|
<div class="footer target uk-position-relative">
|
|
<span
|
|
class="uk-text-bold uk-position-center">{{resultLandingInfo.organizations.length | number}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin-small-top uk-flex uk-flex-bottom">
|
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
|
<span
|
|
class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
|
|
</div>
|
|
<div *ngIf=" properties.environment === 'development' && resultLandingInfo" class="uk-margin-medium-top">
|
|
<b2note [id]="id" [properties]="properties"
|
|
[landingInfo]="resultLandingInfo"></b2note>
|
|
</div>
|
|
<!--<ul #accordions class="custom-accordion" uk-accordion>
|
|
<li *ngIf="resultLandingInfo.references" (click)="activeTab='References'">
|
|
<a class="uk-accordion-title" href="#">
|
|
References
|
|
({{resultLandingInfo.references.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngIf="resultLandingInfo.references.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-h6">{{resultLandingInfo.references.length | number}}
|
|
references, page {{referencesPage | number}}
|
|
of {{totalPages(resultLandingInfo.references.length) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="referencesPage"
|
|
[totalResults]="resultLandingInfo.references.length" [size]="pageSize"
|
|
(pageChange)="updateReferencesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<div
|
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
|
<p *ngIf=" item && item['url']"
|
|
class="custom-external custom-icon">
|
|
<a href="{{item['url']}}" target="_blank">
|
|
{{item['name']}}
|
|
</a>
|
|
</p>
|
|
<p *ngIf="!item['url']" class="pseudo-external custom-icon">
|
|
{{item['name']}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li *ngIf="resultLandingInfo.similarResearchResults" (click)="activeTab='Similar Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Similar Research Results
|
|
({{resultLandingInfo.similarResearchResults.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<tabTable percentageName="similarity" [info]="resultLandingInfo.similarResearchResults"
|
|
[properties]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="resultLandingInfo.supplementaryResearchResults"
|
|
(click)="activeTab='Supplementary Research Results'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Supplementary Research Results
|
|
({{resultLandingInfo.supplementaryResearchResults.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<tabTable percentageName="trust" [info]="resultLandingInfo.supplementaryResearchResults"
|
|
[properties]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="resultLandingInfo.supplementedByResearchResults"
|
|
(click)="activeTab='Research Results supplemented by this product'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Research Results supplemented by this
|
|
<span *ngIf="type == 'publication' || type == 'software'">{{type}}</span>
|
|
<span *ngIf="type == 'dataset'">research data</span>
|
|
<span *ngIf="type == 'orp'">research product</span>
|
|
({{resultLandingInfo.supplementedByResearchResults.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<tabTable percentageName="trust" [info]="resultLandingInfo.supplementedByResearchResults"
|
|
[properties]=properties></tabTable>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="resultLandingInfo.organizations" (click)="activeTab='Related Organizations'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Related Organizations
|
|
({{resultLandingInfo.organizations.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div>
|
|
<div *ngIf="resultLandingInfo.organizations.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-text-bold">{{resultLandingInfo.organizations.length | number}}
|
|
organizations, page {{organizationsPage | number}}
|
|
of {{totalPages(resultLandingInfo.organizations.length) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="organizationsPage"
|
|
[totalResults]="resultLandingInfo.organizations.length" [size]="pageSize"
|
|
(pageChange)="updateOrganizationsPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<table class="uk-table uk-table-small uk-table-divider uk-table-middle ">
|
|
<tbody>
|
|
<tr
|
|
*ngFor="let organization of resultLandingInfo.organizations.slice((organizationsPage-1)*pageSize, organizationsPage*pageSize)">
|
|
<td>
|
|
<a *ngIf="(organization['id']) && ((organization['name']) || (organization['shortname']))"
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
routerLink="/search/organization">
|
|
{{organization['name']}}
|
|
<span *ngIf="organization.name && organization.shortname"> ( </span>
|
|
<span *ngIf="organization.shortname">{{organization.shortname}}</span>
|
|
<span *ngIf="organization.name && organization.shortname"> ) </span>
|
|
</a>
|
|
<p *ngIf="(!organization['id']) && ((organization['name']) || (organization['shortname']))">
|
|
{{organization['name']}}
|
|
<span *ngIf="organization.name && organization.shortname"> ( </span>
|
|
<span *ngIf="organization.shortname">{{organization.shortname}}</span>
|
|
<span *ngIf="organization.name && organization.shortname"> ) </span>
|
|
</p>
|
|
<div *ngIf="organization.country">{{organization.country}}</div>
|
|
<div *ngIf="organization.websiteUrl">Website url:
|
|
<a href="{{organization.websiteUrl}}" target="_blank">{{organization.websiteUrl}}</a>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div *ngIf="organization['trust']" title="{{organization['trust']}}%">
|
|
<div class="uk-text-center">{{organization['trust']}}%</div>
|
|
<progress class="uk-progress uk-margin-remove" value="{{organization['trust']}}"
|
|
max="100"></progress>
|
|
</div>
|
|
<div *ngIf="!organization['trust']">
|
|
<p>no trust available</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
<li *ngIf="resultLandingInfo.bioentities" (click)="activeTab='Bioentities'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Bioentities
|
|
({{bioentitiesNum | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div *ngIf="resultLandingInfo.bioentities && bioentitiesNum > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-text-bold"> {{bioentitiesNum | number}}
|
|
bioentities, page {{bioentitiesPage | number}} of {{totalPages(bioentitiesNum) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="bioentitiesPage"
|
|
[totalResults]="bioentitiesNum" [size]="pageSize"
|
|
(pageChange)="updateBioentitiesPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<table id="bioentitiesTable" class="uk-table ">
|
|
<tbody>
|
|
<ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
|
|
<tr
|
|
*ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*pageSize, bioentitiesPage*pageSize)">
|
|
<td class="uk-text-center" *ngIf="keyIn">
|
|
<span class="custom-external custom-icon">
|
|
<a href="{{resultLandingInfo.bioentities.get(key).get(keyIn)}}"
|
|
target="_blank">
|
|
{{keyIn}}
|
|
</a>
|
|
</span>
|
|
</td>
|
|
<td class="uk-text-center">
|
|
{{key}}
|
|
</td>
|
|
</tr>
|
|
</ng-container>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li>
|
|
|
|
<li (click)="activeTab='Other Citations'"
|
|
*ngIf="resultLandingInfo.openCitations && resultLandingInfo.openCitations.length > 0">
|
|
<a class="uk-accordion-title" href="#">
|
|
Open Citations
|
|
({{resultLandingInfo.openCitations.length | number}})
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<div *ngIf="resultLandingInfo.openCitations.length > pageSize" class="uk-margin-bottom">
|
|
<span class="uk-h6">{{resultLandingInfo.openCitations.length | number}}
|
|
open citations, page {{openCitationsPage | number}}
|
|
of {{totalPages(resultLandingInfo.openCitations.length) | number}}</span>
|
|
<paging-no-load class="uk-float-right" [currentPage]="openCitationsPage"
|
|
[totalResults]="resultLandingInfo.openCitations.length" [size]="pageSize"
|
|
(pageChange)="updateOpenCitationsPage($event)"></paging-no-load>
|
|
</div>
|
|
|
|
<ul class="uk-list uk-list-divider uk-margin">
|
|
<li
|
|
*ngFor="let result of resultLandingInfo.openCitations.slice((openCitationsPage-1)*pageSize, openCitationsPage*pageSize)">
|
|
<h5 *ngIf="result.title">
|
|
<span *ngIf="result.url"
|
|
class="custom-external">
|
|
|
|
<a *ngIf="result.title" href="{{result.url}}" target="_blank"
|
|
[innerHTML]="result.title">
|
|
</a>
|
|
<a *ngIf="!result.title" href="{{result.url}}" target="_blank">
|
|
[no title available]
|
|
</a>
|
|
</span>
|
|
<span *ngIf="result.title && !result.url" [innerHTML]="result.title"></span>
|
|
<span *ngIf="!result.title && !result.url">
|
|
[no title available]
|
|
</span>
|
|
</h5>
|
|
|
|
<div>
|
|
<span *ngIf="result['authors']">
|
|
<span *ngFor="let author of result['authors'].slice(0,15)">
|
|
{{author}};
|
|
</span>
|
|
<span *ngIf="result['authors'].length > 15">...</span>
|
|
</span>
|
|
<span *ngIf="result.year">
|
|
({{result.year}})
|
|
</span>
|
|
</div>
|
|
<span *ngIf="result.doi">Identifier: <a *ngIf="result.doi" target="_blank"
|
|
class="custom-external custom-icon"
|
|
href="{{doiURL}}{{result.doi}}">doi: {{result.doi}}</a></span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</li>
|
|
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'">
|
|
<a class="uk-accordion-title" href="#">
|
|
Metrics
|
|
</a>
|
|
<div class="uk-accordion-content">
|
|
<metrics *ngIf="metricsClicked" [pageViews]="pageViews"
|
|
[id]="id" [entityType]="'results'" [entity]="title"
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
|
</metrics>
|
|
<i-frame *ngIf="metricsClicked && totalViews>0"
|
|
[url]=viewsFrameUrl>
|
|
</i-frame>
|
|
<i-frame *ngIf="metricsClicked && totalDownloads>0"
|
|
[url]=downloadsFrameUrl>
|
|
</i-frame>
|
|
</div>
|
|
</li>
|
|
</ul>-->
|
|
</div>
|
|
<div class="uk-width-1-3@m uk-width-1-1@s">
|
|
<div class="uk-card uk-card-default uk-padding-small">
|
|
<div *ngIf="isRouteAvailable('participate/direct-claim')">
|
|
<div class="uk-margin-auto uk-width-3-4">
|
|
<button class="uk-button uk-width-1-1 portal-button">
|
|
<span uk-icon="link"></span>
|
|
Link this <span *ngIf="type != 'orp'">{{title.toLowerCase()}}</span><span
|
|
*ngIf="type == 'orp'">product</span> to...
|
|
</button>
|
|
</div>
|
|
<div class="uk-text-center uk-margin-expand uk-padding-small uk-margin-auto default-dropdown "
|
|
uk-dropdown="mode:click">
|
|
<div class="uk-grid uk-child-width-1-3 uk-width-large ">
|
|
<div>
|
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><rect height="1" width="10" x="5" y="2"></rect><rect
|
|
height="1" width="14" x="3" y="4"></rect><rect fill="none" height="11" stroke="#000"
|
|
width="17" x="1.5"
|
|
y="6.5"></rect></svg>
|
|
</span>
|
|
</button>
|
|
<div>Projects</div>
|
|
</a></div>
|
|
<div><a
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'result'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
|
|
width="12" x="3.5" y="2.5"></rect><polyline
|
|
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>
|
|
</button>
|
|
<div>Research results</div>
|
|
</a></div>
|
|
<div><a
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'context'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<button class="uk-icon-button portal-button">
|
|
<span class="uk-icon">
|
|
<svg height="20" icon="users" ratio="1" viewBox="0 0 20 20" width="20"
|
|
xmlns="http://www.w3.org/2000/svg"><circle cx="7.7" cy="8.6" fill="none" r="3.5"
|
|
stroke="#000" stroke-width="1.1"></circle><path
|
|
d="M1,18.1 C1.7,14.6 4.4,12.1 7.6,12.1 C10.9,12.1 13.7,14.8 14.3,18.3" fill="none"
|
|
stroke="#000" stroke-width="1.1"></path><path
|
|
d="M11.4,4 C12.8,2.4 15.4,2.8 16.3,4.7 C17.2,6.6 15.7,8.9 13.6,8.9 C16.5,8.9 18.8,11.3 19.2,14.1"
|
|
fill="none" stroke="#000" stroke-width="1.1"></path></svg></span>
|
|
</button>
|
|
<div>Communities</div>
|
|
</a></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Share -->
|
|
<div *ngIf="properties.showAddThis" [class.uk-hidden]="!addThis" class="uk-margin-top">
|
|
<div class="sideInfoTitle uk-margin-small-bottom">Share - Bookmark</div>
|
|
<addThis (event)="hideAddThis($event)"></addThis>
|
|
</div>
|
|
<!-- Download From -->
|
|
<div
|
|
*ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
|
|
class="uk-margin-top">
|
|
<availableOn [properties]="properties"
|
|
[availableOn]="resultLandingInfo.hostedBy_collectedFrom"></availableOn>
|
|
</div>
|
|
<!-- Metrics -->
|
|
<div *ngIf="hasAltMetrics" class="uk-margin-top">
|
|
<div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>
|
|
<div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">
|
|
<div></div><!-- Open Citations-->
|
|
<div>
|
|
<altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">
|
|
</altmetrics>
|
|
</div>
|
|
<div></div><!-- OpenAIRE Metrics -->
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin-top">
|
|
<div class="sideInfoTitle uk-margin-small-bottom">
|
|
Cite this {{getTypeName()}}
|
|
</div>
|
|
<citeThis [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
|
|
Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
[texts]="pageContents['bottom']"></helper>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<feedback *ngIf="resultLandingInfo" [resultLandingInfo]="resultLandingInfo"
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
|
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
|
|
<!-- Other versions -->
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
|
|
#AlertModalDeletedByInference classBody="uk-width-xxlarge uk-padding-remove-right">
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"
|
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
|
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="type" [type]="'publications'"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="'dataset'" [type]="'research data'"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="type" [type]="'software'"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="'other'" [type]="'other research products'"></deletedByInference>
|
|
</div>
|
|
</modal-alert>
|
|
<!-- References -->
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.references"
|
|
classBody="uk-width-xxlarge uk-padding-remove-right" #referencesModal>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
|
[modal]="referencesModal"
|
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
|
(pageChange)="updateReferencesPage($event)"
|
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
|
[totalResults]="resultLandingInfo.references.length">
|
|
</no-load-paging>
|
|
<div
|
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*1.5*pageSize, referencesPage*1.5*pageSize)">
|
|
<p *ngIf="item">
|
|
{{item.name}}
|
|
<ng-container *ngIf="item.ids && item.ids.length > 0">
|
|
<span *ngFor="let id of item.ids">
|
|
[<a *ngIf="id.type !== 'openaire'" href="{{getReferenceUrl(id)}}"
|
|
target="_blank">{{getReferenceIdName(id)}}</a>
|
|
<a *ngIf="id.type === 'openaire'" [routerLink]="'/search/result'" [queryParams]="{id: id.value}"
|
|
target="_blank">OpenAIRE</a>]
|
|
</span>
|
|
</ng-container>
|
|
</p>
|
|
</div>
|
|
<no-load-paging *ngIf="resultLandingInfo.references.length > 1.5*pageSize" [type]="'references'"
|
|
(pageChange)="updateReferencesPage($event)"
|
|
[page]="referencesPage" [pageSize]="1.5*pageSize"
|
|
[totalResults]="resultLandingInfo.references.length">
|
|
</no-load-paging>
|
|
</div>
|
|
</modal-alert>
|
|
<!-- Bioentities -->
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.bioentities"
|
|
classBody="uk-width-xxlarge uk-padding-remove-right" #bioentitiesModal>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="bioentitiesModal"
|
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
|
(pageChange)="updateBioentitiesPage($event)"
|
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
|
[totalResults]="bioentitiesNum">
|
|
</no-load-paging>
|
|
<div class="uk-child-width-1-4@s uk-child-width-1-2 bioentities-buttons" uk-grid>
|
|
<ng-container *ngFor="let key of getKeys(resultLandingInfo.bioentities) let i=index">
|
|
<ng-container
|
|
*ngFor="let keyIn of keysToArray(resultLandingInfo.bioentities.get(key)).slice((bioentitiesPage-1)*2*pageSize, bioentitiesPage*2*pageSize)">
|
|
<div>
|
|
<div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)">
|
|
{{keyIn}}
|
|
</div>
|
|
<a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
|
|
[title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)">
|
|
{{keyIn}}
|
|
<span class="custom-external custom-icon space"></span>
|
|
</a>
|
|
</div>
|
|
</ng-container>
|
|
</ng-container>
|
|
</div>
|
|
<no-load-paging *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
|
(pageChange)="updateBioentitiesPage($event)"
|
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
|
[totalResults]="bioentitiesNum">
|
|
</no-load-paging>
|
|
</div>
|
|
</modal-alert>
|
|
<!-- Relation Results-->
|
|
<modal-alert *ngIf="resultLandingInfo" classBody="uk-width-xxlarge uk-padding-remove-right" #relationModal>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="relationModal"
|
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div *ngIf="relationResults" class="uk-margin-medium-top uk-margin-medium-right">
|
|
<no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
|
|
(pageChange)="updateRelationPage($event)"
|
|
[page]="relationPage" [pageSize]="pageSize"
|
|
[totalResults]="relationResults.length">
|
|
</no-load-paging>
|
|
<ul class="uk-list uk-list-divider uk-margin">
|
|
<li *ngFor="let item of relationResults.slice((relationPage-1)*pageSize, relationPage*pageSize)">
|
|
<result-preview [modal]="relationModal" [properties]="properties"
|
|
[result]="getResultPreview(item)"></result-preview>
|
|
</li>
|
|
</ul>
|
|
<no-load-paging *ngIf="relationResults.length > pageSize" [type]="'research results'"
|
|
(pageChange)="updateRelationPage($event)"
|
|
[page]="relationPage" [pageSize]="pageSize"
|
|
[totalResults]="relationResults.length">
|
|
</no-load-paging>
|
|
</div>
|
|
</modal-alert>
|
|
<!-- Related Organizations-->
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.organizations"
|
|
classBody="uk-width-xxlarge uk-padding-remove-right" #organizationModal>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="organizationModal"
|
|
[subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"
|
|
[entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
</landing-header>
|
|
<div class="uk-margin-medium-top uk-margin-medium-right">
|
|
<no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
|
|
(pageChange)="updateOrganizationsPage($event)"
|
|
[page]="relationPage" [pageSize]="pageSize"
|
|
[totalResults]="resultLandingInfo.organizations.length">
|
|
</no-load-paging>
|
|
<ul class="uk-list uk-list-divider uk-margin">
|
|
<li *ngFor="let item of resultLandingInfo.organizations.slice((relationPage-1)*pageSize, relationPage*pageSize)">
|
|
<result-preview [modal]="organizationModal" [properties]="properties"
|
|
[result]="getResultPreviewFromOrg(item)"></result-preview>
|
|
</li>
|
|
</ul>
|
|
<no-load-paging *ngIf="resultLandingInfo.organizations.length > pageSize" [type]="'organizations'"
|
|
(pageChange)="updateOrganizationsPage($event)"
|
|
[page]="relationPage" [pageSize]="pageSize"
|
|
[totalResults]="resultLandingInfo.organizations.length">
|
|
</no-load-paging>
|
|
</div>
|
|
</modal-alert>
|
|
</div>
|
|
|
|
|