1247 lines
72 KiB
HTML
1247 lines
72 KiB
HTML
<!-- Desktop view -->
|
|
<div id="tm-main" class="uk-visible@m landing uk-section uk-padding-remove tm-middle">
|
|
<div *ngIf="!isMobile" class="tm-main">
|
|
<div class="publication">
|
|
<div *ngIf="!showFeedback" class="uk-grid uk-margin-remove-left" uk-grid>
|
|
|
|
<!-- left box/sidebar - actions -->
|
|
<!-- <div id="landing-left-sidebar" *ngIf="resultLandingInfo" class="uk-visible@s uk-padding-remove-horizontal">
|
|
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center uk-sticky"
|
|
uk-sticky="bottom: true" [attr.offset]="offset">
|
|
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
|
|
<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>
|
|
<div class="uk-margin-large-bottom uk-align-center">
|
|
<div class="uk-text-meta uk-text-uppercase">Actions</div>
|
|
<ul class="uk-list">
|
|
<li class="uk-text-center">
|
|
<a (click)="openAddThisModal()"
|
|
[title]="'Share this '+getTypeName() + ' in your social networks'"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active 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>
|
|
<li *ngIf="isRouteAvailable('participate/direct-claim')" class="uk-text-center"
|
|
[title]="'<span class=\'uk-flex uk-flex-middle\'>Link this '+getTypeName()+' to ...<span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
<icon name="link" visuallyHidden="link"></icon>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li class="uk-text-center">
|
|
<a (click)="openCiteModal()"
|
|
[title]="'Cite this '+getTypeName()"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
<icon name="quotes" visuallyHidden="cite"></icon>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'"
|
|
class="uk-text-center">
|
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
|
|
[pids]="pidsArrayString" [pageType]="'landing'">
|
|
</orcid-work>
|
|
</li>
|
|
<li *ngIf=" properties.enableEoscDataTransfer && resultLandingInfo.resultType == 'dataset' &&
|
|
resultLandingInfo.identifiers && resultLandingInfo.identifiers.get('doi') &&
|
|
resultLandingInfo.identifiers.get('doi').join('').indexOf('zenodo.')!=-1"
|
|
class="uk-text-center">
|
|
<egi-transfer-data [dois]="resultLandingInfo.identifiers.get('doi')" [isOpen]="egiTransferModalOpen"></egi-transfer-data>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
|
|
<!-- center box-->
|
|
<div id="landing-center-content" class="uk-width-expand uk-padding-remove uk-background-default">
|
|
|
|
<ng-template #graph_and_feedback_template>
|
|
<div class="uk-container uk-container-xlarge uk-flex uk-margin-small-bottom uk-margin-small-top" [class.uk-invisible]="!resultLandingInfo">
|
|
<!-- Last Index Info-->
|
|
<div class="uk-width-2-3@m uk-width-1-2">
|
|
<icon name="graph" customClass="text-graph"></icon>
|
|
<span class="uk-margin-small-left uk-text-baseline">
|
|
<span class="uk-text-meta">Powered by </span>
|
|
<a href="https://graph.openaire.eu" target="_blank" class="text-graph">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 *ngIf="properties.reCaptchaSiteKey" class="uk-width-expand uk-text-right">
|
|
<span class="uk-text-meta uk-text-xsmall">See an issue? </span>
|
|
<a (click)="feedbackClicked()" class="uk-text-xsmall">Give us feedback</a>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<div #graph_and_feedback id="graph_and_feedback" class="uk-blur-background uk-text-xsmall uk-visible@m"
|
|
uk-sticky="bottom: true;" [attr.offset]="graph_offset">
|
|
<ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container>
|
|
</div>
|
|
|
|
<div class="uk-container uk-container-xlarge">
|
|
|
|
<div *ngIf="errorMessage.length > 0 || showLoading" class="uk-container uk-flex uk-flex-center uk-height-viewport uk-position-relative">
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-width-2-3 uk-margin-xlarge-top"
|
|
role="alert">{{errorMessage}}</div>
|
|
<div *ngIf="showLoading" class="uk-position-center">
|
|
<loading></loading>
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="!showLoading" class="uk-margin-top uk-margin-bottom">
|
|
<div class="uk-flex uk-flex-middle uk-flex-center">
|
|
<div class="landing-action-bar uk-box-shadow-small uk-margin-bottom">
|
|
<div class="landing-action-bar-grid-gap uk-flex uk-flex-middle uk-text-xsmall">
|
|
<!-- Download from -->
|
|
<availableOn *ngIf="resultLandingInfo?.hostedBy_collectedFrom" [availableOn]="resultLandingInfo.hostedBy_collectedFrom" (viewAllClicked)="viewAll=$event"></availableOn>
|
|
<!-- Versions -->
|
|
<a *ngIf="resultLandingInfo?.deletedByInferenceIds" (click)="openDeletedByInference()"
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
|
<icon [flex]="true" [ratio]="0.8" name="versions" visuallyHidden="versions"></icon>
|
|
<span class="uk-margin-xsmall-left">
|
|
View all {{resultLandingInfo.deletedByInferenceIds.length}} versions
|
|
</span>
|
|
</a>
|
|
<!-- Divider -->
|
|
<span *ngIf="resultLandingInfo?.hostedBy_collectedFrom || resultLandingInfo?.deletedByInferenceIds" class="landing-action-bar-divider"></span>
|
|
<!-- Actions -->
|
|
<a *ngIf="isRouteAvailable('participate/direct-claim')"
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim"
|
|
[title]="'<span class=\'uk-flex uk-flex-middle\'>Link this '+getTypeName()+' to ...<span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
|
<icon [flex]="true" [ratio]="0.7" name="link_to" visuallyHidden="link"></icon>
|
|
<span class="uk-margin-xsmall-left">Link to</span>
|
|
</a>
|
|
<a (click)="openAddThisModal()"
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
|
<icon [flex]="true" [ratio]="0.8" name="share" visuallyHidden="share"></icon>
|
|
<span class="uk-margin-xsmall-left">Share</span>
|
|
</a>
|
|
<a (click)="openCiteModal()"
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
|
<icon [flex]="true" [ratio]="0.7" name="cite" visuallyHidden="cite"></icon>
|
|
<span class="uk-margin-xsmall-left">Cite</span>
|
|
</a>
|
|
<ng-container *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'" >
|
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo?.title" [resultLandingInfo]="resultLandingInfo"
|
|
[pids]="pidsArrayString" [pageType]="'landing'">
|
|
</orcid-work>
|
|
</ng-container>
|
|
<ng-container *ngIf=" properties.enableEoscDataTransfer && resultLandingInfo.resultType == 'dataset' &&
|
|
resultLandingInfo.identifiers && resultLandingInfo.identifiers.get('doi') &&
|
|
resultLandingInfo.identifiers.get('doi').join('').indexOf('zenodo.')!=-1">
|
|
<egi-transfer-data [dois]="resultLandingInfo.identifiers.get('doi')" [isOpen]="egiTransferModalOpen"></egi-transfer-data>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="uk-margin-left uk-margin-right" [style]="'margin-bottom: '+graph_height+'px'">
|
|
<ng-container *ngIf="resultLandingInfo">
|
|
<!-- in small screens there is no sticky #graph_and_feedback so margin-top is medium (40px) -->
|
|
<!-- else margin is medium (40px) - the actual height of uk-sticky-placeholder (graph_height - 20px -> margins of #graph_and_feedback) -->
|
|
<div [attr.style]="'margin-top: '+(graph_height? 'calc(40px + 20px - '+graph_height+'px)': '40px')">
|
|
<!-- schema.org-->
|
|
<schema2jsonld *ngIf="resultLandingInfo.record" [data]=resultLandingInfo.record
|
|
[URL]="canonicalUrl"
|
|
[searchActionRoute]="properties.searchLinkToResults"></schema2jsonld>
|
|
|
|
<!-- Actions for mobile viewport -->
|
|
<div class="uk-flex uk-flex-right uk-margin-medium-bottom uk-hidden@s">
|
|
<!-- Share -->
|
|
<div class="uk-margin-small-right">
|
|
<a (click)="openAddThisModal()"
|
|
[title]="'Share this '+getTypeName() + ' in your social networks'"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active 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>
|
|
</div>
|
|
<!-- Link to -->
|
|
<div *ngIf="isRouteAvailable('participate/direct-claim')" class="uk-margin-small-right"
|
|
[title]="'<span class=\'uk-flex uk-flex-middle\'>Link this '+getTypeName()+' to ...<span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
|
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
<icon name="link" visuallyHidden="link"></icon>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<!-- Cite this -->
|
|
<div class="uk-margin-small-right">
|
|
<a (click)="openCiteModal()"
|
|
[title]="'Cite this '+getTypeName()"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
<icon name="quotes" visuallyHidden="cite"></icon>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
<!-- ORCID -->
|
|
<div *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'"
|
|
class="uk-margin-small-right">
|
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo.title" [resultLandingInfo]="resultLandingInfo"
|
|
[pids]="pidsArrayString" [pageType]="'landing'">
|
|
</orcid-work>
|
|
</div>
|
|
<div *ngIf=" properties.enableEoscDataTransfer && resultLandingInfo.resultType == 'dataset' &&
|
|
resultLandingInfo.identifiers && resultLandingInfo.identifiers.get('doi') &&
|
|
resultLandingInfo.identifiers.get('doi').join('').indexOf('zenodo.')!=-1"
|
|
class="">
|
|
<egi-transfer-data [dois]="resultLandingInfo.identifiers.get('doi')" [isOpen]="egiTransferModalOpen"></egi-transfer-data>
|
|
</div>
|
|
</div>
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
[texts]="pageContents['top']"></helper>
|
|
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
|
[subTitle]="resultLandingInfo.subtitle"
|
|
[authors]="resultLandingInfo.authors"
|
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
|
[date]="resultLandingInfo.dateofacceptance" [embargoEndDate]="resultLandingInfo.embargoEndDate"
|
|
[publisher]="resultLandingInfo.publisher" [journal]="resultLandingInfo.journal"
|
|
[languages]="resultLandingInfo.languages" [programmingLanguages]="resultLandingInfo.programmingLanguages">
|
|
</landing-header>
|
|
<!-- Labels -->
|
|
<!-- Not used anymore - access labels will be in action bars, languages in the landing-header component -->
|
|
<!-- <div class="uk-margin-bottom uk-grid uk-grid-small uk-flex-middle" uk-grid>
|
|
<ng-container *ngIf="resultLandingInfo.accessMode && resultLandingInfo.accessMode.toLowerCase() !== 'not available'">
|
|
<div>
|
|
<span [class]="'uk-label uk-text-truncate '+ (accessClass(resultLandingInfo.accessMode) == 'open' ? 'uk-label-success' : '')"
|
|
title="Access Mode">{{resultLandingInfo.accessMode}}
|
|
</span>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.languages &&
|
|
removeUnknown(resultLandingInfo.languages).length > 0">
|
|
<ng-container *ngFor="let language of removeUnknown(resultLandingInfo.languages)">
|
|
<div>
|
|
<span class="uk-label custom-label label-language" title="Language">{{language}}</span>
|
|
</div>
|
|
</ng-container>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.programmingLanguages && resultLandingInfo.programmingLanguages.length > 0">
|
|
<ng-container *ngFor="let programmingLanguage of resultLandingInfo.programmingLanguages">
|
|
<div>
|
|
<span class="uk-label custom-label label-language"
|
|
title="Programming Language">{{programmingLanguage}}</span>
|
|
</div>
|
|
</ng-container>
|
|
</ng-container>
|
|
</div> -->
|
|
<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>
|
|
<!--Published Date, Journal and Publisher-->
|
|
<!-- Moved inside landing-header component -->
|
|
<!-- <div showPublisher [publisher]="resultLandingInfo.publisher"
|
|
[publishDate]="resultLandingInfo.dateofacceptance"
|
|
[journal]="resultLandingInfo.journal" [properties]="properties" class="uk-margin-small-top"></div> -->
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main-tabs-div" class="uk-sticky uk-blur-background"
|
|
uk-sticky="bottom: true; media: @m" [attr.offset]="offset">
|
|
<div class="uk-padding uk-padding-remove-horizontal uk-padding-remove-bottom">
|
|
<landing-header *ngIf="stickyHeader" class="uk-visible@m"
|
|
[properties]="properties" [title]="resultLandingInfo.title"
|
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
|
[date]="resultLandingInfo.dateofacceptance" [embargoEndDate]="resultLandingInfo.embargoEndDate"
|
|
isSticky="true">
|
|
</landing-header>
|
|
<!-- <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">
|
|
<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-tab *ngIf="resultLandingInfo && (resultLandingInfo.measure || hasAltMetrics)"
|
|
[tabTitle]="'Metrics'" [tabId]="'metrics'">
|
|
</my-tab>
|
|
</my-tabs>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="landing-sections" class="uk-text-small">
|
|
<ng-container>
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0">
|
|
<ng-container *ngTemplateOutlet="references_content"></ng-container>
|
|
</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: ''}"></ng-container>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0">
|
|
<div id="bioentities" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ng-container *ngTemplateOutlet="bioentities_content"></ng-container>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="enermapsId && properties.enermapsURL">
|
|
<div id="enermaps" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ng-container *ngTemplateOutlet="enermapsTool_content"></ng-container>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo && (resultLandingInfo.measure || hasAltMetrics)">
|
|
<ng-container *ngTemplateOutlet="metricsContent"></ng-container>
|
|
</ng-container>
|
|
</div>
|
|
<div class="uk-text-xsmall uk-hidden@m"><ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container></div>
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
[texts]="pageContents['bottom']"></helper>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<!-- right box/ sidebar-->
|
|
<ng-container *ngIf="resultLandingInfo && hasRightSidebarInfo">
|
|
<div id="landing-right-sidebar" *ngIf="!rightSidebarOffcanvasClicked" class="uk-width-1-3 uk-width-1-4@l uk-padding-remove uk-text-small uk-visible@m"
|
|
[class.uk-animation-right]="viewAll">
|
|
<div class="uk-sticky" uk-sticky="bottom: true" [attr.offset]="offset">
|
|
<div class="uk-overflow-auto uk-height-1-1">
|
|
<ng-container *ngTemplateOutlet="right_column"></ng-container>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
</div>
|
|
|
|
<!-- right box/ sidebar-->
|
|
<ng-container *ngIf="!showFeedback && resultLandingInfo && hasRightSidebarInfo">
|
|
<div id="landing-right-sidebar-switcher" uk-toggle href="#right-column-offcanvas"
|
|
class="uk-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" uk-offcanvas="flip: true; overlay: true;">
|
|
<div class="uk-offcanvas-bar">
|
|
<button class="uk-offcanvas-close uk-close uk-icon" type="button"
|
|
(click)="rightSidebarOffcanvasClicked = false">
|
|
<icon name="close" [ratio]="1.5" visuallyHidden="close"></icon>
|
|
</button>
|
|
<div *ngIf="rightSidebarOffcanvasClicked">
|
|
<ng-container *ngTemplateOutlet="right_column"></ng-container>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|
|
|
|
<ng-template #right_column>
|
|
<!-- new metrics box -->
|
|
<div *ngIf="resultLandingInfo && resultLandingInfo.measure && !viewAll"
|
|
class="uk-margin-medium-top uk-padding uk-padding-remove-vertical">
|
|
<div class="landing-metrics-card uk-card uk-card-secondary uk-text-small uk-flex uk-padding-small">
|
|
<div class="uk-width-expand uk-flex uk-flex-middle">
|
|
<div class="uk-grid uk-grid-small uk-flex-nowrap" uk-grid uk-height-match="target: > div > .cell">
|
|
<div>
|
|
<div *ngIf="resultLandingInfo.measure.citations" class="cell uk-margin-xsmall-bottom uk-flex uk-flex-middle"><icon name="cite" [ratio]="0.8" [flex]="true"></icon></div>
|
|
<div *ngIf="resultLandingInfo.measure.popularity" class="cell uk-margin-xsmall-bottom uk-flex uk-flex-middle"><icon name="fire" [ratio]="0.8" [flex]="true"></icon></div>
|
|
<div *ngIf="resultLandingInfo.measure.influence" class="cell uk-margin-xsmall-bottom uk-flex uk-flex-middle"><icon name="landmark" [ratio]="0.8" [flex]="true"></icon></div>
|
|
<div *ngIf="resultLandingInfo.measure.downloads" class="cell uk-margin-xsmall-bottom uk-flex uk-flex-middle"><icon name="download" [ratio]="0.8" [flex]="true"></icon></div>
|
|
<div *ngIf="resultLandingInfo.measure.views" class="cell uk-flex uk-flex-middle"><icon name="visibility" [ratio]="0.8" [flex]="true"></icon></div>
|
|
</div>
|
|
<div>
|
|
<div *ngIf="resultLandingInfo.measure.citations" class="cell uk-margin-xsmall-bottom"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
[title]="getCitationsTooltip">Citations</div>
|
|
<div *ngIf="resultLandingInfo.measure.popularity" class="cell uk-margin-xsmall-bottom"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
[title]="getPopularityTooltip">Popularity</div>
|
|
<div *ngIf="resultLandingInfo.measure.influence" class="cell uk-margin-xsmall-bottom"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
[title]="getInfluenceTooltip">Influence</div>
|
|
<div *ngIf="resultLandingInfo.measure.downloads" class="cell uk-margin-xsmall-bottom"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
[title]="getDownloadsTooltip">Downloads</div>
|
|
<div *ngIf="resultLandingInfo.measure.views" class="cell"
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small'"
|
|
[title]="getViewsTooltip">Views</div>
|
|
</div>
|
|
<div class="uk-text-uppercase uk-text-bolder">
|
|
<div *ngIf="resultLandingInfo.measure.citations" [attr.uk-tooltip]="resultLandingInfo.measure.citations >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.citations | number}}" class="cell uk-margin-xsmall-bottom">{{formatNumber(resultLandingInfo.measure.citations)}}</div>
|
|
<div *ngIf="resultLandingInfo.measure.popularity" class="cell uk-margin-xsmall-bottom">{{resultLandingInfo.measure.popularity}}</div>
|
|
<div *ngIf="resultLandingInfo.measure.influence" class="cell uk-margin-xsmall-bottom">{{resultLandingInfo.measure.influence}}</div>
|
|
<div *ngIf="resultLandingInfo.measure.downloads" [attr.uk-tooltip]="resultLandingInfo.measure.downloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.downloads | number}}" class="cell uk-margin-xsmall-bottom">{{formatNumber(resultLandingInfo.measure.downloads)}}</div>
|
|
<div *ngIf="resultLandingInfo.measure.views" [attr.uk-tooltip]="resultLandingInfo.measure.views >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.views | number}}" class="cell">{{formatNumber(resultLandingInfo.measure.views)}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="uk-width-1-5 uk-flex uk-flex-bottom">
|
|
<img src="assets/common-assets/metrics-badge.svg" loading="lazy" alt="Metrics badge">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin-medium-top uk-list uk-list-large uk-padding uk-padding-remove-vertical" [class.uk-list-divider]="!viewAll">
|
|
<!-- EOSC Services-->
|
|
<div *ngIf="resultLandingInfo.eoscSubjects?.length > 0 && properties.adminToolsPortalType == 'eosc'
|
|
&& (!viewAll || viewAll=='egiNotebook')">
|
|
<ng-container *ngTemplateOutlet="compatibleEOSC_content"></ng-container>
|
|
</div>
|
|
|
|
<div *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0 && (!viewAll || viewAll=='sdg')">
|
|
<sdg [subjects]="resultLandingInfo.sdg" (viewAllClicked)="viewAll=$event" (suggestClicked)="suggestClicked($event)"></sdg>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.fos && resultLandingInfo.fos.length > 0 && (!viewAll || viewAll=='fos')">
|
|
<fos [subjects]="resultLandingInfo.fos" (viewAllClicked)="viewAll=$event" (suggestClicked)="suggestClicked($event)"></fos>
|
|
</div>
|
|
<!-- Funded By -->
|
|
<div *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 && (!viewAll || viewAll=='fundedBy')">
|
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects" [provenanceActionVocabulary]="provenanceActionVocabulary" (viewAllClicked)="viewAll=$event"></fundedBy>
|
|
</div>
|
|
<!-- Communities -->
|
|
<div *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0 && !noCommunities && (!viewAll || viewAll=='relatedTo')"
|
|
class="uk-margin-bottom">
|
|
<relatedTo [contexts]="resultLandingInfo.contexts" [viewAll]="viewAll=='relatedTo'"
|
|
(viewAllClicked)="viewAll=$event" (noCommunities)="noCommunities = true"></relatedTo>
|
|
</div>
|
|
<!-- Download From -->
|
|
<!-- <div *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0 && (!viewAll || viewAll=='availableOn')">
|
|
<availableOn [availableOn]="resultLandingInfo.hostedBy_collectedFrom" (viewAllClicked)="viewAll=$event"></availableOn>
|
|
</div> -->
|
|
</div>
|
|
</ng-template>
|
|
</div>
|
|
</div>
|
|
|
|
<feedback *ngIf="resultLandingInfo && properties.reCaptchaSiteKey" [resultLandingInfo]="resultLandingInfo"
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
|
[(showForm)]="showFeedback" [preSelectedField]="feedbackPreSelectedField"></feedback>
|
|
</div>
|
|
|
|
<!-- Mobile view -->
|
|
<div *ngIf="isMobile" class="uk-hidden@m uk-position-relative landing">
|
|
<ng-container *ngIf="resultLandingInfo">
|
|
<div *ngIf="mobileContent == 'info'" class="uk-container uk-section">
|
|
<div *ngIf="resultLandingInfo.hostedBy_collectedFrom && resultLandingInfo.hostedBy_collectedFrom.length > 0"
|
|
class="uk-margin-small-bottom uk-flex uk-flex-middle"
|
|
[ngClass]="(resultLandingInfo.hostedBy_collectedFrom[0].accessRightIcon == 'open_access' ? 'open-access' : 'closed-access')">
|
|
<icon [name]="resultLandingInfo.hostedBy_collectedFrom[0].accessRightIcon" [flex]="true" [ratio]="1"></icon>
|
|
<span class="uk-margin-xsmall-left uk-text-small uk-text-uppercase uk-text-bolder">{{resultLandingInfo.hostedBy_collectedFrom[0].accessRight}}</span>
|
|
</div>
|
|
<landing-header [properties]="properties" [title]="resultLandingInfo.title"
|
|
[subTitle]="resultLandingInfo.subtitle"
|
|
[authors]="resultLandingInfo.authors"
|
|
[underCuration]="resultLandingInfo.underCurationMessage"
|
|
[entityType]="getTypeName()" [types]="resultLandingInfo.types"
|
|
[date]="resultLandingInfo.dateofacceptance" [embargoEndDate]="resultLandingInfo.embargoEndDate"
|
|
[publisher]="resultLandingInfo.publisher" [journal]="resultLandingInfo.journal"
|
|
[languages]="resultLandingInfo.languages" [programmingLanguages]="resultLandingInfo.programmingLanguages">
|
|
</landing-header>
|
|
<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>
|
|
<!-- SDGs -->
|
|
<div *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0 && !viewAllMobile" class="uk-margin-small-top">
|
|
<sdg [subjects]="resultLandingInfo.sdg" (suggestClicked)="suggestMobileClicked($event)"
|
|
(viewAllClicked)="viewAllMobile=$event; openFsModal(sdgsFsModal, 'Sustainable Development Goals (SDGs)')"></sdg>
|
|
</div>
|
|
<!-- FOS -->
|
|
<div *ngIf="resultLandingInfo.fos && resultLandingInfo.fos.length > 0 && !viewAllMobile" class="uk-margin-small-top">
|
|
<fos [subjects]="resultLandingInfo.fos" (suggestClicked)="suggestMobileClicked($event)"
|
|
(viewAllClicked)="viewAllMobile=$event; openFsModal(fosFsModal, 'Fields of Science (FoS)')"></fos>
|
|
</div>
|
|
</div>
|
|
<div class="uk-section uk-margin-top uk-text-large uk-text-empashis uk-text-bold">
|
|
<hr>
|
|
<ng-container>
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(summaryFsModal, 'Summary'); onSelectActiveTab('summary')">
|
|
<span>Summary</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(referencesFsModal, 'References'); onSelectActiveTab('references')">
|
|
<span>References</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.relatedResults?.length > 0">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(relatedResearchFsModal, 'Related Research'); onSelectActiveTab('all_related')">
|
|
<span>Related Research</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(bioentitiesFsModal, 'External Databases'); onSelectActiveTab('bioentities')">
|
|
<span>External Databases</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.eoscSubjects?.length > 0 && properties.adminToolsPortalType == 'eosc'
|
|
&& (!viewAll || viewAll=='egiNotebook')">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(compatibleEOSCFsModal, 'Compatible EOSC Services'); onSelectActiveTab('summary')">
|
|
<span>Compatible EOSC Services</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 && (!viewAll || viewAll=='fundedBy')">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(fundedByFsModal, 'Funded by'); onSelectActiveTab('summary')">
|
|
<span>Funded by</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0 && !noCommunities && (!viewAll || viewAll=='relatedTo')">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(relatedCommunitiesFsModal, 'Related to Research Communities'); onSelectActiveTab('summary')">
|
|
<span>Related to Research Communities</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
<ng-container *ngIf="enermapsId && properties.enermapsURL">
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(enermapsToolFsModal, 'Enermaps Tool'); onSelectActiveTab('enermaps')">
|
|
<span>Enermaps Tool</span>
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
</div>
|
|
<hr>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="mobileContent == 'metrics'" class="uk-container uk-section">
|
|
<ng-container *ngTemplateOutlet="metricsContent"></ng-container>
|
|
</div>
|
|
<div *ngIf="mobileContent == 'actions'" class="uk-container uk-section">
|
|
<ng-container *ngIf="resultLandingInfo?.hostedBy_collectedFrom">
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
(click)=" onSelectActiveTab('availableOn')">
|
|
<availableOn [availableOn]="resultLandingInfo.hostedBy_collectedFrom" (viewAllClicked)="viewAll=$event"
|
|
[isMobile]="true" [usedBy]="'landing'" class="uk-width-1-1"></availableOn>
|
|
</div>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
<ng-container *ngIf="resultLandingInfo?.deletedByInferenceIds">
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
(click)="deleteByInferenceOpened = true; openFsModal(alertModalDeletedByInferenceFS, 'Other versions')">
|
|
<icon [flex]="true" name="versions" visuallyHidden="versions"></icon>
|
|
<span class="uk-margin-small-left">
|
|
View all {{resultLandingInfo.deletedByInferenceIds.length}} versions
|
|
</span>
|
|
</div>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
<ng-container>
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
(click)="openFsModal(addThisFsModal, 'Share this '+getTypeName()+' in your social networks')">
|
|
<icon [flex]="true" name="share" visuallyHidden="share"></icon>
|
|
<span class="uk-margin-small-left">Share</span>
|
|
</div>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
<ng-container>
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
(click)="citeThisClicked=true; openFsModal(citeFsModal, 'Cite this '+getTypeName())">
|
|
<icon [flex]="true" name="cite" visuallyHidden="cite"></icon>
|
|
<span class="uk-margin-small-left">Cite</span>
|
|
</div>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
<ng-container *ngIf="properties.adminToolsPortalType == 'explore' || properties.adminToolsPortalType == 'community' || properties.adminToolsPortalType == 'aggregator'" >
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal">
|
|
<orcid-work [resultId]="id" [resultTitle]="resultLandingInfo?.title" [resultLandingInfo]="resultLandingInfo"
|
|
[pids]="pidsArrayString" [pageType]="'landing'" [isMobile]="true">
|
|
</orcid-work>
|
|
</div>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
<ng-container *ngIf="isRouteAvailable('participate/direct-claim')">
|
|
<a class="uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[id,type,'project'])"
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
<icon [flex]="true" name="link_to" visuallyHidden="link"></icon>
|
|
<span class="uk-margin-small-left"
|
|
[title]="'<span class=\'uk-flex uk-flex-middle\'>Link this '+getTypeName()+' to ...<span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
|
[attr.uk-tooltip]="'pos: bottom-left; cls: uk-active uk-text-small uk-padding-small'">
|
|
Link to
|
|
</span>
|
|
</a>
|
|
<hr class="uk-margin-remove">
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<div class="landing-action-bar-mobile uk-background-default">
|
|
<div class="uk-container uk-flex-middle uk-grid uk-text-xsmall uk-text-meta" [ngClass]="(resultLandingInfo.measure || hasAltMetrics) ? 'uk-child-width-1-3' : 'uk-child-width-1-2'">
|
|
<div>
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'info'">
|
|
<span [ngClass]="mobileContent == 'info' ? 'uk-text-primary': ''">
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'publication'" name="description" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'research data'" name="database" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'research software'" name="integration_instructions" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'other research product'" name="apps" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'project'" name="assignment_turned_in" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'data source'" name="note_add" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
<icon *ngIf="getTypeName().toLowerCase() == 'organization'" name="corporate_fare" type="outlined" [flex]="true" [ratio]="2"></icon>
|
|
</span>
|
|
<span>{{getTypeName()}}</span>
|
|
</a>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo && (resultLandingInfo.measure || hasAltMetrics)">
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'metrics'">
|
|
<icon name="bar_chart" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'metrics' ? 'uk-text-primary': ''"></icon>
|
|
<span>Metrics</span>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'actions'">
|
|
<icon name="pending" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'actions' ? 'uk-text-primary': ''"></icon>
|
|
<span>Actions</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<fs-modal #summaryFsModal classTitle="uk-tile-default uk-border-bottom" (cancelEmitter)="cancelSummaryClicked()">
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #referencesFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
*ngIf="resultLandingInfo.references && resultLandingInfo.references.length > 0">
|
|
<ng-container *ngTemplateOutlet="references_content"></ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #relatedResearchFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
*ngIf="resultLandingInfo.relatedResults?.length > 0">
|
|
<div class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ng-container *ngTemplateOutlet="relation_in_tab; context: { researchResults: filteredRelatedResults, header: ''}"></ng-container>
|
|
</div>
|
|
</fs-modal>
|
|
|
|
<fs-modal #bioentitiesFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
*ngIf="resultLandingInfo.bioentities && bioentitiesNum> 0">
|
|
<div class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ng-container *ngTemplateOutlet="bioentities_content"></ng-container>
|
|
</div>
|
|
</fs-modal>
|
|
|
|
<fs-modal #compatibleEOSCFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
<ng-container *ngIf="resultLandingInfo.eoscSubjects?.length > 0 && properties.adminToolsPortalType == 'eosc' && (!viewAll || viewAll=='egiNotebook')">
|
|
<ng-container *ngTemplateOutlet="compatibleEOSC_content"></ng-container>
|
|
</ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #fundedByFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
<ng-container *ngIf="resultLandingInfo.fundedByProjects && resultLandingInfo.fundedByProjects.length > 0 && (!viewAll || viewAll=='fundedBy')">
|
|
<fundedBy [fundedByProjects]="resultLandingInfo.fundedByProjects" [provenanceActionVocabulary]="provenanceActionVocabulary" (viewAllClicked)="viewAll=$event"
|
|
[isMobile]="true" [viewAll]="true"></fundedBy>
|
|
</ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #relatedCommunitiesFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
<ng-container *ngIf="resultLandingInfo.contexts && resultLandingInfo.contexts.length > 0 && !noCommunities && (!viewAll || viewAll=='relatedTo')">
|
|
<relatedTo [contexts]="resultLandingInfo.contexts" [viewAll]="viewAll=='relatedTo'"
|
|
(viewAllClicked)="viewAll=$event" (noCommunities)="noCommunities = true"
|
|
[mobileView]="true" [viewAll]="true"></relatedTo>
|
|
</ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #enermapsToolFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
<div *ngIf="enermapsId && properties.enermapsURL" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ng-container *ngTemplateOutlet="enermapsTool_content"></ng-container>
|
|
</div>
|
|
</fs-modal>
|
|
|
|
<fs-modal #sdgsFsModal *ngIf="isMobile" classTitle="uk-tile-default uk-border-bottom" (cancelEmitter)="sdgsFsModalCancelled()">
|
|
<ng-container *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0">
|
|
<sdg *ngIf="viewAllMobile=='sdg'" [subjects]="resultLandingInfo.sdg" [viewAll]="true" (suggestClicked)="suggestMobileClicked($event)"></sdg>
|
|
<sdg-fos-suggest *ngIf="viewAllMobile=='sdgSuggest'" #sdgFosSuggest [title]="resultLandingInfo.title" [entityType]="resultLandingInfo.resultType"></sdg-fos-suggest>
|
|
</ng-container>
|
|
</fs-modal>
|
|
|
|
<fs-modal #fosFsModal *ngIf="isMobile" classTitle="uk-tile-default uk-border-bottom" (cancelEmitter)="fosFsModalCancelled()">
|
|
<ng-container *ngIf="resultLandingInfo.fos && resultLandingInfo.fos.length > 0">
|
|
<fos *ngIf="viewAllMobile=='fos'" [subjects]="resultLandingInfo.fos" [viewAll]="true" (suggestClicked)="suggestMobileClicked($event)"></fos>
|
|
<sdg-fos-suggest *ngIf="viewAllMobile=='fosSuggest'" #sdgFosSuggest [title]="resultLandingInfo.title" [entityType]="resultLandingInfo.resultType"></sdg-fos-suggest>
|
|
</ng-container>
|
|
</fs-modal>
|
|
|
|
</ng-container>
|
|
</div>
|
|
|
|
<!-- Other versions -->
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds"
|
|
#AlertModalDeletedByInference large="true">
|
|
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="type" [type]="openaireEntities.PUBLICATIONS"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="'dataset'" [type]="openaireEntities.DATASETS"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="type" [type]="openaireEntities.SOFTWARE"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[modal]="AlertModalDeletedByInference"
|
|
[resultType]="'other'" [type]="openaireEntities.OTHER"></deletedByInference>
|
|
</modal-alert>
|
|
<modal-alert *ngIf="resultLandingInfo" #citeModal>
|
|
<citeThis *ngIf="citeThisClicked" [result]="resultLandingInfo" [id]="id"
|
|
[type]="title.toLowerCase()" [piwikSiteId]="piwikSiteId"></citeThis>
|
|
</modal-alert>
|
|
|
|
<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>
|
|
|
|
<modal-alert *ngIf="!isMobile && resultLandingInfo?.description" #descriptionModal
|
|
[large]="true">
|
|
<div [innerHTML]="resultLandingInfo.description"></div>
|
|
</modal-alert>
|
|
|
|
<!--<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.sdg?.length > 0"-->
|
|
<!-- #sdgSelectionModal [large]="true" (alertOutput)="sdgModalOutput()" (cancelOutput)="sdgModalCancel()">-->
|
|
<sdg-fos-suggest *ngIf="!isMobile && resultLandingInfo && (resultLandingInfo.sdg?.length > 0 || resultLandingInfo.fos?.length > 0)"
|
|
#sdgFosSuggest [title]="resultLandingInfo.title" [entityType]="resultLandingInfo.resultType">
|
|
</sdg-fos-suggest>
|
|
<!--</modal-alert>-->
|
|
|
|
<modal-alert *ngIf="resultLandingInfo && resultLandingInfo.fos?.length > 0"
|
|
#fosSelectionModal [large]="true">
|
|
<div>
|
|
<!-- <fos-selection [subjects]="resultLandingInfo.fos" [properties]="properties"></fos-selection>-->
|
|
</div>
|
|
</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>
|
|
|
|
<ng-template #relation_in_tab let-researchResults="researchResults" let-header="header">
|
|
<div
|
|
*ngIf="researchResults && researchResults.length > 0"
|
|
class="uk-margin-bottom">
|
|
<h6 *ngIf="header">{{header}}</h6>
|
|
<div *ngIf="relatedClassFilters?.length > 1" class="uk-margin-medium-bottom"
|
|
input type="select" placeholder="Filter by relation" inputClass="flat x-small"
|
|
[options]="relatedClassFilters" [(value)]="relatedClassSelected"
|
|
(valueChange)="relatedClassChanged()"></div>
|
|
|
|
<results-and-pages
|
|
[type]="openaireEntities.RESULTS"
|
|
[page]="relatedPage" [pageSize]="pageSize"
|
|
[totalResults]="researchResults.length">
|
|
</results-and-pages>
|
|
<ul class="uk-list uk-list-divider uk-margin">
|
|
<li *ngFor="let item of researchResults.slice((relatedPage-1)*pageSize, relatedPage*pageSize)">
|
|
<result-preview [properties]="properties"
|
|
[result]="getResultPreview(item)" [provenanceActionVocabulary]="provenanceActionVocabulary"
|
|
[relationsVocabulary]="relationsVocabulary"
|
|
[isCard]="false"></result-preview>
|
|
</li>
|
|
</ul>
|
|
<paging-no-load *ngIf="researchResults.length > pageSize"
|
|
class="uk-margin-top"
|
|
(pageChange)="updateRelatedPage($event)"
|
|
[currentPage]="relatedPage" [size]="pageSize"
|
|
[totalResults]="researchResults.length">
|
|
</paging-no-load>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template #summary_content>
|
|
<div id="summary" class="landing-section landing-section-height-auto uk-padding uk-padding-remove-horizontal">
|
|
<div *ngIf="!hasPrimaryInfo" class="uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
|
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
|
No summary information available
|
|
</div>
|
|
</div>
|
|
<div *ngIf="hasPrimaryInfo">
|
|
<!-- Description -->
|
|
<div *ngIf="resultLandingInfo.description && (!viewAllMobile || viewAllMobile == 'description')" class="uk-margin-medium-bottom">
|
|
<div class="uk-text-justify ">
|
|
<div *ngIf="viewAllMobile != 'description'" class="uk-text-meta">Abstract</div>
|
|
<div [ngClass]="viewAllMobile == 'description' ? '' : 'multi-line-ellipsis lines-10'">
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
[innerHTML]="resultLandingInfo.description"></div>
|
|
</div>
|
|
<div *ngIf="showViewMoreButton && viewAllMobile != 'description'" class="uk-flex uk-flex-right">
|
|
<a (click)="viewAllDescriptionClicked();" class="view-more-less-link">
|
|
View more
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.countries && resultLandingInfo.countries.length > 0 && !viewAllMobile" class="uk-margin-medium-bottom">
|
|
<div class="uk-text-meta">
|
|
{{(resultLandingInfo.countries.length === 1) ? 'Country ' : 'Countries '}}
|
|
</div>
|
|
<div>
|
|
{{resultLandingInfo.countries.join(", ")}}
|
|
</div>
|
|
</div>
|
|
<div *ngIf="(resultLandingInfo.subjects || resultLandingInfo.otherSubjects || resultLandingInfo.classifiedSubjects)
|
|
&& (!viewAllMobile || viewAllMobile == 'subjects' || viewAllMobile == 'classifiedSubjects')
|
|
&& (!isMobile || tabMobile=='Summary')"
|
|
class="uk-margin-medium-bottom">
|
|
<showSubjects [subjects]="resultLandingInfo.subjects"
|
|
[otherSubjects]="resultLandingInfo.otherSubjects"
|
|
[classifiedSubjects]="resultLandingInfo.classifiedSubjects"
|
|
[eoscSubjects]="resultLandingInfo.eoscSubjects"
|
|
[isMobile]="isMobile"
|
|
[viewAllSubjects]="viewAllMobile=='subjects'"
|
|
[viewAllClassifiedSubjects]="viewAllMobile=='classifiedSubjects'"
|
|
(viewAllClicked)="viewAllSubjectsMobileClicked($event)">
|
|
</showSubjects>
|
|
</div>
|
|
<!-- Related Organizations-->
|
|
<div *ngIf="resultLandingInfo.organizations && resultLandingInfo.organizations.length > 0 && (!viewAllMobile || viewAllMobile == 'organizations')"
|
|
class="uk-margin-medium-bottom uk-width-2-3@m">
|
|
<div *ngIf="viewAllMobile != 'organizations'" 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();" class="view-more-less-link uk-visible@m">
|
|
View all
|
|
</a>
|
|
<a (click)="viewAllOrganizationsMobileClicked()" class="view-more-less-link uk-hidden@m">
|
|
View all
|
|
</a>
|
|
</div>
|
|
<div *ngIf="viewAllOrganizations && lessBtnOrganizations" class="uk-text-center">
|
|
<a (click)="viewAllOrganizations = !viewAllOrganizations; lessBtnOrganizations=false;" class="view-more-less-link">View less</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template #references_content>
|
|
<div id="references" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<results-and-pages *ngIf="resultLandingInfo.references.length > pageSize" [type]="'references'"
|
|
[page]="referencesPage" [pageSize]="pageSize"
|
|
[totalResults]="resultLandingInfo.references.length">
|
|
</results-and-pages>
|
|
<div
|
|
*ngFor="let item of resultLandingInfo.references.slice((referencesPage-1)*pageSize, referencesPage*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]="properties.searchLinkToResult.split('?')[0]"
|
|
[queryParams]="{id: id.value}"
|
|
target="_blank">OpenAIRE</a>]
|
|
</span>
|
|
</ng-container>
|
|
</p>
|
|
</div>
|
|
<paging-no-load *ngIf="resultLandingInfo.references.length > pageSize"
|
|
(pageChange)="updateReferencesPage($event)"
|
|
[currentPage]="referencesPage" [size]="pageSize"
|
|
[totalResults]="resultLandingInfo.references.length">
|
|
</paging-no-load>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template #bioentities_content>
|
|
<results-and-pages *ngIf="bioentitiesNum > 2*pageSize" [type]="'bioentities'"
|
|
[page]="bioentitiesPage" [pageSize]="2*pageSize"
|
|
[totalResults]="bioentitiesNum">
|
|
</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>
|
|
<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)"
|
|
class="uk-card uk-card-default uk-card-body">
|
|
{{keyIn}}
|
|
</div>
|
|
<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">
|
|
{{keyIn}}
|
|
</a>
|
|
</div>
|
|
</ng-container>
|
|
</ng-container>
|
|
</div>
|
|
<paging-no-load *ngIf="bioentitiesNum > 2*pageSize"
|
|
(pageChange)="updateBioentitiesPage($event)"
|
|
[currentPage]="bioentitiesPage" [size]="2*pageSize"
|
|
[totalResults]="bioentitiesNum">
|
|
</paging-no-load>
|
|
</ng-template>
|
|
|
|
<ng-template #compatibleEOSC_content>
|
|
<div class="uk-flex uk-flex-between uk-flex-middle uk-margin-small-bottom">
|
|
<span class="uk-text-light-grey uk-text-nowrap uk-margin-small-right">Compatible EOSC Services</span>
|
|
</div>
|
|
|
|
<div class="uk-margin-small-bottom uk-flex">
|
|
<img src="assets/common-assets/eosc-logo.png"
|
|
loading="lazy" alt="eosc_logo" style="width:27px; height:27px">
|
|
<div class="uk-margin-small-left uk-flex uk-flex-column uk-flex-center">
|
|
<div *ngFor="let subject of resultLandingInfo.eoscSubjects; let i=index" class="uk-text-truncate">
|
|
<a [href]="subject.link" target="_blank" class="custom-external">{{subject.value}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<ng-template #enermapsTool_content>
|
|
<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
|
|
class=" uk-margin-right uk-margin-small-top custom-external"
|
|
[href]="properties.enermapsURL + '/?shared_id=' + enermapsId" target="_blank" >
|
|
Enermaps tool
|
|
</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>
|
|
</ng-template>
|
|
|
|
<ng-template #metricsContent>
|
|
<div id="metrics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<ul class="uk-subnav uk-subnav-pill-alt uk-margin-remove" uk-switcher>
|
|
<li>
|
|
<a href="#">Overview</a>
|
|
</li>
|
|
<li *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.citations || resultLandingInfo.measure.popularity || resultLandingInfo.measure.influence || resultLandingInfo.measure.impulse)">
|
|
<a href="#">Impact</a>
|
|
</li>
|
|
<li *ngIf="hasAltMetrics">
|
|
<a href="#">Social</a>
|
|
</li>
|
|
<li *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.downloads || resultLandingInfo.measure.views)">
|
|
<a href="#" (click)="clickedUsageMetrics()">Usage</a>
|
|
</li>
|
|
</ul>
|
|
<ul class="uk-switcher uk-margin-large-top">
|
|
<!-- overview -->
|
|
<li>
|
|
<div class="uk-flex uk-flex-wrap landing-metrics-overview">
|
|
<div *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.citations || resultLandingInfo.measure.popularity || resultLandingInfo.measure.influence || resultLandingInfo.measure.impulse)">
|
|
<div class="uk-grid-divider" uk-grid>
|
|
<div>
|
|
<div class="uk-text-center uk-margin-small-bottom">
|
|
<img src="assets/common-assets/bip-minimal.svg" loading="lazy" alt="BIP!"
|
|
style="width: 61px; height: 43px;">
|
|
</div>
|
|
<span class="uk-text-uppercase uk-text-xsmall">Impact by</span>
|
|
<span class="uk-display-block uk-text-bolder">BIP!</span>
|
|
</div>
|
|
<div>
|
|
<table class="uk-table uk-table-small">
|
|
<tbody>
|
|
<tr>
|
|
<td class="uk-padding-remove-top">
|
|
<icon name="cite" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-top">
|
|
Citations
|
|
</td>
|
|
<td class="uk-padding-remove-top uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.citations | number}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<icon name="fire" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td>
|
|
Popularity
|
|
</td>
|
|
<td class="uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.popularity}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<icon name="landmark" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td>
|
|
Influence
|
|
</td>
|
|
<td class="uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.influence}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="uk-padding-remove-bottom">
|
|
<icon name="rocket" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-bottom">
|
|
Impulse
|
|
</td>
|
|
<td class="uk-padding-remove-bottom uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.impulse}}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="hasAltMetrics">
|
|
<altmetrics id="{{resultLandingInfo.identifiers?.get('doi')[0]}}" type="doi" size="donut"></altmetrics>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.downloads || resultLandingInfo.measure.views)">
|
|
<div class="uk-grid-divider" uk-grid>
|
|
<div>
|
|
<div class="uk-text-center uk-margin-small-bottom">
|
|
<img src="assets/common-assets/logo-small-usage-counts.png" loading="lazy" alt="OpenAIRE UsageCounts">
|
|
</div>
|
|
<span class="uk-text-uppercase uk-text-xsmall">Usage by</span>
|
|
<span class="uk-display-block uk-text-bolder">UsageCounts</span>
|
|
</div>
|
|
<div>
|
|
<table class="uk-table uk-table-small">
|
|
<tbody>
|
|
<tr *ngIf="resultLandingInfo.measure.downloads">
|
|
<td class="uk-padding-remove-top">
|
|
<icon name="download" [flex]="true" [ratio]="1.2" customClass="uk-text-background text-usage-counts"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-top">
|
|
Downloads
|
|
</td>
|
|
<td class="uk-padding-remove-top uk-text-uppercase uk-text-bolder"
|
|
[attr.uk-tooltip]="resultLandingInfo.measure.downloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.downloads | number}}">
|
|
{{formatNumber(resultLandingInfo.measure.downloads)}}
|
|
</td>
|
|
</tr>
|
|
<tr *ngIf="resultLandingInfo.measure.views">
|
|
<td class="uk-padding-remove-bottom">
|
|
<icon name="visibility" [flex]="true" [ratio]="1.2" customClass="uk-text-background text-usage-counts"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-bottom">
|
|
Views
|
|
</td>
|
|
<td class="uk-padding-remove-bottom uk-text-uppercase uk-text-bolder"
|
|
[attr.uk-tooltip]="resultLandingInfo.measure.views >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.views | number}}">
|
|
{{formatNumber(resultLandingInfo.measure.views)}}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<!-- impact -->
|
|
<li *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.citations || resultLandingInfo.measure.popularity || resultLandingInfo.measure.influence || resultLandingInfo.measure.impulse)">
|
|
<div class="uk-flex uk-flex-center uk-flex-middle">
|
|
<div class="uk-card uk-card-default uk-padding-small">
|
|
<table class="uk-table uk-table-small uk-margin-remove">
|
|
<tbody>
|
|
<tr>
|
|
<td class="uk-padding-remove-top">
|
|
<icon name="cite" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-top">
|
|
Citations
|
|
</td>
|
|
<td class="uk-padding-remove-top uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.citations}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<icon name="fire" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td>
|
|
Popularity
|
|
</td>
|
|
<td class="uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.popularity}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<icon name="landmark" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td>
|
|
Influence
|
|
</td>
|
|
<td class="uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.influence}}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="uk-padding-remove-bottom">
|
|
<icon name="rocket" [flex]="true" [customClass]="'bip-icon'"></icon>
|
|
</td>
|
|
<td class="uk-padding-remove-bottom">
|
|
Impulse
|
|
</td>
|
|
<td class="uk-padding-remove-bottom uk-text-uppercase uk-text-bolder">
|
|
{{resultLandingInfo.measure.impulse}}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div *ngIf="bipFrameUrl" class="uk-margin-large-left">
|
|
<i-frame [height]="300" [url]="bipFrameUrl" [addClass]="false"
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply uk-height-1-1"></i-frame>
|
|
</div>
|
|
</div>
|
|
<div class="uk-text-center" [ngClass]="bipFrameUrl ? 'uk-margin-top' : 'uk-margin-large-top'">
|
|
<span class="uk-text-meta">Powered by</span>
|
|
<img class="uk-margin-small-left uk-margin-small-right" src="assets/common-assets/bip-minimal.svg" loading="lazy" alt="BIP!"
|
|
style="width: 61px; height: 43px;">
|
|
<span class="uk-text-bolder">BIP!</span>
|
|
</div>
|
|
</li>
|
|
<!-- social -->
|
|
<li *ngIf="hasAltMetrics">
|
|
<altmetrics id="{{resultLandingInfo.identifiers?.get('doi')[0]}}" type="doi" size="medium-donut"></altmetrics>
|
|
</li>
|
|
<!-- usage -->
|
|
<li *ngIf="resultLandingInfo.measure && (resultLandingInfo.measure.downloads || resultLandingInfo.measure.views)">
|
|
<div class="uk-flex uk-flex-center uk-flex-middle">
|
|
<div class="uk-margin-large-right">
|
|
<div *ngIf="resultLandingInfo.measure.downloads" class="uk-text-center uk-margin-medium-bottom">
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
[attr.uk-tooltip]="resultLandingInfo.measure.downloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.downloads | number}}">{{formatNumber(resultLandingInfo.measure.downloads)}}</div>
|
|
<div class="uk-text-bold">Downloads</div>
|
|
</div>
|
|
<div *ngIf="resultLandingInfo.measure.views" class="uk-text-center uk-margin-medium-bottom">
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
[attr.uk-tooltip]="resultLandingInfo.measure.views >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
title="{{resultLandingInfo.measure.views | number}}">{{formatNumber(resultLandingInfo.measure.views)}}</div>
|
|
<div class="uk-text-bold">Views</div>
|
|
</div>
|
|
</div>
|
|
<ng-container *ngIf="viewsFrameUrl || downloadsFrameUrl">
|
|
<div *ngIf="metricsClicked && downloadsFrameUrl && resultLandingInfo.measure.downloads" class="uk-margin-large-right">
|
|
<i-frame [height]="300" [url]="downloadsFrameUrl" [addClass]="false"
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply uk-height-1-1"></i-frame>
|
|
</div>
|
|
<div *ngIf="metricsClicked && viewsFrameUrl && resultLandingInfo.measure.views" class="uk-margin-large-right">
|
|
<i-frame [height]="300" [url]="viewsFrameUrl" [addClass]="false"
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply uk-height-1-1">
|
|
</i-frame>
|
|
</div>
|
|
</ng-container>
|
|
</div>
|
|
<div class="uk-text-center uk-margin-large-top">
|
|
<span class="uk-text-meta">Powered by</span>
|
|
<img class="uk-margin-small-left uk-margin-small-right uk-width-small" src="assets/common-assets/logo-large-usage-counts.png" loading="lazy" alt="OpenAIRE UsageCounts">
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<fs-modal *ngIf="resultLandingInfo && resultLandingInfo.deletedByInferenceIds" #AlertModalDeletedByInferenceFS classTitle="uk-tile-default uk-border-bottom">
|
|
<deletedByInference *ngIf="type == 'publication' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[resultType]="type" [type]="openaireEntities.PUBLICATIONS"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'dataset' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[resultType]="'dataset'" [type]="openaireEntities.DATASETS"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'software' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[resultType]="type" [type]="openaireEntities.SOFTWARE"></deletedByInference>
|
|
<deletedByInference *ngIf="type == 'orp' && deleteByInferenceOpened"
|
|
[id]="resultLandingInfo.record['result']['header']['dri:objIdentifier']"
|
|
[ids]="resultLandingInfo.deletedByInferenceIds"
|
|
[resultType]="'other'" [type]="openaireEntities.OTHER"></deletedByInference>
|
|
</fs-modal>
|
|
|
|
<fs-modal *ngIf="resultLandingInfo" #citeFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
<citeThis *ngIf="citeThisClicked" [result]="resultLandingInfo" [id]="id"
|
|
[type]="title.toLowerCase()" [piwikSiteId]="piwikSiteId"></citeThis>
|
|
</fs-modal>
|
|
|
|
<fs-modal *ngIf="resultLandingInfo" #addThisFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
<addThis></addThis>
|
|
</fs-modal> |