2022-05-03 13:22:53 +02:00
|
|
|
<div class="landing uk-section uk-padding-remove tm-middle">
|
|
|
|
<div class="tm-main">
|
2022-05-05 19:54:01 +02:00
|
|
|
<div class="dataprovider">
|
2022-06-02 15:11:24 +02:00
|
|
|
<div *ngIf="!showFeedback" class="uk-grid uk-margin-remove-left" uk-grid>
|
2022-05-03 13:22:53 +02:00
|
|
|
|
|
|
|
<!-- left box - actions -->
|
2023-01-23 15:19:00 +01:00
|
|
|
<!-- <div id="landing-left-sidebar" *ngIf="dataProviderInfo" class="uk-visible@s uk-padding-remove-horizontal">
|
2022-07-17 15:01:39 +02:00
|
|
|
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center uk-sticky"
|
2023-01-24 14:32:58 +01:00
|
|
|
uk-sticky="bottom: true" [attr.offset]="offset">
|
2022-05-03 13:22:53 +02:00
|
|
|
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
|
|
|
|
<ng-container *ngIf="dataProviderInfo && hasMetrics">
|
|
|
|
<metrics [pageViews]="pageViews"
|
2023-01-24 14:32:58 +01:00
|
|
|
[id]="datasourceId" [entityType]="'datasources'"
|
|
|
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
|
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
2022-05-03 13:22:53 +02:00
|
|
|
</metrics>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<div class="uk-margin-large-bottom uk-align-center">
|
2022-05-13 13:51:53 +02:00
|
|
|
<div class="uk-text-meta uk-text-uppercase">Actions</div>
|
2022-05-03 13:22:53 +02:00
|
|
|
<ul class="uk-list">
|
|
|
|
<li class="uk-text-center">
|
|
|
|
<a (click)="openAddThisModal()"
|
2023-01-24 14:32:58 +01:00
|
|
|
[title]="'Share this '+openaireEntities.DATASOURCE+' in your social networks'"
|
|
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
2022-05-03 13:22:53 +02:00
|
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
|
|
<icon name="share" visuallyHidden="share"></icon>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-23 15:19:00 +01:00
|
|
|
</div> -->
|
2022-05-03 13:22:53 +02:00
|
|
|
|
|
|
|
<!-- center box-->
|
2023-02-08 10:21:16 +01:00
|
|
|
<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-top uk-margin-small-bottom" [class.uk-invisible]="!dataProviderInfo">
|
|
|
|
<!-- 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)="showFeedback = true; scroll()" class="uk-text-xsmall"> Report it here</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">
|
|
|
|
|
2023-01-24 14:32:58 +01:00
|
|
|
<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>
|
|
|
|
|
2023-02-21 14:06:28 +01:00
|
|
|
<div *ngIf="!showLoading" class="uk-visible@s uk-margin-top uk-margin-bottom">
|
2023-01-24 14:32:58 +01:00
|
|
|
<div class="uk-flex uk-flex-middle uk-flex-center">
|
|
|
|
<div class="landing-action-bar uk-box-shadow-small uk-margin-bottom">
|
2023-02-16 11:59:18 +01:00
|
|
|
<div class="landing-action-bar-grid-gap uk-flex uk-flex-middle uk-text-xsmall">
|
2023-01-24 14:32:58 +01:00
|
|
|
<!-- Actions -->
|
2022-06-02 14:17:30 +02:00
|
|
|
<a (click)="openAddThisModal()"
|
2023-01-24 14:32:58 +01:00
|
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
2023-02-13 14:51:15 +01:00
|
|
|
<icon [flex]="true" [ratio]="0.8" name="share" visuallyHidden="share"></icon>
|
2023-01-24 14:32:58 +01:00
|
|
|
<span class="uk-margin-xsmall-left">Share</span>
|
2022-06-02 14:17:30 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-01-24 14:32:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-02-08 10:21:16 +01:00
|
|
|
<div class="uk-margin-left uk-margin-right" [style]="'margin-bottom: '+graph_height+'px'">
|
2023-01-24 14:32:58 +01:00
|
|
|
<ng-container *ngIf="dataProviderInfo">
|
|
|
|
<div [attr.style]="'margin-top: '+(graph_height? 'calc(40px + 20px - '+graph_height+'px)': '40px')">
|
2023-02-21 14:06:28 +01:00
|
|
|
<div class="uk-grid uk-grid-small" uk-grid>
|
2023-02-13 14:51:15 +01:00
|
|
|
<div class="uk-width-expand">
|
|
|
|
<!-- schema.org-->
|
|
|
|
<schema2jsonld [data]=dataProviderInfo
|
|
|
|
[URL]="canonicalUrl"
|
|
|
|
type="datasource"
|
|
|
|
[otherURL]="(dataProviderInfo.provenance)?provenanceUrls:null"></schema2jsonld>
|
|
|
|
<!-- Actions for mobile viewport -->
|
|
|
|
<div class="uk-flex uk-flex-right uk-margin-medium-bottom uk-hidden@s">
|
|
|
|
<div>
|
|
|
|
<a (click)="openAddThisModal()"
|
|
|
|
[title]="'Share this '+openaireEntities.DATASOURCE+' 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>
|
2023-01-24 14:32:58 +01:00
|
|
|
</a>
|
2023-02-13 14:51:15 +01:00
|
|
|
</div>
|
2023-01-24 14:32:58 +01:00
|
|
|
</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
|
|
|
|
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
|
|
|
|
[texts]="pageContents['top']"></helper>
|
|
|
|
|
|
|
|
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
|
|
|
|
[subTitle]="(dataProviderInfo.officialName
|
|
|
|
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
|
|
|
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null"
|
|
|
|
[entityType]="getTypeName()"
|
|
|
|
[compatibility]="dataProviderInfo.compatibility"
|
|
|
|
[aggregationStatus]="dataProviderInfo.aggregationStatus"
|
|
|
|
[thematic]="dataProviderInfo.thematic" [type]="type">
|
|
|
|
</landing-header>
|
|
|
|
|
|
|
|
<!-- Labels -->
|
|
|
|
<!-- Moved inside the landing-header -->
|
|
|
|
<!-- <div class="uk-margin-bottom uk-grid uk-grid-small uk-flex-middle" uk-grid>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.compatibility &&
|
|
|
|
!(dataProviderInfo.compatibility.info == 'not available' && type == 'service')">
|
|
|
|
<div>
|
|
|
|
<span class="uk-label uk-text-truncate" [class.uk-label-danger]="dataProviderInfo.compatibility.info == 'not available'" title="Compatibility">
|
|
|
|
<a *ngIf="dataProviderInfo.compatibility.id"
|
|
|
|
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"
|
|
|
|
[routerLink]="properties.searchLinkToDataProvider.split('?')[0]">
|
|
|
|
{{dataProviderInfo.compatibility.info}}
|
|
|
|
<ng-container *ngIf="dataProviderInfo.compatibility.name">{{dataProviderInfo.compatibility.name}}</ng-container>
|
|
|
|
</a>
|
|
|
|
<span *ngIf="!dataProviderInfo.compatibility.id">
|
|
|
|
<ng-container *ngIf="dataProviderInfo.compatibility.info.toLowerCase() != 'not yet registered'">{{dataProviderInfo.compatibility.info}}</ng-container>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.compatibility.info.toLowerCase() == 'not yet registered'">
|
|
|
|
{{dataProviderInfo.compatibility.info}} <span *ngIf="properties.adminToolsPortalType == 'eosc'">in OpenAIRE</span>
|
|
|
|
</ng-container>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">
|
|
|
|
{{dataProviderInfo.compatibility.name}}
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0">
|
|
|
|
<div>
|
|
|
|
<span class="uk-label uk-text-truncate">OpenAIRE Text Mining</span>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.countries && removeUnknown(dataProviderInfo.countries).length > 0">
|
|
|
|
<ng-container *ngFor="let country of removeUnknown(dataProviderInfo.countries)">
|
|
|
|
<div>
|
|
|
|
<span class="uk-label label-country" title="Country">{{country}}</span>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.thematic">
|
|
|
|
<div>
|
|
|
|
<span class="uk-label uk-text-truncate">Thematic</span>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
<!-- Web Page -->
|
|
|
|
<div *ngIf="dataProviderInfo.title && dataProviderInfo.title.url"
|
|
|
|
class="uk-text-small uk-margin-small-top">
|
|
|
|
<span class="uk-text-meta">Web page: </span>
|
|
|
|
<a [href]="dataProviderInfo.title.url" target="_blank"
|
|
|
|
class="uk-button uk-button-text uk-text-lowercase uk-text-normal custom-external">
|
|
|
|
{{dataProviderInfo.title.url}}
|
|
|
|
</a>
|
2023-01-24 14:32:58 +01:00
|
|
|
</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
|
|
|
|
<!-- Identifiers -->
|
|
|
|
<div *ngIf="dataProviderInfo.identifiers && dataProviderInfo.identifiers.size > 0" class="uk-margin-small-top uk-text-small">
|
|
|
|
<showIdentifiers [identifiers]="dataProviderInfo.identifiers" [showViewAll]="true"></showIdentifiers>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-21 14:06:28 +01:00
|
|
|
<div *ngIf="dataProviderInfo && hasMetrics" class="uk-width-1-1 uk-width-medium@s">
|
|
|
|
<div class="landing-metrics-card uk-card uk-card-secondary uk-text-small uk-flex uk-padding-small">
|
2023-02-13 14:51:15 +01:00
|
|
|
<div class="uk-width-expand uk-flex uk-flex-middle">
|
2023-02-20 18:29:21 +01:00
|
|
|
<div class="uk-grid uk-grid-small uk-flex-nowrap" uk-grid uk-height-match="target: > div > .cell">
|
2023-02-13 14:51:15 +01:00
|
|
|
<div>
|
|
|
|
<div *ngIf="totalDownloads" class="cell uk-margin-xsmall-bottom uk-flex uk-flex-middle"><icon name="download" [ratio]="0.8" [flex]="true"></icon></div>
|
|
|
|
<div *ngIf="totalViews" class="cell uk-flex uk-flex-middle"><icon name="visibility" [ratio]="0.8" [flex]="true"></icon></div>
|
|
|
|
</div>
|
|
|
|
<div>
|
2023-02-20 18:29:21 +01:00
|
|
|
<div *ngIf="totalDownloads" class="cell uk-margin-xsmall-bottom"
|
2023-02-21 18:13:15 +01:00
|
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small uk-width-medium'"
|
|
|
|
[title]="getMetricsTooltip('downloads')">Downloads</div>
|
2023-02-20 18:29:21 +01:00
|
|
|
<div *ngIf="totalViews" class="cell"
|
2023-02-21 18:13:15 +01:00
|
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small uk-width-medium'"
|
|
|
|
[title]="getMetricsTooltip('views')">Views</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
</div>
|
|
|
|
<div class="uk-text-uppercase uk-text-bolder">
|
2023-02-16 11:59:18 +01:00
|
|
|
<div *ngIf="totalDownloads" [attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalDownloads | number}}" class="cell uk-margin-xsmall-bottom">{{formatNumber(totalDownloads)}}</div>
|
|
|
|
<div *ngIf="totalViews" [attr.uk-tooltip]="totalViews >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalViews | number}}" class="cell">{{formatNumber(totalViews)}}</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
</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">
|
2023-01-24 14:32:58 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
</div>
|
2023-01-24 14:32:58 +01:00
|
|
|
</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]="dataProviderInfo.title.name"
|
2023-02-08 10:21:16 +01:00
|
|
|
[entityType]="getTypeName()"
|
2023-01-24 14:32:58 +01:00
|
|
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null"
|
|
|
|
isSticky="true">
|
|
|
|
</landing-header>
|
|
|
|
<!-- <showTitle *ngIf="stickyHeader" [titleName]="dataProviderInfo.title.name" 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="fetchProjects.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.PROJECTS" [tabNumber]="fetchProjects.searchUtils.totalResults"
|
|
|
|
[tabId]="'projects'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="fetchDataproviders.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.DATASOURCES" [tabNumber]="fetchDataproviders.searchUtils.totalResults"
|
|
|
|
[tabId]="'datasources'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="fetchPublications.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.PUBLICATIONS" [tabNumber]="fetchPublications.searchUtils.totalResults"
|
|
|
|
[tabId]="'publications'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="fetchDatasets.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.DATASETS" [tabNumber]="fetchDatasets.searchUtils.totalResults"
|
|
|
|
[tabId]="'datasets'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="fetchSoftware.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.SOFTWARE" [tabNumber]="fetchSoftware.searchUtils.totalResults"
|
|
|
|
[tabId]="'software'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
|
|
|
[tabTitle]="openaireEntities.OTHER" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
|
|
|
[tabId]="'other'">
|
|
|
|
</my-tab>
|
|
|
|
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
|
|
|
[tabTitle]="'Related '+openaireEntities.DATASOURCES" [tabId]="'relatedDatasources'">
|
|
|
|
</my-tab>
|
2023-02-13 14:51:15 +01:00
|
|
|
<my-tab *ngIf="dataProviderInfo && hasMetrics"
|
|
|
|
[tabTitle]="'Metrics'" [tabId]="'metrics'">
|
|
|
|
</my-tab>
|
2023-01-24 14:32:58 +01:00
|
|
|
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
|
|
|
[tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'" [active]="false">
|
|
|
|
</my-tab>
|
|
|
|
</my-tabs>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="landing-sections" class="uk-text-small">
|
|
|
|
<div id="summary" class="landing-section landing-section-height-auto">
|
|
|
|
<div class="uk-card uk-card-default card-tab uk-grid uk-margin-remove-left uk-margin-medium-top uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="!(hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)) && !hasSecondaryInfo"
|
|
|
|
class="uk-width-expand 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 || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)"
|
|
|
|
class="uk-width-expand uk-padding uk-inline">
|
|
|
|
<!-- Description -->
|
|
|
|
<div *ngIf="dataProviderInfo.description" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-justify">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
<div class="multi-line-ellipsis lines-10">
|
|
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
|
|
[innerHtml]="dataProviderInfo.description"></div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showViewMoreButton" class="uk-flex uk-flex-right">
|
|
|
|
<a (click)="openDescriptionModal();" class="view-more-less-link">
|
|
|
|
View more
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ul *ngIf="hasJournalInfo" class="uk-list uk-margin-medium-bottom uk-margin-remove-top">
|
|
|
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div *ngIf="hasAggregationStatusInfo || dataProviderInfo.fundedContent"
|
|
|
|
class="uk-margin-medium-bottom uk-animation-fade uk-animation-fast">
|
|
|
|
<span *ngIf="dataProviderInfo.aggregationStatus?.fulltexts && dataProviderInfo.aggregationStatus?.fulltexts != -1"
|
|
|
|
class="uk-margin-right uk-display-inline-block">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Collected full-texts</div>
|
|
|
|
{{dataProviderInfo.aggregationStatus.fulltexts | number}}
|
|
|
|
</span>
|
|
|
|
<span *ngIf="dataProviderInfo.fundedContent && dataProviderInfo.fundedContent > 0"
|
|
|
|
class="uk-display-inline-block">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Results with funding information</div>
|
|
|
|
{{dataProviderInfo.fundedContent | number}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="!aggregationStatusIsInitialized || !dataProviderInfo.fundedContent"
|
|
|
|
class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert">
|
|
|
|
<span class="loading-gif uk-align-center"></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Countries</div>
|
|
|
|
{{dataProviderInfo.countries.join(", ")}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.jurisdiction" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Jurisdiction</div>
|
|
|
|
{{dataProviderInfo.jurisdiction}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.contentpolicy" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Content policy</div>
|
|
|
|
{{dataProviderInfo.contentpolicy}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Subjects -->
|
|
|
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0"
|
|
|
|
class="uk-margin-medium-bottom uk-margin-bottom">
|
|
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Subjects </div>
|
|
|
|
<span>{{dataProviderInfo.subjects.slice(0, lessBtnSubjects ? dataProviderInfo.subjects.length : thresholdSubjects).join(", ")}}</span>
|
|
|
|
<span *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"> ... </span>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllSubjectsClick();" class="view-more-less-link">
|
|
|
|
View all {{dataProviderInfo.subjects.length | number}} subjects
|
2022-09-21 12:32:21 +02:00
|
|
|
</a>
|
|
|
|
</div>
|
2023-01-24 14:32:58 +01:00
|
|
|
<div *ngIf="viewAllSubjects && lessBtnSubjects" class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllSubjects = !viewAllSubjects; lessBtnSubjects=false;" class="view-more-less-link">View less subjects</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div *ngIf="hasSecondaryInfo"
|
|
|
|
[class]="'uk-inline uk-padding uk-padding-remove-horizontal ' + (hasPrimaryInfo?'uk-width-1-3@m': 'uk-width-expand')">
|
|
|
|
<div class="uk-padding uk-padding-remove-vertical uk-height-1-1">
|
|
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.provenance?.size > 0"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">OAI-PMH</div>
|
|
|
|
<a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}" class="custom-external">
|
|
|
|
{{dataProviderInfo.oaiPmhURL}}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.provenance?.size > 0" class="uk-display-inline-block">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Detailed information @ </div>
|
|
|
|
<span *ngFor="let provenance of getKeys(dataProviderInfo.provenance); let i=index">
|
|
|
|
<a *ngIf="dataProviderInfo.provenance.get(provenance).url.length == 1" class="custom-external uk-link-text"
|
|
|
|
target="_blank" href="{{dataProviderInfo.provenance.get(provenance).url}}">
|
|
|
|
{{provenance}}
|
|
|
|
</a>
|
|
|
|
<ng-container *ngIf="dataProviderInfo.provenance.get(provenance).url.length > 1">
|
|
|
|
<span class="custom-external">{{provenance}}</span>
|
|
|
|
<ng-container *ngFor="let url of dataProviderInfo.provenance.get(provenance).url; let i=index">
|
|
|
|
[<a target="_blank" href="{{url}}">{{i}}</a>]
|
|
|
|
</ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<span *ngIf="i < dataProviderInfo.provenance.size-1">, </span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">{{openaireEntities.ORGANIZATIONS}}</div>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? dataProviderInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllOrganizationsClick();" class="view-more-less-link">
|
|
|
|
View all {{dataProviderInfo.organizations.length | number}} organizations
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="viewAllOrganizations && lessBtnOrganizations" class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllOrganizations = !viewAllOrganizations; lessBtnOrganizations=false;" class="view-more-less-link">View less organizations</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Projects-->
|
|
|
|
<ng-container *ngIf="fetchProjects.searchUtils.totalResults > 0">
|
|
|
|
<div id="projects" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchProjects" resultType="project"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedProjects"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!-- Datasources -->
|
|
|
|
<ng-container *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
|
|
<div id="datasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchDataproviders" resultType="dataprovider"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedDataProviders"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!--Publications-->
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
<div id="publications" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
|
|
[params]="getParamsForSearchLink('publications')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!--Research Data-->
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
<div id="datasets" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!--Software-->
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
<div id="software" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
|
|
[params]="getParamsForSearchLink('software')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!--Other-->
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
<div id="other" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
|
|
[params]="getParamsForSearchLink('other')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
<!--Related Datasources-->
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<div id="relatedDatasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<relatedDatasourcesTab
|
|
|
|
[dataproviderId]="datasourceId"
|
|
|
|
[results]="dataProviderInfo.relatedDatasources"
|
|
|
|
[loading]="loadingRelatedDatasources"
|
|
|
|
[fetchResults]="fetchAggregatorsResults"
|
|
|
|
[collectedFromName]="dataProviderInfo.title.name"
|
|
|
|
[properties]=properties
|
|
|
|
[modal]="relatedDatasourcesModal">
|
|
|
|
</relatedDatasourcesTab>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2023-02-13 14:51:15 +01:00
|
|
|
<!-- Metrics -->
|
|
|
|
<ng-container *ngIf="dataProviderInfo && hasMetrics">
|
|
|
|
<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>
|
2023-02-21 14:06:28 +01:00
|
|
|
<li class="uk-padding-remove">
|
2023-02-13 14:51:15 +01:00
|
|
|
<a href="#">Overview</a>
|
|
|
|
</li>
|
|
|
|
<li *ngIf="totalDownloads ||totalViews">
|
|
|
|
<a href="#" (click)="clickedUsageMetrics()">Usage</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="uk-switcher uk-margin-large-top">
|
|
|
|
<!-- overview -->
|
|
|
|
<li>
|
|
|
|
<div *ngIf="totalDownloads || totalViews">
|
|
|
|
<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="totalDownloads">
|
|
|
|
<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>
|
2023-02-16 11:59:18 +01:00
|
|
|
<td class="uk-padding-remove-top uk-text-uppercase uk-text-bolder"
|
|
|
|
[attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalDownloads | number}}">
|
|
|
|
{{formatNumber(totalDownloads)}}
|
2023-02-13 14:51:15 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr *ngIf="totalViews">
|
|
|
|
<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>
|
2023-02-16 11:59:18 +01:00
|
|
|
<td class="uk-padding-remove-bottom uk-text-uppercase uk-text-bolder"
|
|
|
|
[attr.uk-tooltip]="totalViews >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalViews | number}}">
|
|
|
|
{{formatNumber(totalViews)}}
|
2023-02-13 14:51:15 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<!-- usage -->
|
|
|
|
<li>
|
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<div class="uk-margin-large-right">
|
|
|
|
<div *ngIf="totalDownloads" class="uk-text-center uk-margin-medium-bottom">
|
2023-02-16 11:59:18 +01:00
|
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
|
|
[attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalDownloads | number}}">{{formatNumber(totalDownloads)}}</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
<div class="uk-text-bold">Downloads</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="totalViews" class="uk-text-center uk-margin-medium-bottom">
|
2023-02-16 11:59:18 +01:00
|
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
|
|
[attr.uk-tooltip]="totalViews >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalViews | number}}">{{formatNumber(totalViews)}}</div>
|
2023-02-13 14:51:15 +01:00
|
|
|
<div class="uk-text-bold">Views</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ng-container *ngIf="viewsFrameUrl || downloadsFrameUrl">
|
|
|
|
<div *ngIf="metricsClicked && downloadsFrameUrl && totalDownloads" 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 && totalViews" 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-container>
|
2023-01-24 14:32:58 +01:00
|
|
|
<!--Statistics-->
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
|
|
|
<div id="statistics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div class="uk-text-meta uk-text-large uk-text-uppercase uk-margin-medium-bottom">Statistics</div>
|
|
|
|
<errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status,
|
|
|
|
fetchSoftware.searchUtils.status, fetchOrps.searchUtils.status]"
|
|
|
|
[type]="'statistics'" tab_error_class=true></errorMessages>
|
|
|
|
<div *ngIf="statsClicked &&
|
|
|
|
(fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE
|
|
|
|
|| fetchSoftware.searchUtils.status == errorCodes.DONE || fetchOrps.searchUtils.status == errorCodes.DONE)">
|
|
|
|
<statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"
|
|
|
|
[fetchSoftware]="fetchSoftware" [fetchOther]="fetchOrps"
|
|
|
|
[datasourceId]="datasourceId">
|
|
|
|
</statisticsTab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</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>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-03 13:22:53 +02:00
|
|
|
|
|
|
|
<feedback *ngIf="dataProviderInfo && properties.reCaptchaSiteKey" [dataProviderInfo]="dataProviderInfo"
|
2022-05-13 14:57:31 +02:00
|
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
|
|
|
[(showForm)]="showFeedback"></feedback>
|
2022-05-03 13:22:53 +02:00
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo" #addThisModal classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<addThis></addThis>
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo && dataProviderInfo.organizations" #organizationsModal>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: dataProviderInfo.organizations.length}"></ng-container>
|
|
|
|
</modal-alert>
|
|
|
|
|
2022-09-21 12:32:21 +02:00
|
|
|
<modal-alert *ngIf="dataProviderInfo?.description" #descriptionModal
|
|
|
|
[large]="true">
|
|
|
|
<div [innerHTML]="dataProviderInfo.description"></div>
|
|
|
|
</modal-alert>
|
|
|
|
|
2022-05-03 13:22:53 +02:00
|
|
|
<ng-template #organizations_template let-threshold="threshold">
|
|
|
|
<span *ngFor="let organization of dataProviderInfo.organizations.slice(0, threshold); let i=index" class="uk-text-small"
|
|
|
|
[attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
|
|
[title]="organization.name">
|
|
|
|
<a *ngIf="organization.id" class="uk-link-text"
|
2023-01-24 14:32:58 +01:00
|
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
|
|
[routerLink]="properties.searchLinkToOrganization.split('?')[0]">
|
2022-05-03 13:22:53 +02:00
|
|
|
{{(organization.acronym) ? organization.acronym : ''}}
|
|
|
|
{{(!organization.acronym && organization.name) ? organization.name : ''}}
|
|
|
|
</a>
|
|
|
|
<span *ngIf="!organization.id">
|
|
|
|
<span *ngIf="organization.acronym">{{organization.acronym}}</span>
|
|
|
|
<span *ngIf="!organization.acronym && organization.name">{{organization.name}}</span>
|
|
|
|
<span *ngIf="(i < dataProviderInfo.organizations.length-1)">,</span>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="(i < dataProviderInfo.organizations.length-1)">, </span>
|
|
|
|
</span>
|
|
|
|
<span *ngIf="dataProviderInfo.organizations.length > threshold"> ... </span>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo && dataProviderInfo.subjects" #subjectsModal>
|
|
|
|
<span>{{dataProviderInfo.subjects.join(", ")}}</span>
|
|
|
|
</modal-alert>
|