467 lines
29 KiB
HTML
467 lines
29 KiB
HTML
<div class="landing uk-section uk-padding-remove tm-middle">
|
|
<div class="tm-main">
|
|
<div *ngIf="errorMessage.length > 0 || showLoading" class="landing-background-default-color">
|
|
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
|
|
role="alert">{{errorMessage}}</div>
|
|
<div *ngIf="showLoading" class="uk-position-center">
|
|
<loading></loading>
|
|
</div>
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo" class="dataprovider">
|
|
<div *ngIf="!showFeedback" class="uk-grid">
|
|
|
|
<!-- left box - actions -->
|
|
<div class="landing-left-sidebar-width landing-left-sidebar-border landing-background-light-color">
|
|
<div class="uk-flex uk-flex-column uk-flex-between uk-flex-center landing-sidebar-height uk-sticky"
|
|
uk-sticky="bottom: true" [attr.offset]="offset">
|
|
<div class="uk-align-center uk-text-center uk-margin-medium-top uk-flex uk-flex-column uk-flex-between">
|
|
<ng-container *ngIf="dataProviderInfo && hasMetrics">
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Datasource'"
|
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
|
</metrics>
|
|
</ng-container>
|
|
</div>
|
|
<div class="uk-margin-large-bottom uk-align-center">
|
|
<div class="uk-text-meta">Actions</div>
|
|
<ul class="uk-list">
|
|
<!-- Share -->
|
|
<li class="uk-text-center">
|
|
<a (click)="openAddThisModal()"
|
|
[title]="'Share this '+openaireEntities.PROJECT+' in your social networks'"
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
<icon name="share" visuallyHidden="share"></icon>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- center box-->
|
|
<div *ngIf="dataProviderInfo" class="uk-width-expand uk-padding-remove uk-margin-large-left uk-margin-large-right landing-background-default-color">
|
|
<ng-template #graph_and_feedback_template>
|
|
<div class="uk-flex uk-margin-small-top uk-margin-small-bottom">
|
|
<!-- Last Index Info-->
|
|
<div class="uk-width-2-3@m uk-width-1-2 graph">
|
|
<icon name="graph" customClass="uk-text-primary"></icon>
|
|
<span class="uk-margin-small-left uk-text-baseline uk-text-meta">
|
|
Powered by <a href="https://graph.openaire.eu" target="_blank" class="uk-text-primary">OpenAIRE Research Graph</a>
|
|
</span>
|
|
<span *ngIf="indexUpdateDate" class="uk-text-baseline uk-text-meta">
|
|
. Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
|
</span>
|
|
</div>
|
|
<!--Feedback-->
|
|
<div *ngIf="properties.reCaptchaSiteKey" class="uk-width-expand uk-text-right">
|
|
<span class="uk-text-meta uk-text-xsmall">Anything wrong?</span>
|
|
<a (click)="showFeedback = true; scroll()" class="uk-text-xsmall"> Report an Issue</a>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<div #graph_and_feedback id="graph_and_feedback" class="uk-text-xsmall uk-visible@m"
|
|
uk-sticky="bottom: true;" [attr.offset]="graph_offset">
|
|
<ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container>
|
|
</div>
|
|
|
|
<div class="uk-margin-medium-top">
|
|
<!-- schema.org-->
|
|
<schema2jsonld [data]=dataProviderInfo
|
|
[URL]="properties.domain+ properties.baseLink +properties.searchLinkToDataProvider +datasourceId"
|
|
type="datasource"
|
|
[otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:null)"></schema2jsonld>
|
|
<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">
|
|
</landing-header>
|
|
|
|
<!-- Web Page -->
|
|
<div *ngIf="dataProviderInfo.title && dataProviderInfo.title.url"
|
|
class="uk-margin-bottom uk-text-small">
|
|
<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>
|
|
|
|
<!-- Labels -->
|
|
<div class="uk-margin-bottom">
|
|
<ng-container *ngIf="dataProviderInfo.compatibility">
|
|
<span class="uk-label uk-text-truncate" 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">
|
|
{{dataProviderInfo.compatibility.info}}
|
|
</span>
|
|
<!-- <a *ngIf="dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
|
|
<!-- [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
|
|
<!-- [routerLink]="properties.searchLinkToDataProvider.split('?')[0]">-->
|
|
<!-- {{dataProviderInfo.compatibility.info}} {{dataProviderInfo.compatibility.name}}-->
|
|
<!-- </a>-->
|
|
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">
|
|
{{dataProviderInfo.compatibility.name}}
|
|
</span>
|
|
</span> 
|
|
</ng-container>
|
|
<ng-container *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"
|
|
class="uk-label uk-text-truncate">
|
|
<span>OpenAIRE Text Mining</span> 
|
|
</ng-container>
|
|
<ng-container *ngIf="dataProviderInfo.countries && removeUnknown(dataProviderInfo.countries).length > 0">
|
|
<ng-container *ngFor="let country of removeUnknown(dataProviderInfo.countries)">
|
|
<span class="uk-label custom-label label-country" title="Country">{{country}}</span> 
|
|
</ng-container>
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main-tabs-div"
|
|
uk-sticky="bottom: true; media: @m" [attr.offset]="offset"
|
|
cls-active="active">
|
|
<div class="uk-padding uk-padding-remove-horizontal uk-padding-remove-bottom">
|
|
<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]="'Projects'" [tabNumber]="fetchProjects.searchUtils.totalResults"
|
|
[tabId]="'projects'">
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDataproviders.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Content Providers'" [tabNumber]="fetchDataproviders.searchUtils.totalResults"
|
|
[tabId]="'datasources'">
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchPublications.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Publications'" [tabNumber]="fetchPublications.searchUtils.totalResults"
|
|
[tabId]="'publications'">
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDatasets.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Research Data'" [tabNumber]="fetchDatasets.searchUtils.totalResults"
|
|
[tabId]="'datasets'">
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchSoftware.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Software'" [tabNumber]="fetchSoftware.searchUtils.totalResults"
|
|
[tabId]="'software'">
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Other Research'" [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 Content Providers'" [tabId]="'relatedDatasources'">
|
|
</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">
|
|
<div id="summary" class="landing-section landing-section-height-auto">
|
|
<div class="uk-card uk-card-default card-tab uk-grid uk-margin-remove-left uk-margin-medium-top uk-margin-medium-bottom">
|
|
<div *ngIf="!(hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)) && !hasSecondaryInfo"
|
|
class="uk-width-expand uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
|
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
|
No summary information available
|
|
</div>
|
|
</div>
|
|
<div *ngIf="hasPrimaryInfo || (!aggregationStatusIsInitialized || hasAggregationStatusInfo)"
|
|
class="uk-width-expand uk-padding uk-inline">
|
|
<!-- Description -->
|
|
<div *ngIf="dataProviderInfo.description && dataProviderInfo.description.length > 0"
|
|
class="uk-margin-medium-bottom">
|
|
<div class="uk-text-justify ">
|
|
<div class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
<div class=" uk-height-max-medium uk-overflow-auto">
|
|
<div *ngFor="let description of dataProviderInfo.description" class="uk-margin-small-bottom "
|
|
[innerHtml]="description"></div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<ul *ngIf="hasJournalInfo" class="uk-list uk-margin-medium-bottom uk-margin-remove-top">
|
|
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
|
|
</ul>
|
|
|
|
<div *ngIf="hasAggregationStatusInfo || dataProviderInfo.fundedContent"
|
|
class="uk-margin-medium-bottom uk-animation-fade uk-animation-fast">
|
|
<span *ngIf="dataProviderInfo.aggregationStatus?.fulltexts && dataProviderInfo.aggregationStatus?.fulltexts != -1"
|
|
class="uk-margin-right">
|
|
<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>
|
|
|
|
<!-- Subjects -->
|
|
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0"
|
|
class="uk-margin-medium-bottom uk-margin-bottom">
|
|
<div class="uk-height-max-medium uk-overflow-auto">
|
|
<div class="uk-text-meta uk-margin-small-bottom">Subjects </div>
|
|
<!-- <span *ngFor="let subject of dataProviderInfo.subjects.slice(0, showNumSubjects) let i=index">-->
|
|
<!-- <span>{{subject}}</span>-->
|
|
<!-- <span *ngIf="(i < dataProviderInfo.subjects.length-1)">, </span>-->
|
|
<!-- </span>-->
|
|
<!-- <span *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"> ... </span>-->
|
|
<span>{{dataProviderInfo.subjects.slice(0, lessBtnSubjects ? dataProviderInfo.subjects.length : thresholdSubjects).join(", ")}}</span>
|
|
<span *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"> ... </span>
|
|
</div>
|
|
<!-- <div *ngIf="showNumSubjects == thresholdSubjects && dataProviderInfo.organizations.length > thresholdSubjects"-->
|
|
<!-- class="uk-width-1-1 uk-text-right">-->
|
|
<!-- <a (click)="showNumSubjects = dataProviderInfo.subjects.length;">-->
|
|
<!-- View all {{dataProviderInfo.subjects.length | number}} subjects-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- <div *ngIf="showNumSubjects > thresholdSubjects" class="uk-width-1-1 uk-text-right">-->
|
|
<!-- <a (click)="showNumSubjects = thresholdSubjects;">View less subjects</a>-->
|
|
<!-- </div>-->
|
|
<div *ngIf="dataProviderInfo.subjects.length > thresholdSubjects && !lessBtnSubjects"
|
|
class="uk-width-1-1 uk-text-right">
|
|
<a (click)="viewAllSubjectsClick();">
|
|
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;">View less subjects</a>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div *ngIf="hasSecondaryInfo"
|
|
[class]="'uk-inline uk-padding uk-padding-remove-horizontal ' + (hasPrimaryInfo?'uk-width-1-3@m': 'uk-width-expand')">
|
|
<div class="uk-padding uk-padding-remove-vertical uk-height-1-1">
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.provenance?.size > 0"
|
|
class="uk-margin-medium-bottom">
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL" class="uk-margin-medium-bottom">
|
|
<div class="uk-text-meta uk-margin-small-bottom">OAI-PMH</div>
|
|
<a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}" class="custom-external">
|
|
{{dataProviderInfo.oaiPmhURL}}
|
|
</a>
|
|
</div>
|
|
<div *ngIf="dataProviderInfo.provenance?.size > 0" class="uk-display-inline-block">
|
|
<div class="uk-text-meta uk-margin-small-bottom">Detailed information @ </div>
|
|
<span *ngFor="let provenance of getKeys(dataProviderInfo.provenance); let i=index">
|
|
<a *ngIf="dataProviderInfo.provenance.get(provenance).url.length == 1" class="custom-external uk-link-text"
|
|
target="_blank" href="{{dataProviderInfo.provenance.get(provenance).url}}">
|
|
{{provenance}}
|
|
</a>
|
|
<ng-container *ngIf="dataProviderInfo.provenance.get(provenance).url.length > 1">
|
|
<span class="custom-external">{{provenance}}</span>
|
|
<ng-container *ngFor="let url of dataProviderInfo.provenance.get(provenance).url; let i=index">
|
|
[<a target="_blank" href="{{url}}">{{i}}</a>]
|
|
</ng-container>
|
|
</ng-container>
|
|
<span *ngIf="i < dataProviderInfo.provenance.size-1">, </span>
|
|
</span>
|
|
</div>
|
|
<!-- <span *ngIf="dataProviderInfo.r3DataId" class="uk-display-inline-block">-->
|
|
<!-- <span class="uk-text-meta">Detailed information @ </span>-->
|
|
<!-- <a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">-->
|
|
<!-- re3data.org-->
|
|
<!-- <span class="custom-external custom-icon space"></span>-->
|
|
<!-- </a>-->
|
|
<!-- </span>-->
|
|
</div>
|
|
<!-- Organizations -->
|
|
<!-- <div class="uk-text-muted uk-text-small">Organizations</div>-->
|
|
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
|
|
<div *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0"
|
|
class="uk-margin-medium-bottom">
|
|
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
|
|
<div class="uk-text-meta uk-margin-small-bottom">{{openaireEntities.ORGANIZATIONS}}</div>
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? dataProviderInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
<!-- <span *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"> ... </span>-->
|
|
<!-- </div>-->
|
|
<!-- <div *ngIf="showNumOrganizations == thresholdOrganizations && dataProviderInfo.organizations.length > thresholdOrganizations"-->
|
|
<!-- class="uk-width-1-1 uk-text-right">-->
|
|
<!-- <a (click)="showNumOrganizations = dataProviderInfo.organizations.length;">-->
|
|
<!-- View all {{dataProviderInfo.organizations.length | number}} organizations-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- <div *ngIf="showNumOrganizations > thresholdOrganizations" class="uk-width-1-1 uk-text-right">-->
|
|
<!-- <a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>-->
|
|
<!-- </div>-->
|
|
|
|
<div *ngIf="dataProviderInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
|
|
class="uk-width-1-1 uk-text-right">
|
|
<a (click)="viewAllOrganizationsClick();">
|
|
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;">View less organizations</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Projects-->
|
|
<ng-container *ngIf="fetchProjects.searchUtils.totalResults > 0">
|
|
<div id="projects" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchProjects" resultType="project"
|
|
[params]="getParamsForSearchLink()"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedProjects"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!-- Content Providers -->
|
|
<ng-container *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
<div id="datasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchDataproviders" resultType="dataprovider"
|
|
[params]="getParamsForSearchLink()"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedDataProviders"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!--Publications-->
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
<div id="publications" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
[params]="getParamsForSearchLink('publications')"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!--Research Data-->
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
<div id="datasets" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!--Software-->
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
<div id="software" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
[params]="getParamsForSearchLink('software')"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!--Other-->
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
<div id="other" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
[params]="getParamsForSearchLink('other')"
|
|
[searchLinkToAdvancedPage]="properties.searchLinkToAdvancedResults"
|
|
[properties]="properties">
|
|
</search-tab>
|
|
</div>
|
|
</ng-container>
|
|
<!--Related Content Providers-->
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
<div id="relatedDatasources" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
<relatedDatasourcesTab
|
|
[dataproviderId]="datasourceId"
|
|
[results]="dataProviderInfo.relatedDatasources"
|
|
[loading]="loadingRelatedDatasources"
|
|
[fetchResults]="fetchAggregatorsResults"
|
|
[collectedFromName]="dataProviderInfo.title.name"
|
|
[properties]=properties
|
|
[modal]="relatedDatasourcesModal">
|
|
</relatedDatasourcesTab>
|
|
</div>
|
|
</ng-container>
|
|
<!--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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<feedback *ngIf="dataProviderInfo && properties.reCaptchaSiteKey" [dataProviderInfo]="dataProviderInfo"
|
|
[properties]="properties" [entityType]="openaireEntities.DATASOURCE" [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>
|
|
|
|
<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>
|