2023-03-01 15:49:42 +01:00
|
|
|
<!-- Desktop view -->
|
|
|
|
<div class="uk-visible@m landing uk-section uk-padding-remove tm-middle">
|
|
|
|
<div *ngIf="!isMobile" class="tm-main">
|
2022-05-05 19:54:01 +02:00
|
|
|
<div class="dataprovider">
|
2023-03-16 16:53:28 +01:00
|
|
|
<div *ngIf="properties.adminToolsPortalType == 'eosc'" class="eosc-explore-back-search-bar">
|
|
|
|
<div class="uk-light uk-container uk-container-large uk-padding-small uk-height-1-1">
|
|
|
|
<div class="uk-flex uk-flex-inline uk-flex-middle uk-height-1-1">
|
2023-04-20 19:06:53 +02:00
|
|
|
<a [href]="eoscBackLink" target="_self" class="uk-link-reset uk-flex uk-flex-middle uk-text-light uk-text-small">
|
2023-03-16 16:53:28 +01:00
|
|
|
<icon name="arrow_back" visuallyHidden="back" flex="true" ratio="0.7" customClass="uk-text-light"></icon>
|
|
|
|
<span class="uk-margin-small-left">Go to Search</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
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-03-31 12:28:35 +02: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-03-31 12:28:35 +02: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-03-31 12:28:35 +02: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">
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<ng-template #graph_and_feedback_template>
|
2023-04-06 11:06:12 +02:00
|
|
|
<div class="uk-container uk-container-xlarge uk-flex uk-flex-between uk-flex-wrap uk-margin-small-top uk-margin-small-bottom" [class.uk-invisible]="!dataProviderInfo">
|
2023-03-31 12:28:35 +02:00
|
|
|
<!-- Last Index Info-->
|
2023-03-28 18:27:02 +02:00
|
|
|
<a href="https://graph.openaire.eu" target="_blank" class="uk-width-1-1 uk-width-auto@l">
|
|
|
|
<img src="assets/common-assets/openaire-badge-1.png" alt="Powered by OpenAIRE graph" style="height: 15px;">
|
|
|
|
</a>
|
|
|
|
<span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-meta uk-width-1-1 uk-width-auto@l">
|
|
|
|
Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
|
|
|
</span>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<!--Feedback-->
|
2023-03-28 18:27:02 +02:00
|
|
|
<div *ngIf="properties.reCaptchaSiteKey" class="uk-width-1-1 uk-width-auto@l">
|
|
|
|
<span class="uk-text-meta uk-text-xsmall">Found an issue? </span>
|
|
|
|
<a (click)="showFeedback = true; scroll()" class="uk-text-xsmall">Give us feedback</a>
|
2023-03-31 12:28:35 +02:00
|
|
|
</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>
|
|
|
|
|
2023-06-08 09:55:12 +02:00
|
|
|
<div *ngIf="!showLoading && dataProviderInfo" class="uk-visible@s uk-margin-top uk-margin-bottom">
|
2023-03-31 12:28:35 +02:00
|
|
|
<div class="uk-flex uk-flex-middle uk-flex-center">
|
2023-04-21 11:49:14 +02:00
|
|
|
<div class="landing-action-bar uk-text-xsmall uk-box-shadow-small uk-margin-bottom">
|
|
|
|
<entity-actions [share]="true" [type]="'dataprovider'"></entity-actions>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="uk-margin-left uk-margin-right" [style]="'margin-bottom: '+graph_height+'px'">
|
|
|
|
<ng-container *ngIf="dataProviderInfo">
|
|
|
|
<div [attr.style]="'margin-top: '+(graph_height? 'calc(40px + 20px - '+graph_height+'px)': '40px')">
|
|
|
|
<div class="uk-grid uk-grid-small" uk-grid>
|
|
|
|
<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>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<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"
|
2023-05-09 18:04:06 +02:00
|
|
|
[journal]="dataProviderInfo.journal" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</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>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<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">
|
|
|
|
<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>
|
2023-05-04 14:15:47 +02:00
|
|
|
<ng-container>
|
|
|
|
<ng-container *ngFor="let measure of dataProviderInfo.measure.counts; let i = index">
|
|
|
|
<div *ngIf="measure.value" class="cell uk-flex uk-flex-middle" [class.uk-margin-xsmall-bottom]="i != dataProviderInfo.measure.counts.length - 1">
|
|
|
|
<icon [name]="measure.icon" [ratio]="0.8" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-05-04 14:15:47 +02:00
|
|
|
<ng-container *ngFor="let measure of dataProviderInfo.measure.counts; let i = index">
|
|
|
|
<div *ngIf="measure.value" class="cell" [class.uk-margin-xsmall-bottom]="i != dataProviderInfo.measure.counts.length - 1">
|
|
|
|
<a class="uk-text-capitalize">{{measure.name}}</a>
|
|
|
|
<ng-container *ngTemplateOutlet="dropInfo; context: {option: measure.name, isCompact: false}"></ng-container>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
2023-03-27 15:32:41 +02:00
|
|
|
<ng-template #dropInfo let-option=option>
|
2023-03-31 12:28:35 +02:00
|
|
|
<div class="uk-dropdown" uk-dropdown="pos: bottom-left; mode:click; container: #modal-container;">
|
|
|
|
<div class="uk-padding-small uk-width-medium uk-text-small" [innerHTML]="getMetricsTooltip(option) | safeHtml">
|
2023-03-27 15:32:41 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
2023-03-31 12:28:35 +02:00
|
|
|
<div class="uk-text-uppercase uk-text-bolder">
|
2023-05-04 14:15:47 +02:00
|
|
|
<ng-container *ngFor="let measure of dataProviderInfo.measure.counts; let i = index">
|
|
|
|
<div *ngIf="measure.value" [attr.uk-tooltip]="measure.value >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{measure.value | number}}" class="cell" [class.uk-margin-xsmall-bottom]="i != dataProviderInfo.measure.counts.length - 1">
|
|
|
|
{{formatNumber(measure.value)}}
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02: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">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</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">
|
2023-05-15 16:28:33 +02:00
|
|
|
<landing-header [ngClass]="stickyHeader ? 'uk-visible@m' : 'uk-invisible'"
|
2023-03-31 12:28:35 +02:00
|
|
|
[properties]="properties" [title]="dataProviderInfo.title.name"
|
|
|
|
[entityType]="getTypeName()"
|
|
|
|
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null"
|
2023-05-09 18:04:06 +02:00
|
|
|
isSticky="true" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</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>
|
|
|
|
<my-tab *ngIf="dataProviderInfo && hasMetrics"
|
|
|
|
[tabTitle]="'Metrics'" [tabId]="'metrics'">
|
|
|
|
</my-tab>
|
|
|
|
<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">
|
|
|
|
<ng-container>
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchProjects.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="projects_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="dataproviders_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="publications_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="datasets_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="software_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
<ng-container *ngTemplateOutlet="other_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<ng-container *ngTemplateOutlet="relatedDatasources_content"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="dataProviderInfo && hasMetrics">
|
|
|
|
<ng-container *ngTemplateOutlet="metricsContent"></ng-container>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<ng-container *ngTemplateOutlet="statistics_content"></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>
|
2017-12-19 13:53:46 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-03 13:22:53 +02:00
|
|
|
|
2023-03-01 15:49:42 +01:00
|
|
|
<!-- Mobile view -->
|
|
|
|
<div *ngIf="isMobile" class="uk-hidden@m uk-position-relative landing">
|
2023-03-31 12:28:35 +02:00
|
|
|
<ng-container *ngIf="dataProviderInfo">
|
|
|
|
<div *ngIf="mobileContent == 'info'" class="uk-container uk-section">
|
|
|
|
<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"
|
2023-05-09 18:04:06 +02:00
|
|
|
[journal]="dataProviderInfo.journal" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</landing-header>
|
|
|
|
<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>
|
|
|
|
</div>
|
|
|
|
<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 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="fetchProjects.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(projectsFsModal, openaireEntities.PROJECTS); onSelectActiveTab('projects')">
|
|
|
|
<span>{{openaireEntities.PROJECTS}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(dataprovidersFsModal, openaireEntities.DATASOURCES); onSelectActiveTab('datasources')">
|
|
|
|
<span>{{openaireEntities.DATASOURCES}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(publicationsFsModal, openaireEntities.PUBLICATIONS); onSelectActiveTab('publications')">
|
|
|
|
<span>{{openaireEntities.PUBLICATIONS}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(datasetsFsModal, openaireEntities.DATASETS); onSelectActiveTab('datasets')">
|
|
|
|
<span>{{openaireEntities.DATASETS}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(softwareFsModal, openaireEntities.SOFTWARE); onSelectActiveTab('software')">
|
|
|
|
<span>{{openaireEntities.SOFTWARE}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(otherFsModal, openaireEntities.OTHER); onSelectActiveTab('other')">
|
|
|
|
<span>{{openaireEntities.OTHER}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(relatedDatasourcesFsModal, 'Related '+openaireEntities.DATASOURCES); onSelectActiveTab('relatedDatasources')">
|
|
|
|
<span>Related {{openaireEntities.DATASOURCES}}</span>
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(statisticsFsModal, 'Statistics'); onSelectActiveTab('statistics')">
|
|
|
|
<span>Statistics</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>
|
2023-03-01 15:49:42 +01:00
|
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
2023-03-31 12:28:35 +02:00
|
|
|
(click)="openFsModal(addThisFsModal, 'Share this '+openaireEntities.DATASOURCE+' in your social networks')">
|
2023-03-01 15:49:42 +01:00
|
|
|
<icon [flex]="true" name="share" visuallyHidden="share"></icon>
|
|
|
|
<span class="uk-margin-small-left">Share</span>
|
|
|
|
</div>
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</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]="hasMetrics ? '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'">
|
|
|
|
<icon name="note_add" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'info' ? 'uk-text-primary': ''"></icon>
|
|
|
|
<span>{{openaireEntities.DATASOURCE}}</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo && hasMetrics">
|
|
|
|
<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()">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #projectsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchProjects.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="projects_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #dataprovidersFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="dataproviders_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #publicationsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchPublications.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="publications_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #datasetsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="datasets_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #softwareFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="software_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #otherFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="fetchOrps.searchUtils.totalResults > 0">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="other_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #relatedDatasourcesFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
2023-03-01 15:49:42 +01:00
|
|
|
<ng-container *ngTemplateOutlet="relatedDatasources_content"></ng-container>
|
|
|
|
</fs-modal>
|
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
<fs-modal #statisticsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
*ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
<ng-container *ngTemplateOutlet="statistics_content"></ng-container>
|
|
|
|
</fs-modal>
|
2023-03-01 15:49:42 +01:00
|
|
|
|
2023-03-31 12:28:35 +02:00
|
|
|
</ng-container>
|
2023-03-01 15:49:42 +01:00
|
|
|
</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
|
2023-03-31 12:28:35 +02:00
|
|
|
[large]="true">
|
|
|
|
<div [innerHTML]="dataProviderInfo.description"></div>
|
2022-09-21 12:32:21 +02:00
|
|
|
</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-04-20 19:06:53 +02:00
|
|
|
[queryParams]="addEoscPrevInParams({organizationId: organization.id})" routerLinkActive="router-link-active"
|
2022-05-03 13:22:53 +02:00
|
|
|
[routerLink]="properties.searchLinkToOrganization.split('?')[0]">
|
|
|
|
{{(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>
|
2023-03-01 15:49:42 +01:00
|
|
|
|
|
|
|
<ng-template #summary_content>
|
2023-03-31 12:28:35 +02:00
|
|
|
<div id="summary" class="landing-section landing-section-height-auto">
|
|
|
|
<div class="uk-grid uk-margin-remove-left uk-margin-medium-top uk-margin-medium-bottom" [ngClass]="isMobile ? '' : 'uk-card uk-card-default card-tab'">
|
|
|
|
<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-inline" [ngClass]="isMobile ? 'uk-padding-remove' : 'uk-padding'">
|
|
|
|
<!-- Description -->
|
|
|
|
<div *ngIf="dataProviderInfo.description && (!viewAllMobile || viewAllMobile == 'description')" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-justify">
|
|
|
|
<div *ngIf="viewAllMobile != 'description'" class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
<div [ngClass]="viewAllMobile == 'description' ? '' : 'multi-line-ellipsis lines-10'">
|
|
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
|
|
[innerHtml]="dataProviderInfo.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>
|
|
|
|
|
|
|
|
<!-- <ul *ngIf="hasJournalInfo" class="uk-list uk-margin-medium-bottom uk-margin-remove-top">
|
|
|
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
|
|
|
</ul> -->
|
|
|
|
|
|
|
|
<ng-container *ngIf="!viewAllMobile">
|
|
|
|
<div *ngIf="hasAggregationStatusInfo || (dataProviderInfo.fundedContent && dataProviderInfo.fundedContent > 0)"
|
|
|
|
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>
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
<!-- Subjects -->
|
|
|
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0 && (!viewAllMobile || viewAllMobile == 'subjects')"
|
|
|
|
class="uk-margin-medium-bottom uk-margin-bottom">
|
|
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
|
|
<div *ngIf="viewAllMobile != 'subjects'" class="uk-text-meta uk-margin-small-bottom">Subjects </div>
|
|
|
|
<ng-container *ngIf="!viewAllMobile">
|
|
|
|
<span>{{dataProviderInfo.subjects.slice(0, lessBtnSubjects ? dataProviderInfo.subjects.length : thresholdSubjects).join(", ")}}</span>
|
|
|
|
<span *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"> ... </span>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="viewAllMobile == 'subjects'">
|
|
|
|
<span>{{dataProviderInfo.subjects.join(", ")}}</span>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects && viewAllMobile != 'subjects'"
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllSubjectsClick();" class="view-more-less-link">
|
|
|
|
View all {{dataProviderInfo.subjects.length | number}} subjects
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<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-remove-horizontal ' + (hasPrimaryInfo?'uk-width-1-3@m': 'uk-width-expand')" [ngClass]="isMobile ? '' : 'uk-padding'">
|
|
|
|
<div class="uk-height-1-1" [ngClass]="isMobile ? '' : 'uk-padding uk-padding-remove-vertical'">
|
|
|
|
<div *ngIf="(dataProviderInfo.oaiPmhURL || dataProviderInfo.provenance?.size > 0) && !viewAllMobile"
|
|
|
|
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 && (!viewAllMobile || viewAllMobile == 'organizations')"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="viewAllMobile != 'organizations'" class="uk-text-meta uk-margin-small-bottom">{{openaireEntities.ORGANIZATIONS}}</div>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: (lessBtnOrganizations || viewAllMobile == 'organizations') ? dataProviderInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations && viewAllMobile != 'organizations'"
|
|
|
|
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>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #projects_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="projects" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchProjects" resultType="project"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedProjects"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #dataproviders_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="datasources" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchDataproviders" resultType="dataprovider"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedDataProviders"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #publications_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="publications" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
|
|
[params]="getParamsForSearchLink('publications')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #datasets_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="datasets" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #software_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="software" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
|
|
[params]="getParamsForSearchLink('software')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #other_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="other" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
|
|
[params]="getParamsForSearchLink('other')"
|
|
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
2023-05-09 18:04:06 +02:00
|
|
|
[properties]="properties" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</search-tab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #relatedDatasources_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="relatedDatasources" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<relatedDatasourcesTab
|
|
|
|
[dataproviderId]="datasourceId"
|
|
|
|
[results]="dataProviderInfo.relatedDatasources"
|
|
|
|
[loading]="loadingRelatedDatasources"
|
|
|
|
[fetchResults]="fetchAggregatorsResults"
|
|
|
|
[collectedFromName]="dataProviderInfo.title.name"
|
|
|
|
[properties]=properties
|
2023-05-09 18:04:06 +02:00
|
|
|
[modal]="relatedDatasourcesModal" [prevPath]="prevPath">
|
2023-03-31 12:28:35 +02:00
|
|
|
</relatedDatasourcesTab>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #statistics_content>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="statistics" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<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>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<ng-template #metricsContent>
|
2023-07-06 15:29:17 +02:00
|
|
|
<div id="metrics" class="landing-section">
|
2023-03-31 12:28:35 +02:00
|
|
|
<ul class="uk-subnav uk-subnav-pill-alt uk-margin-remove" uk-switcher>
|
|
|
|
<li class="uk-padding-remove">
|
|
|
|
<a href="#">Overview</a>
|
|
|
|
</li>
|
2023-05-04 14:15:47 +02:00
|
|
|
<li *ngIf="hasMetrics">
|
2023-03-31 12:28:35 +02:00
|
|
|
<a href="#" (click)="clickedUsageMetrics()">Usage</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="uk-switcher uk-margin-large-top">
|
|
|
|
<!-- overview -->
|
|
|
|
<li>
|
2023-05-04 14:15:47 +02:00
|
|
|
<div *ngIf="hasMetrics">
|
2023-03-31 12:28:35 +02:00
|
|
|
<div class="uk-grid-divider" uk-grid>
|
|
|
|
<div>
|
|
|
|
<div class="uk-text-center uk-margin-small-bottom">
|
2023-03-27 15:32:41 +02:00
|
|
|
<a href='https://usagecounts.openaire.eu/' target='_blank'>
|
|
|
|
<img src="assets/common-assets/logo-small-usage-counts.png" loading="lazy" alt="OpenAIRE UsageCounts">
|
|
|
|
</a>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
<span class="uk-text-uppercase uk-text-xsmall">Usage by</span>
|
|
|
|
<span class="uk-display-block uk-text-bolder">
|
2023-03-27 15:32:41 +02:00
|
|
|
<a href='https://usagecounts.openaire.eu/' target='_blank' class="uk-link-reset">UsageCounts</a>
|
|
|
|
</span>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<table class="uk-table uk-table-small">
|
|
|
|
<tbody>
|
2023-05-04 14:15:47 +02:00
|
|
|
<ng-container *ngFor="let measure of dataProviderInfo.measure.counts; let i = index">
|
|
|
|
<tr>
|
|
|
|
<td [class.uk-padding-remove-top]="i == 0" [class.uk-padding-remove-bottom]="i == dataProviderInfo.measure.counts.length - 1">
|
|
|
|
<icon [name]="measure.icon" [flex]="true" [ratio]="1.2" customClass="uk-text-background text-usage-counts"></icon>
|
|
|
|
</td>
|
|
|
|
<td class="uk-text-capitalize" [class.uk-padding-remove-top]="i == 0" [class.uk-padding-remove-bottom]="i == dataProviderInfo.measure.counts.length - 1">
|
|
|
|
{{measure.name}}
|
|
|
|
</td>
|
|
|
|
<td class="uk-text-uppercase uk-text-bolder" [class.uk-padding-remove-top]="i == 0" [class.uk-padding-remove-bottom]="i == dataProviderInfo.measure.counts.length - 1"
|
|
|
|
[attr.uk-tooltip]="measure.value >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{measure.value | number}}">
|
|
|
|
{{formatNumber(measure.value)}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<!-- usage -->
|
2023-05-04 14:15:47 +02:00
|
|
|
<li *ngIf="hasMetrics">
|
2023-03-31 12:28:35 +02:00
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="isMobile">
|
|
|
|
<div class="uk-margin-large-right uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="!isMobile">
|
2023-05-04 14:15:47 +02:00
|
|
|
<ng-container *ngFor="let measure of dataProviderInfo.measure.counts; let i = index">
|
|
|
|
<div *ngIf="measure.value" class="uk-text-center uk-margin-medium-bottom" [class.uk-margin-medium-right]="isMobile">
|
|
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
|
|
[attr.uk-tooltip]="measure.value >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{measure.value | number}}">{{formatNumber(measure.value)}}</div>
|
|
|
|
<div class="uk-text-bold uk-text-capitalize">{{measure.name}}</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
<ng-container *ngIf="viewsFrameUrl || downloadsFrameUrl">
|
2023-05-19 13:37:23 +02:00
|
|
|
<div *ngIf="metricsClicked && viewsFrameUrl && hasViews" 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>
|
|
|
|
<div *ngIf="metricsClicked && downloadsFrameUrl && hasDownloads" class="uk-margin-large-right">
|
2023-03-31 12:28:35 +02:00
|
|
|
<i-frame [height]="300" [url]="downloadsFrameUrl" [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>
|
2023-03-27 15:32:41 +02:00
|
|
|
<a href='https://usagecounts.openaire.eu/' target='_blank'>
|
|
|
|
<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">
|
|
|
|
</a>
|
2023-03-31 12:28:35 +02:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2023-03-01 15:49:42 +01:00
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
<fs-modal *ngIf="dataProviderInfo" #addThisFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<addThis></addThis>
|
2023-04-21 11:49:14 +02:00
|
|
|
</fs-modal>
|