|
|
@ -1,5 +1,6 @@
|
|
|
|
<div class="landing uk-section uk-padding-remove tm-middle">
|
|
|
|
<!-- Desktop view -->
|
|
|
|
<div class="tm-main">
|
|
|
|
<div class="uk-visible@m landing uk-section uk-padding-remove tm-middle">
|
|
|
|
|
|
|
|
<div *ngIf="!isMobile" class="tm-main">
|
|
|
|
<div class="dataprovider">
|
|
|
|
<div class="dataprovider">
|
|
|
|
<div *ngIf="!showFeedback" class="uk-grid uk-margin-remove-left" uk-grid>
|
|
|
|
<div *ngIf="!showFeedback" class="uk-grid uk-margin-remove-left" uk-grid>
|
|
|
|
|
|
|
|
|
|
|
@ -120,7 +121,8 @@
|
|
|
|
[entityType]="getTypeName()"
|
|
|
|
[entityType]="getTypeName()"
|
|
|
|
[compatibility]="dataProviderInfo.compatibility"
|
|
|
|
[compatibility]="dataProviderInfo.compatibility"
|
|
|
|
[aggregationStatus]="dataProviderInfo.aggregationStatus"
|
|
|
|
[aggregationStatus]="dataProviderInfo.aggregationStatus"
|
|
|
|
[thematic]="dataProviderInfo.thematic" [type]="type">
|
|
|
|
[thematic]="dataProviderInfo.thematic" [type]="type"
|
|
|
|
|
|
|
|
[journal]="dataProviderInfo.journal">
|
|
|
|
</landing-header>
|
|
|
|
</landing-header>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Labels -->
|
|
|
|
<!-- Labels -->
|
|
|
@ -266,8 +268,276 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="landing-sections" class="uk-text-small">
|
|
|
|
<div id="landing-sections" class="uk-text-small">
|
|
|
|
|
|
|
|
<ng-container>
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Mobile view -->
|
|
|
|
|
|
|
|
<div *ngIf="isMobile" class="uk-hidden@m uk-position-relative landing">
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
|
|
|
[journal]="dataProviderInfo.journal">
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<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 '+openaireEntities.DATASOURCE+' 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>
|
|
|
|
|
|
|
|
</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()">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #projectsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchProjects.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="projects_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #dataprovidersFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="dataproviders_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #publicationsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="publications_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #datasetsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="datasets_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #softwareFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="software_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<fs-modal #otherFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
|
|
|
*ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="other_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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)">
|
|
|
|
|
|
|
|
<ng-container *ngTemplateOutlet="relatedDatasources_content"></ng-container>
|
|
|
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<feedback *ngIf="dataProviderInfo && properties.reCaptchaSiteKey" [dataProviderInfo]="dataProviderInfo"
|
|
|
|
|
|
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
|
|
|
|
|
|
|
[(showForm)]="showFeedback"></feedback>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo?.description" #descriptionModal
|
|
|
|
|
|
|
|
[large]="true">
|
|
|
|
|
|
|
|
<div [innerHTML]="dataProviderInfo.description"></div>
|
|
|
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
|
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
|
|
|
|
|
|
[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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ng-template #summary_content>
|
|
|
|
<div id="summary" class="landing-section landing-section-height-auto">
|
|
|
|
<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 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"
|
|
|
|
<div *ngIf="!(hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)) && !hasSecondaryInfo"
|
|
|
|
class="uk-width-expand uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
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">
|
|
|
|
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
|
|
@ -275,28 +545,29 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)"
|
|
|
|
<div *ngIf="hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)"
|
|
|
|
class="uk-width-expand uk-padding uk-inline">
|
|
|
|
class="uk-width-expand uk-inline" [ngClass]="isMobile ? 'uk-padding-remove' : 'uk-padding'">
|
|
|
|
<!-- Description -->
|
|
|
|
<!-- Description -->
|
|
|
|
<div *ngIf="dataProviderInfo.description" class="uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="dataProviderInfo.description && (!viewAllMobile || viewAllMobile == 'description')" class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-justify">
|
|
|
|
<div class="uk-text-justify">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
<div *ngIf="viewAllMobile != 'description'" class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
<div class="multi-line-ellipsis lines-10">
|
|
|
|
<div [ngClass]="viewAllMobile == 'description' ? '' : 'multi-line-ellipsis lines-10'">
|
|
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
|
|
[innerHtml]="dataProviderInfo.description"></div>
|
|
|
|
[innerHtml]="dataProviderInfo.description"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="showViewMoreButton" class="uk-flex uk-flex-right">
|
|
|
|
<div *ngIf="showViewMoreButton && viewAllMobile != 'description'" class="uk-flex uk-flex-right">
|
|
|
|
<a (click)="openDescriptionModal();" class="view-more-less-link">
|
|
|
|
<a (click)="viewAllDescriptionClicked();" class="view-more-less-link">
|
|
|
|
View more
|
|
|
|
View more
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<ul *ngIf="hasJournalInfo" class="uk-list uk-margin-medium-bottom uk-margin-remove-top">
|
|
|
|
<!-- <ul *ngIf="hasJournalInfo" class="uk-list uk-margin-medium-bottom uk-margin-remove-top">
|
|
|
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
|
|
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
|
|
|
</ul>
|
|
|
|
</ul> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div *ngIf="hasAggregationStatusInfo || dataProviderInfo.fundedContent"
|
|
|
|
<ng-container *ngIf="!viewAllMobile">
|
|
|
|
|
|
|
|
<div *ngIf="hasAggregationStatusInfo || (dataProviderInfo.fundedContent && dataProviderInfo.fundedContent > 0)"
|
|
|
|
class="uk-margin-medium-bottom uk-animation-fade uk-animation-fast">
|
|
|
|
class="uk-margin-medium-bottom uk-animation-fade uk-animation-fast">
|
|
|
|
<span *ngIf="dataProviderInfo.aggregationStatus?.fulltexts && dataProviderInfo.aggregationStatus?.fulltexts != -1"
|
|
|
|
<span *ngIf="dataProviderInfo.aggregationStatus?.fulltexts && dataProviderInfo.aggregationStatus?.fulltexts != -1"
|
|
|
|
class="uk-margin-right uk-display-inline-block">
|
|
|
|
class="uk-margin-right uk-display-inline-block">
|
|
|
@ -329,16 +600,22 @@
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Content policy</div>
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Content policy</div>
|
|
|
|
{{dataProviderInfo.contentpolicy}}
|
|
|
|
{{dataProviderInfo.contentpolicy}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Subjects -->
|
|
|
|
<!-- Subjects -->
|
|
|
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0"
|
|
|
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0 && (!viewAllMobile || viewAllMobile == 'subjects')"
|
|
|
|
class="uk-margin-medium-bottom uk-margin-bottom">
|
|
|
|
class="uk-margin-medium-bottom uk-margin-bottom">
|
|
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Subjects </div>
|
|
|
|
<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>{{dataProviderInfo.subjects.slice(0, lessBtnSubjects ? dataProviderInfo.subjects.length : thresholdSubjects).join(", ")}}</span>
|
|
|
|
<span *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"> ... </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>
|
|
|
|
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"
|
|
|
|
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects && viewAllMobile != 'subjects'"
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllSubjectsClick();" class="view-more-less-link">
|
|
|
|
<a (click)="viewAllSubjectsClick();" class="view-more-less-link">
|
|
|
|
View all {{dataProviderInfo.subjects.length | number}} subjects
|
|
|
|
View all {{dataProviderInfo.subjects.length | number}} subjects
|
|
|
@ -348,12 +625,11 @@
|
|
|
|
<a (click)="viewAllSubjects = !viewAllSubjects; lessBtnSubjects=false;" class="view-more-less-link">View less subjects</a>
|
|
|
|
<a (click)="viewAllSubjects = !viewAllSubjects; lessBtnSubjects=false;" class="view-more-less-link">View less subjects</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="hasSecondaryInfo"
|
|
|
|
<div *ngIf="hasSecondaryInfo"
|
|
|
|
[class]="'uk-inline uk-padding uk-padding-remove-horizontal ' + (hasPrimaryInfo?'uk-width-1-3@m': 'uk-width-expand')">
|
|
|
|
[class]="'uk-inline uk-padding-remove-horizontal ' + (hasPrimaryInfo?'uk-width-1-3@m': 'uk-width-expand')" [ngClass]="isMobile ? '' : 'uk-padding'">
|
|
|
|
<div class="uk-padding uk-padding-remove-vertical uk-height-1-1">
|
|
|
|
<div class="uk-height-1-1" [ngClass]="isMobile ? '' : 'uk-padding uk-padding-remove-vertical'">
|
|
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.provenance?.size > 0"
|
|
|
|
<div *ngIf="(dataProviderInfo.oaiPmhURL || dataProviderInfo.provenance?.size > 0) && !viewAllMobile"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL" 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>
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">OAI-PMH</div>
|
|
|
@ -378,12 +654,12 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0"
|
|
|
|
<div *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0 && (!viewAllMobile || viewAllMobile == 'organizations')"
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
class="uk-margin-medium-bottom">
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">{{openaireEntities.ORGANIZATIONS}}</div>
|
|
|
|
<div *ngIf="viewAllMobile != 'organizations'" 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>
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: (lessBtnOrganizations || viewAllMobile == 'organizations') ? dataProviderInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
|
|
|
|
|
|
|
|
|
|
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
|
|
|
|
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations && viewAllMobile != 'organizations'"
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
class="uk-width-1-1 uk-text-right">
|
|
|
|
<a (click)="viewAllOrganizationsClick();" class="view-more-less-link">
|
|
|
|
<a (click)="viewAllOrganizationsClick();" class="view-more-less-link">
|
|
|
|
View all {{dataProviderInfo.organizations.length | number}} organizations
|
|
|
|
View all {{dataProviderInfo.organizations.length | number}} organizations
|
|
|
@ -397,9 +673,9 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Projects-->
|
|
|
|
<ng-template #projects_content>
|
|
|
|
<ng-container *ngIf="fetchProjects.searchUtils.totalResults > 0">
|
|
|
|
|
|
|
|
<div id="projects" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="projects" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchProjects" resultType="project"
|
|
|
|
<search-tab [fetch]="fetchProjects" resultType="project"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
@ -407,9 +683,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!-- Datasources -->
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
|
|
<ng-template #dataproviders_content>
|
|
|
|
<div id="datasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="datasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchDataproviders" resultType="dataprovider"
|
|
|
|
<search-tab [fetch]="fetchDataproviders" resultType="dataprovider"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
|
[params]="getParamsForSearchLink()"
|
|
|
@ -417,9 +693,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!--Publications-->
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
<ng-template #publications_content>
|
|
|
|
<div id="publications" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="publications" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
|
|
[params]="getParamsForSearchLink('publications')"
|
|
|
|
[params]="getParamsForSearchLink('publications')"
|
|
|
@ -427,9 +703,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!--Research Data-->
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
<ng-template #datasets_content>
|
|
|
|
<div id="datasets" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="datasets" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
|
@ -437,9 +713,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!--Software-->
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
<ng-template #software_content>
|
|
|
|
<div id="software" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="software" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
|
|
[params]="getParamsForSearchLink('software')"
|
|
|
|
[params]="getParamsForSearchLink('software')"
|
|
|
@ -447,9 +723,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!--Other-->
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
<ng-template #other_content>
|
|
|
|
<div id="other" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="other" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
|
|
[params]="getParamsForSearchLink('other')"
|
|
|
|
[params]="getParamsForSearchLink('other')"
|
|
|
@ -457,10 +733,9 @@
|
|
|
|
[properties]="properties">
|
|
|
|
[properties]="properties">
|
|
|
|
</search-tab>
|
|
|
|
</search-tab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!--Related Datasources-->
|
|
|
|
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
<ng-template #relatedDatasources_content>
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
|
|
|
<div id="relatedDatasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<div id="relatedDatasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<relatedDatasourcesTab
|
|
|
|
<relatedDatasourcesTab
|
|
|
|
[dataproviderId]="datasourceId"
|
|
|
|
[dataproviderId]="datasourceId"
|
|
|
@ -472,9 +747,26 @@
|
|
|
|
[modal]="relatedDatasourcesModal">
|
|
|
|
[modal]="relatedDatasourcesModal">
|
|
|
|
</relatedDatasourcesTab>
|
|
|
|
</relatedDatasourcesTab>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
</ng-template>
|
|
|
|
<!-- Metrics -->
|
|
|
|
|
|
|
|
<ng-container *ngIf="dataProviderInfo && hasMetrics">
|
|
|
|
<ng-template #statistics_content>
|
|
|
|
|
|
|
|
<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-template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ng-template #metricsContent>
|
|
|
|
<div id="metrics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
<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>
|
|
|
|
<ul class="uk-subnav uk-subnav-pill-alt uk-margin-remove" uk-switcher>
|
|
|
|
<li class="uk-padding-remove">
|
|
|
|
<li class="uk-padding-remove">
|
|
|
@ -532,10 +824,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<!-- usage -->
|
|
|
|
<!-- usage -->
|
|
|
|
<li>
|
|
|
|
<li *ngIf="totalDownloads || totalViews">
|
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="isMobile">
|
|
|
|
<div class="uk-margin-large-right">
|
|
|
|
<div class="uk-margin-large-right uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="!isMobile">
|
|
|
|
<div *ngIf="totalDownloads" class="uk-text-center uk-margin-medium-bottom">
|
|
|
|
<div *ngIf="totalDownloads" 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"
|
|
|
|
<div class="uk-text-background uk-text-bold number metrics-number"
|
|
|
|
[attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
[attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
title="{{totalDownloads | number}}">{{formatNumber(totalDownloads)}}</div>
|
|
|
|
title="{{totalDownloads | number}}">{{formatNumber(totalDownloads)}}</div>
|
|
|
@ -567,76 +859,8 @@
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
<!--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>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<feedback *ngIf="dataProviderInfo && properties.reCaptchaSiteKey" [dataProviderInfo]="dataProviderInfo"
|
|
|
|
|
|
|
|
[properties]="properties" [entityType]="getTypeName()" [fields]="feedbackFields"
|
|
|
|
|
|
|
|
[(showForm)]="showFeedback"></feedback>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo?.description" #descriptionModal
|
|
|
|
|
|
|
|
[large]="true">
|
|
|
|
|
|
|
|
<div [innerHTML]="dataProviderInfo.description"></div>
|
|
|
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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"
|
|
|
|
|
|
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
|
|
|
|
|
|
[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>
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="dataProviderInfo && dataProviderInfo.subjects" #subjectsModal>
|
|
|
|
<fs-modal *ngIf="dataProviderInfo" #addThisFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
<span>{{dataProviderInfo.subjects.join(", ")}}</span>
|
|
|
|
<addThis></addThis>
|
|
|
|
</modal-alert>
|
|
|
|
</fs-modal>
|