2022-04-20 16:40:18 +02:00
|
|
|
<div id="tm-main" class="landing uk-section uk-padding-remove tm-middle">
|
2022-04-04 11:14:54 +02:00
|
|
|
<div class="tm-main">
|
2022-04-20 16:40:18 +02:00
|
|
|
<div *ngIf="errorMessage.length > 0 || showLoading" class="landing-background-default-color">
|
|
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
|
|
|
role="alert">{{errorMessage}}</div>
|
|
|
|
<div *ngIf="showLoading" class="uk-position-center">
|
|
|
|
<loading></loading>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-04-04 11:14:54 +02:00
|
|
|
<div *ngIf="resultLandingInfo" class="publication">
|
|
|
|
<div *ngIf="!showFeedback" class="uk-grid">
|
|
|
|
|
|
|
|
<!-- left box - actions -->
|
2022-04-20 16:40:18 +02:00
|
|
|
<div class="landing-left-sidebar-width landing-left-sidebar-border landing-background-light-color">
|
|
|
|
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center landing-sidebar-height uk-sticky"
|
2022-04-04 11:14:54 +02:00
|
|
|
uk-sticky="bottom: true" [attr.offset]="offset">
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- [class.uk-hidden]="!hasAltMetrics && !metricsCalculated"-->
|
|
|
|
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
|
2022-04-04 11:14:54 +02:00
|
|
|
<ng-container *ngIf="resultLandingInfo && (hasAltMetrics || hasMetrics)">
|
|
|
|
<metrics *ngIf="hasMetrics" class="uk-margin-bottom"
|
|
|
|
[pageViews]="pageViews"
|
|
|
|
[id]="id" [entityType]="'results'" [entity]="title"
|
|
|
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
|
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
|
|
|
</metrics>
|
|
|
|
<altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers?.get('doi')[0]}}" type="doi"></altmetrics>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
2022-04-12 14:15:04 +02:00
|
|
|
<div class="uk-margin-large-bottom uk-align-center">
|
|
|
|
<div class="uk-text-meta">Actions</div>
|
|
|
|
<ul class="uk-list">
|
|
|
|
<!-- Share -->
|
2022-04-20 16:40:18 +02:00
|
|
|
<li class="uk-text-center">
|
|
|
|
<a (click)="openAddThisModal()"
|
|
|
|
[title]="'Share this '+getTypeName() + ' in your social networks'"
|
|
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
|
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
|
|
<icon name="share" visuallyHidden="share"></icon>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2022-04-12 14:15:04 +02:00
|
|
|
<!-- Link to -->
|
|
|
|
<li *ngIf="isRouteAvailable('participate/direct-claim')" class="uk-text-center"
|
|
|
|
[title]="'Link this '+getTypeName()+' to...'"
|
2022-04-16 09:47:30 +02:00
|
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
2022-04-12 14:20:43 +02:00
|
|
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
2022-04-12 14:15:04 +02:00
|
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
2022-04-20 16:40:18 +02:00
|
|
|
<icon name="link" visuallyHidden="link"></icon>
|
2022-04-12 14:15:04 +02:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<!-- Cite this -->
|
|
|
|
<li class="uk-text-center">
|
|
|
|
<a (click)="openCiteModal()"
|
|
|
|
[title]="'Cite this '+getTypeName()"
|
2022-04-16 09:47:30 +02:00
|
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
2022-04-12 14:15:04 +02:00
|
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
2022-04-20 16:40:18 +02:00
|
|
|
<icon name="quotes" visuallyHidden="cite"></icon>
|
2022-04-12 14:15:04 +02:00
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<!-- ORCID -->
|
|
|
|
<li *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community'"
|
|
|
|
class="uk-text-center">
|
|
|
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
|
|
|
|
[pids]="pidsArrayString" [pageType]="'landing'">
|
|
|
|
</orcid-work>
|
2022-04-16 09:47:30 +02:00
|
|
|
<!-- <li *ngIf="properties.b2noteAPIURL" class="uk-text-center" [attr.uk-tooltip]="'title: add annotation; pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-primary'">-->
|
|
|
|
<!-- <a *ngIf="isLoggedIn && pid" (click)="annotation.toggleAnnotation($event)">-->
|
|
|
|
<!-- <span class="uk-icon-button uk-icon landing-action-button landing-action-button-primary">-->
|
|
|
|
<!-- <img src="assets/common-assets/b2note.png" loading="lazy" alt="b2note" style="width:34px; height:21px">-->
|
|
|
|
<!-- </span>-->
|
|
|
|
<!-- </a>-->
|
|
|
|
<!-- <span *ngIf="!pid || !isLoggedIn" class="uk-text-muted half-opacity"-->
|
|
|
|
<!-- [title]="!pid?'Annotations are available only for resources with a PID (persistent identifier) like DOI, handle, PMID':-->
|
|
|
|
<!-- 'Annotations are available only for logged in users'"-->
|
|
|
|
<!-- [attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-primary'">-->
|
|
|
|
<!-- <span class="uk-icon-button uk-icon landing-action-button landing-action-button-primary uk-disabled">-->
|
|
|
|
<!-- <img src="assets/common-assets/b2note.png" loading="lazy" alt="b2note" style="width:34px;-->
|
|
|
|
<!-- height:21px">-->
|
|
|
|
<!-- </span>-->
|
|
|
|
<!-- </span>-->
|
|
|
|
<!-- </li>-->
|
2022-04-12 14:15:04 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2020-07-10 10:37:17 +02:00
|
|
|
</div>
|
2022-04-04 11:14:54 +02:00
|
|
|
|
|
|
|
<!-- center box-->
|
2022-04-20 16:40:18 +02:00
|
|
|
<div *ngIf="resultLandingInfo" class="uk-width-expand uk-padding-remove uk-margin-large-left uk-margin-large-right landing-background-default-color">
|
|
|
|
<ng-template #graph_and_feedback_template>
|
|
|
|
<div class="uk-flex uk-margin-small-top uk-margin-small-bottom">
|
|
|
|
<!-- Last Index Info-->
|
|
|
|
<div class="uk-width-2-3@m uk-width-1-2 graph">
|
|
|
|
<icon name="graph" customClass="uk-text-primary"></icon>
|
|
|
|
<span class="uk-margin-small-left uk-text-baseline uk-text-meta">
|
|
|
|
Powered by <a href="https://graph.openaire.eu" target="_blank" class="uk-text-primary">OpenAIRE Research Graph</a>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-meta">
|
|
|
|
. Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<!--Feedback-->
|
|
|
|
<div class="uk-width-expand uk-text-right">
|
|
|
|
<span class="uk-text-meta uk-text-xsmall">Anything wrong?</span>
|
|
|
|
<a (click)="showFeedback = true; scroll()" class="uk-text-xsmall"> Report an Issue</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<div #graph_and_feedback id="graph_and_feedback" class="uk-text-xsmall uk-visible@m" uk-sticky="bottom: true;" [attr.offset]="calcGraphOffset()">
|
|
|
|
<ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="uk-margin-medium-top">
|
2022-04-04 11:14:54 +02:00
|
|
|
<!-- schema.org-->
|
2019-09-05 10:49:33 +02:00
|
|
|
<schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record
|
2021-04-13 14:52:58 +02:00
|
|
|
[URL]="canonicalUrl"></schema2jsonld>
|
2022-04-20 16:40:18 +02:00
|
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
|
|
[texts]="pageContents['top']"></helper>
|
|
|
|
|
2022-04-12 14:15:04 +02:00
|
|
|
<span *ngIf="resultLandingInfo.deletedByInferenceIds" class="uk-text-primary uk-flex uk-flex-middle">
|
|
|
|
<icon flex="true" ratio="0.8" name="auto_awesome_motion"></icon>
|
|
|
|
<a (click)="openDeletedByInference()" class="uk-text-primary uk-text-small uk-margin-small-left">
|
|
|
|
View all {{resultLandingInfo.deletedByInferenceIds.length}} versions
|
|
|
|
</a>
|
|
|
|
</span>
|
2020-03-16 14:09:46 +01:00
|
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
2020-03-30 10:45:08 +02:00
|
|
|
[subTitle]="resultLandingInfo.subtitle"
|
2022-04-16 09:47:30 +02:00
|
|
|
[authors]="resultLandingInfo.authors"
|
2020-03-30 10:45:08 +02:00
|
|
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
2020-03-16 14:09:46 +01:00
|
|
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
|
|
|
[year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate">
|
|
|
|
</landing-header>
|
|
|
|
<!-- Labels -->
|
|
|
|
<div class="uk-margin-bottom">
|
2022-04-04 11:14:54 +02:00
|
|
|
<span *ngIf="resultLandingInfo.accessMode
|
|
|
|
&& resultLandingInfo.accessMode.toLowerCase() !== 'not available'"
|
2022-04-12 14:15:04 +02:00
|
|
|
[class]="'uk-label uk-text-truncate '+ (accessClass(resultLandingInfo.accessMode) == 'open' ? 'uk-label-success' : '')"
|
2022-04-04 11:14:54 +02:00
|
|
|
title="Access Mode">{{resultLandingInfo.accessMode}}
|
2022-04-12 14:15:04 +02:00
|
|
|
</span> 
|
2020-05-05 16:09:18 +02:00
|
|
|
<span *ngIf="resultLandingInfo.languages &&
|
2022-04-04 11:14:54 +02:00
|
|
|
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>
|
2022-04-12 14:15:04 +02:00
|
|
|
 
|
2022-04-04 11:14:54 +02:00
|
|
|
</ng-container>
|
|
|
|
</span>
|
2020-03-16 14:09:46 +01:00
|
|
|
<span *ngIf="resultLandingInfo.programmingLanguages && resultLandingInfo.programmingLanguages.length > 0">
|
2022-04-04 11:14:54 +02:00
|
|
|
<ng-container *ngFor="let programmingLanguage of resultLandingInfo.programmingLanguages">
|
|
|
|
<span class="uk-label custom-label label-language"
|
|
|
|
title="Programming Language">{{programmingLanguage}}</span>
|
2022-04-12 14:15:04 +02:00
|
|
|
 
|
2022-04-04 11:14:54 +02:00
|
|
|
</ng-container>
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-12 14:15:04 +02:00
|
|
|
<div class="uk-text-small">
|
|
|
|
<!-- Identifiers -->
|
|
|
|
<div *ngIf="resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0" class="uk-margin-small-top">
|
|
|
|
<showIdentifiers [identifiers]="resultLandingInfo.identifiers" [showViewAll]="true"></showIdentifiers>
|
|
|
|
</div>
|
2020-03-16 14:09:46 +01:00
|
|
|
<!--Published Date, Journal and Publisher-->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div showPublisher [publisher]="resultLandingInfo.publisher"
|
2020-03-16 14:09:46 +01:00
|
|
|
[publishDate]="resultLandingInfo.dateofacceptance"
|
2022-04-12 14:15:04 +02:00
|
|
|
[journal]="resultLandingInfo.journal" [properties]="properties" class="uk-margin-small-top"></div>
|
2020-03-16 14:09:46 +01:00
|
|
|
<!-- Countries -->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.countries && resultLandingInfo.countries.length > 0" class="uk-margin-small-top">
|
|
|
|
<span class="uk-text-meta">
|
2022-04-04 11:14:54 +02:00
|
|
|
{{(resultLandingInfo.countries.length === 1) ? 'Country: ' : 'Countries: '}}
|
|
|
|
</span>
|
2020-03-16 14:09:46 +01:00
|
|
|
{{resultLandingInfo.countries.join(", ")}}
|
2022-04-12 14:15:04 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<div id="main-tabs-div"
|
|
|
|
uk-sticky="bottom: true; media: @m" [attr.offset]="offset"
|
2022-04-12 17:14:29 +02:00
|
|
|
cls-active="active">
|
|
|
|
<div class="uk-padding uk-padding-remove-horizontal uk-padding-remove-bottom">
|
2022-04-20 16:40:18 +02:00
|
|
|
<showTitle *ngIf="stickyHeader" [titleName]="resultLandingInfo.title" classNames="uk-margin-remove-bottom" class="uk-visible@m"></showTitle>
|
|
|
|
<my-tabs (selectedActiveTab)="onSelectActiveTab($event)" [offsetForSticky]="offset" [(isSticky)]="stickyHeader">
|
2022-04-12 14:15:04 +02:00
|
|
|
<my-tab tabTitle="Summary" [tabId]="'summary'" [active]="true"></my-tab>
|
|
|
|
<my-tab *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0"
|
|
|
|
[tabTitle]="'References'" [tabId]="'references'"
|
|
|
|
[tabNumber]="resultLandingInfo.references.length">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="resultLandingInfo.relatedResults?.length > 0"
|
|
|
|
[tabTitle]="'Related research'" [tabId]="'all_related'"
|
|
|
|
[tabNumber]="resultLandingInfo.relatedResults.length">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0"
|
|
|
|
[tabTitle]="'External Databases'" [tabId]="'bioentities'" [tabNumber]="bioentitiesNum">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="enermapsId && properties.enermapsURL"
|
|
|
|
[tabTitle]="'Enermaps Tool'" [tabId]="'enermaps'"
|
|
|
|
customClass="portalTab">
|
|
|
|
</my-tab>
|
|
|
|
</my-tabs>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<div id="landing-sections" class="uk-text-small">
|
2022-04-12 14:15:04 +02:00
|
|
|
<ng-container>
|
|
|
|
<div id="summary" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div *ngIf="!hasPrimaryInfo" class="uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
2022-04-20 16:40:18 +02:00
|
|
|
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
2022-04-12 14:15:04 +02:00
|
|
|
No summary information available
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="hasPrimaryInfo">
|
|
|
|
<!-- Description -->
|
|
|
|
<div *ngIf="resultLandingInfo.description && resultLandingInfo.description.length > 0"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-justify ">
|
|
|
|
<div class="uk-text-meta">Abstract</div>
|
|
|
|
<div class=" uk-height-max-medium uk-overflow-auto">
|
|
|
|
<div *ngFor="let description of resultLandingInfo.description" class="uk-margin-small-bottom ">
|
|
|
|
{{description}}</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="resultLandingInfo.subjects || resultLandingInfo.otherSubjects ||
|
|
|
|
resultLandingInfo.classifiedSubjects" class="uk-margin-medium-bottom">
|
|
|
|
<showSubjects [subjects]="resultLandingInfo.subjects"
|
|
|
|
[otherSubjects]="resultLandingInfo.otherSubjects"
|
|
|
|
[classifiedSubjects]="resultLandingInfo.classifiedSubjects">
|
|
|
|
</showSubjects>
|
|
|
|
</div>
|
|
|
|
<!-- Related Organizations-->
|
|
|
|
<div *ngIf="resultLandingInfo.organizations && resultLandingInfo.organizations.length > 0"
|
|
|
|
class="uk-margin-medium-bottom uk-width-2-3@m">
|
2022-04-20 16:40:18 +02:00
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Related {{openaireEntities.ORGANIZATIONS}}</div>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? resultLandingInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
|
|
<div *ngIf="resultLandingInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
|
|
|
|
class="uk-text-center">
|
|
|
|
<a (click)="viewAllOrganizationsClick();">
|
2022-04-12 14:15:04 +02:00
|
|
|
View more
|
|
|
|
</a>
|
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<div *ngIf="viewAllOrganizations && lessBtnOrganizations" class="uk-text-center">
|
|
|
|
<a (click)="viewAllOrganizations = !viewAllOrganizations; lessBtnOrganizations=false;">View less</a>
|
2022-04-12 14:15:04 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0">
|
|
|
|
<div id="references" class="landing-section uk-padding uk-padding-remove-horizontal">
|
2022-04-20 16:40:18 +02:00
|
|
|
<results-and-pages *ngIf="resultLandingInfo.references.length > pageSize" [type]="'references'"
|
|
|
|
[page]="referencesPage" [pageSize]="pageSize"
|
2022-04-12 14:15:04 +02:00
|
|
|
[totalResults]="resultLandingInfo.references.length">
|
2022-04-20 16:40:18 +02:00
|
|
|
</results-and-pages>
|
2022-04-12 14:15:04 +02:00
|
|
|
<div
|
2022-04-20 16:40:18 +02:00
|
|
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*pageSize, referencesPage*pageSize)">
|
2022-04-12 14:15:04 +02:00
|
|
|
<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]="properties.searchLinkToResult.split('?')[0]"
|
|
|
|
[queryParams]="{id: id.value}"
|
|
|
|
target="_blank">OpenAIRE</a>]
|
|
|
|
</span>
|
|
|
|
</ng-container>
|
|
|
|
</p>
|
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<paging-no-load *ngIf="resultLandingInfo.references.length > pageSize"
|
2022-04-12 14:15:04 +02:00
|
|
|
(pageChange)="updateReferencesPage($event)"
|
2022-04-20 16:40:18 +02:00
|
|
|
[currentPage]="referencesPage" [size]="pageSize"
|
2022-04-12 14:15:04 +02:00
|
|
|
[totalResults]="resultLandingInfo.references.length">
|
2022-04-20 16:40:18 +02:00
|
|
|
</paging-no-load>
|
2022-04-12 14:15:04 +02:00
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="resultLandingInfo.relatedResults?.length > 0">
|
|
|
|
<div id="all_related" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<ng-container *ngTemplateOutlet="relation_in_tab; context: { researchResults: filteredRelatedResults, header: '', relatedClassFilters: resultLandingInfo.relatedClassFilters}"></ng-container>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0">
|
|
|
|
<div id="bioentities" class="landing-section uk-padding uk-padding-remove-horizontal">
|
2022-04-20 16:40:18 +02:00
|
|
|
<results-and-pages *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
2022-04-12 14:15:04 +02:00
|
|
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
|
|
|
[totalResults]="bioentitiesNum">
|
2022-04-20 16:40:18 +02:00
|
|
|
</results-and-pages>
|
|
|
|
<div class="uk-text-center uk-child-width-1-4@s uk-child-width-1-2 uk-grid uk-grid-medium uk-margin-bottom" uk-grid>
|
2022-04-12 14:15:04 +02:00
|
|
|
<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>
|
2022-04-20 16:40:18 +02:00
|
|
|
<div [title]="key" *ngIf="keyIn && !resultLandingInfo.bioentities.get(key).get(keyIn)"
|
|
|
|
class="uk-card uk-card-default uk-card-body">
|
2022-04-12 14:15:04 +02:00
|
|
|
{{keyIn}}
|
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<a [href]="resultLandingInfo.bioentities.get(key).get(keyIn)" target="_blank"
|
|
|
|
[title]="key" *ngIf="keyIn && resultLandingInfo.bioentities.get(key).get(keyIn)"
|
|
|
|
class="uk-card uk-card-default uk-card-hover uk-card-body custom-external">
|
2022-04-12 14:15:04 +02:00
|
|
|
{{keyIn}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<paging-no-load *ngIf="bioentitiesNum > 2*pageSize"
|
2022-04-12 14:15:04 +02:00
|
|
|
(pageChange)="updateBioentitiesPage($event)"
|
2022-04-20 16:40:18 +02:00
|
|
|
[currentPage]="bioentitiesPage" [size]="2*pageSize"
|
2022-04-12 14:15:04 +02:00
|
|
|
[totalResults]="bioentitiesNum">
|
2022-04-20 16:40:18 +02:00
|
|
|
</paging-no-load>
|
2022-04-12 14:15:04 +02:00
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="enermapsId && properties.enermapsURL">
|
|
|
|
<div id="enermaps" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div class=" uk-inline uk-text-center ">
|
|
|
|
<img class="uk-width-auto" [src]="properties.enermapsURL +'/images/datasets/' + enermapsId +
|
|
|
|
'.png'"
|
|
|
|
alt="Enermaps tool preview" loading="lazy">
|
|
|
|
<div class="uk-overlay uk-overlay-default uk-position-bottom">
|
|
|
|
<p>Visit <a
|
2022-04-16 09:47:30 +02:00
|
|
|
class=" uk-margin-right uk-margin-small-top custom-external"
|
2022-04-12 14:15:04 +02:00
|
|
|
[href]="properties.enermapsURL + '/?shared_id=' + enermapsId" target="_blank" >
|
2022-04-16 09:47:30 +02:00
|
|
|
Enermaps tool
|
2022-04-12 14:15:04 +02:00
|
|
|
</a></p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul *ngIf="enermapsDetails?.length > 0" class="uk-list uk-animation-fade">
|
|
|
|
<ng-container *ngFor="let detail of enermapsDetails">
|
|
|
|
<li *ngIf="detail[0] && detail[1]">
|
|
|
|
<span class="uk-text-meta">{{detail[0]}}: </span>
|
|
|
|
<span>
|
|
|
|
<ng-container *ngFor="let word of detail[1].split(' ')">
|
|
|
|
<ng-container *ngIf="!word.startsWith('http://') && !word.startsWith('https://')">{{word}} </ng-container>
|
|
|
|
<a *ngIf="word.startsWith('http://') || word.startsWith('https://')"
|
|
|
|
target="_blank" [href]="word">{{word}} </a>
|
|
|
|
</ng-container>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ng-container>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<div class="uk-text-xsmall uk-hidden@m"><ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container></div>
|
2022-04-04 11:14:54 +02:00
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
|
|
[texts]="pageContents['bottom']"></helper>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- right box-->
|
|
|
|
<ng-container *ngIf="resultLandingInfo && hasRightSidebarInfo">
|
|
|
|
<div id="right-sidebar-switcher" uk-toggle href="#right-column-offcanvas"
|
|
|
|
class="offcanvas-switcher uk-flex uk-flex-center uk-flex-middle uk-hidden@m"
|
|
|
|
(click)="rightSidebarOffcanvasClicked = true;">
|
|
|
|
<icon name="more" ratio="1.5" customClass="uk-text-primary" flex="true" visuallyHidden="sidebar"></icon>
|
|
|
|
</div>
|
|
|
|
<div id="right-column-offcanvas" class="uk-offcanvas offcanvas" uk-offcanvas="flip: true; overlay: true;">
|
|
|
|
<div class="uk-offcanvas-bar">
|
|
|
|
<button class="uk-offcanvas-close offcanvas-close uk-close uk-icon" type="button">
|
|
|
|
<icon name="close" ratio="1.5" visuallyHidden="close"></icon>
|
|
|
|
</button>
|
|
|
|
<div *ngIf="rightSidebarOffcanvasClicked" class="uk-padding">
|
|
|
|
<ng-container *ngTemplateOutlet="right_column"></ng-container>
|
|
|
|
</div>
|
2022-04-05 15:50:49 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="!rightSidebarOffcanvasClicked" class="uk-width-1-3 uk-width-1-4@l uk-padding-remove landing-background-grey-color uk-text-small uk-visible@m"
|
|
|
|
[class.uk-animation-right]="viewAll">
|
|
|
|
<div class="uk-sticky uk-overflow-auto landing-sidebar-height" uk-sticky="bottom: true" [attr.offset]="offset">
|
|
|
|
<ng-container *ngTemplateOutlet="right_column"></ng-container>
|
2022-04-05 15:50:49 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-04 11:14:54 +02:00
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<ng-template #right_column>
|
2022-04-16 09:47:30 +02:00
|
|
|
<div class="uk-margin-medium-top uk-list uk-list-large uk-padding uk-padding-remove-vertical" [class.uk-list-divider]="!viewAll">
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- EGI Notebook-->
|
2022-04-04 11:14:54 +02:00
|
|
|
<div *ngIf="resultLandingInfo.showEgiNotebookButton && properties.adminToolsPortalType == 'explore'
|
2022-04-20 16:40:18 +02:00
|
|
|
&& (properties.environment == 'beta' || properties.environment == 'development') && (!viewAll || viewAll=='egiNotebook')">
|
2022-04-12 15:52:49 +02:00
|
|
|
<a class="uk-link-text uk-text-bold custom-external"
|
2021-09-27 11:14:17 +02:00
|
|
|
target="_blank" [href]="properties.egiNotebookLink">
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <span class="uk-icon-button uk-icon">-->
|
|
|
|
<img src="assets/common-assets/eosc-logo.png"
|
|
|
|
loading="lazy" alt="eosc_logo" style="width:27px; height:27px">
|
|
|
|
<!-- </span>-->
|
2022-04-12 15:52:49 +02:00
|
|
|
<span class="uk-margin-small-left uk-text-uppercase"><u>EOSC SERVICE: EGI NOTEBOOK</u></span>
|
2021-09-23 16:49:41 +02:00
|
|
|
</a>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <hr *ngIf="resultLandingInfo.showEgiNotebookButton && properties.adminToolsPortalType == 'explore'-->
|
|
|
|
<!-- && (properties.environment == 'beta' || properties.environment == 'development')">-->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0 && (!viewAll || viewAll=='sdg')">
|
|
|
|
<sdg [subjects]="resultLandingInfo.sdg" (viewAllClicked)="viewAll=$event"></sdg>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.fos && resultLandingInfo.fos.length > 0 && (!viewAll || viewAll=='fos')">
|
|
|
|
<fos [subjects]="resultLandingInfo.fos" (viewAllClicked)="viewAll=$event"></fos>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
|
|
|
<!-- Funded By -->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 && (!viewAll || viewAll=='fundedBy')">
|
|
|
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects" (viewAllClicked)="viewAll=$event"></fundedBy>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <hr *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0">-->
|
2022-04-04 11:14:54 +02:00
|
|
|
<!-- Communities -->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0 && !noCommunities && (!viewAll || viewAll=='relatedTo')">
|
|
|
|
<relatedTo [contexts]="resultLandingInfo.contexts" [viewAll]="viewAll=='relatedTo'"
|
|
|
|
(viewAllClicked)="viewAll=$event" (noCommunities)="noCommunities = true"></relatedTo>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <hr *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0"-->
|
2022-04-04 11:14:54 +02:00
|
|
|
<!-- Download From -->
|
2022-04-12 14:15:04 +02:00
|
|
|
<div *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0 && (!viewAll || viewAll=='availableOn')">
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <div class="uk-inline">-->
|
|
|
|
<!-- <button class="uk-button uk-button-default" type="button">Click</button>-->
|
|
|
|
<!-- <div uk-dropdown="mode: click">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.</div>-->
|
|
|
|
<!-- </div>-->
|
2022-04-12 14:15:04 +02:00
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- <div class="uk-button uk-button-default button-drop uk-width-1-1">Select a source...</div>-->
|
2022-04-12 14:15:04 +02:00
|
|
|
<availableOn [availableOn]="resultLandingInfo.hostedBy_collectedFrom" (viewAllClicked)="viewAll=$event"></availableOn>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
<!-- style="border: 1px solid red">-->
|
|
|
|
<!-- <div *ngFor="let item of fakeArray.slice(0, 50); let i=index">test3.{{i}}</div>-->
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
2022-04-20 16:40:18 +02:00
|
|
|
</ng-template>
|
|
|
|
</ng-container>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-03-08 14:25:58 +01:00
|
|
|
<feedback *ngIf="resultLandingInfo && properties.reCaptchaSiteKey" [resultLandingInfo]="resultLandingInfo"
|
2020-03-16 14:09:46 +01:00
|
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
2022-04-20 16:40:18 +02:00
|
|
|
[(showForm)]="showFeedback"></feedback>
|
2019-09-05 10:49:33 +02:00
|
|
|
</div>
|
2020-05-25 20:58:13 +02:00
|
|
|
<!-- Other versions -->
|
|
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
|
2022-04-20 16:40:18 +02:00
|
|
|
#AlertModalDeletedByInference large="true">
|
2022-04-12 14:15:04 +02:00
|
|
|
<!-- <landing-header [properties]="properties" [title]="resultLandingInfo.title" [modal]="AlertModalDeletedByInference"-->
|
|
|
|
<!-- [subTitle]="resultLandingInfo.subtitle" [authorLimit]="10" [showAllAuthors]="false"-->
|
|
|
|
<!-- titleClass="title-grey-background"-->
|
|
|
|
<!-- [entityType]="getTypeName()" [authors]="resultLandingInfo.authors" [types]="resultLandingInfo.types"-->
|
|
|
|
<!-- [year]="resultLandingInfo.date" [embargoEndDate]="resultLandingInfo.embargoEndDate"-->
|
|
|
|
<!-- [isTitleH1]="false">-->
|
|
|
|
<!-- </landing-header>-->
|
2020-05-25 20:58:13 +02:00
|
|
|
<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>
|
|
|
|
</modal-alert>
|
2022-04-20 16:40:18 +02:00
|
|
|
<modal-alert *ngIf="resultLandingInfo" #citeModal>
|
|
|
|
<citeThis *ngIf="citeThisClicked" [result]="resultLandingInfo" [id]="id"
|
2021-02-10 13:50:02 +01:00
|
|
|
[type]="title.toLowerCase()" [piwikSiteId]="piwikSiteId"></citeThis>
|
2020-05-20 14:56:21 +02:00
|
|
|
</modal-alert>
|
2019-07-23 14:23:12 +02:00
|
|
|
|
2022-04-20 16:40:18 +02:00
|
|
|
<modal-alert *ngIf="resultLandingInfo"
|
|
|
|
#addThisModal classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<addThis></addThis>
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.organizations" #organizationsModal>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: resultLandingInfo.organizations.length}"></ng-container>
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
<ng-template #organizations_template let-threshold="threshold">
|
|
|
|
<ul class="uk-list organizations uk-margin-remove-top">
|
|
|
|
<li *ngFor="let organization of resultLandingInfo.organizations.slice(0, threshold)" class="uk-tile uk-tile-default uk-padding-small">
|
|
|
|
<a [routerLink]="properties.searchLinkToOrganization.split('?')[0]" [queryParams]="{organizationId: organization.id}" class="uk-link-text uk-text-bold">
|
|
|
|
{{(organization.name ? organization.name : (organization.shortname?organization.shortname:'[No title available]'))}}
|
|
|
|
<span *ngIf="!organization.name && organization.shortname">({{organization.shortname}})</span>
|
|
|
|
</a>
|
|
|
|
<div *ngIf="organization.country && !organization.country.toLowerCase().includes('unknown')" class="uk-text-xsmall uk-text-muted">{{organization.country}}</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ng-template>
|
2022-04-04 11:14:54 +02:00
|
|
|
|
|
|
|
<ng-template #relation_in_tab let-researchResults="researchResults" let-header="header" let-relatedClassFilters="relatedClassFilters">
|
|
|
|
<div
|
|
|
|
*ngIf="researchResults && researchResults.length > 0"
|
|
|
|
class="uk-margin-bottom">
|
|
|
|
<h6 *ngIf="header">{{header}}</h6>
|
|
|
|
<mat-form-field *ngIf="relatedClassFilters?.size > 1" class="matSelectionFormField">
|
|
|
|
<mat-label>Filter by relation:</mat-label>
|
|
|
|
<mat-select [(ngModel)]="relatedClassSelected" (ngModelChange)="relatedClassChanged()"
|
|
|
|
[disableOptionCentering]="true"
|
|
|
|
panelClass="matSelectionPanel"
|
|
|
|
class="uk-text-bold matSelection">
|
|
|
|
<mat-option [value]="">All relations</mat-option>
|
|
|
|
<mat-option *ngFor="let relatedClass of relatedClassFilters" [value]="relatedClass">{{relatedClass}}</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
2022-04-20 16:40:18 +02:00
|
|
|
<results-and-pages
|
2022-04-04 11:14:54 +02:00
|
|
|
[type]="'research outcomes'"
|
|
|
|
[page]="relatedPage" [pageSize]="pageSize"
|
|
|
|
[totalResults]="researchResults.length">
|
2022-04-20 16:40:18 +02:00
|
|
|
</results-and-pages>
|
2022-04-04 11:14:54 +02:00
|
|
|
<ul class="uk-list uk-list-divider uk-margin">
|
|
|
|
<li *ngFor="let item of researchResults.slice((relatedPage-1)*pageSize, relatedPage*pageSize)">
|
|
|
|
<result-preview [modal]="relationModal" [properties]="properties"
|
|
|
|
[result]="getResultPreview(item)"
|
|
|
|
[isCard]="false"></result-preview>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2022-04-20 16:40:18 +02:00
|
|
|
<paging-no-load *ngIf="researchResults.length > pageSize"
|
|
|
|
class="uk-margin-top"
|
2022-04-04 11:14:54 +02:00
|
|
|
(pageChange)="updateRelatedPage($event)"
|
2022-04-20 16:40:18 +02:00
|
|
|
[currentPage]="relatedPage" [size]="pageSize"
|
2022-04-04 11:14:54 +02:00
|
|
|
[totalResults]="researchResults.length">
|
2022-04-20 16:40:18 +02:00
|
|
|
</paging-no-load>
|
2022-04-04 11:14:54 +02:00
|
|
|
</div>
|
|
|
|
</ng-template>
|