openaire-library/landingPages/dataProvider/dataProvider.component.html

656 lines
42 KiB
HTML

<ng-template #search_box let-fetch="fetch" let-type="type" let-typeName="typeName"
let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">
<!-- *ngIf="fetch.searchUtils.totalResults > 0"-->
<div *ngIf="fetch.searchUtils.totalResults > 0">
<div class="uk-position-relative">
<a [queryParams]="params"
[routerLink]="searchLinkToAdvancedPage">
<div class="header target uk-text-bold">{{typeName}}</div>
<div class="icon uk-position-center" uk-icon="icon: search;"></div>
<div class="footer target uk-position-relative">
<span class="uk-text-bold uk-position-center">{{fetch.searchUtils.totalResults | number}}</span>
</div>
</a>
</div>
</div>
</ng-template>
<div id="tm-main" class="landing uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
<div *ngIf="!showFeedback" uk-grid>
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
<div id="datasource" class="uk-container uk-container-large datasource">
<div *ngIf="warningMessage.length > 0" class="uk-alert uk-alert-warning uk-margin-large-top"
role="alert">{{warningMessage}}</div>
<div *ngIf="errorMessage.length > 0" class="uk-alert uk-alert-danger uk-margin-large-top"
role="alert">{{errorMessage}}</div>
<div [style.display]="showLoading ? 'inline' : 'none'"
class="uk-animation-fade uk-margin-large-top uk-width-1-1" role="alert"><span
class="loading-gif uk-align-center"></span></div>
<helper *ngIf="pageContents && pageContents['top'] && pageContents['top'].length > 0"
[texts]="pageContents['top']"></helper>
<div *ngIf="dataProviderInfo != null" class=" uk-grid">
<div class=" uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
<!--h3 *ngIf="dataProviderInfo.title != null">
<a *ngIf="dataProviderInfo.title['url'] != undefined && dataProviderInfo.title['url'] != null"
href="{{dataProviderInfo.title['url']}}" target="_blank" class="custom-external">
{{dataProviderInfo.title['name']}}
</a>
<p *ngIf="dataProviderInfo.title['url'] == undefined || dataProviderInfo.title['url'] == null">
{{dataProviderInfo.title['name']}}
</p>
</h3-->
<schema2jsonld *ngIf="dataProviderInfo" [data]=dataProviderInfo
[URL]="properties.baseLink+'/search/dataprovider?datasourceId='+datasourceId"
type="datasource"
[otherURL]="(dataProviderInfo.openDoarId)?(properties.openDoarURL+dataProviderInfo.openDoarId):((dataProviderInfo.r3DataId)?properties.r3DataURL+dataProviderInfo.r3DataId:nul)"></schema2jsonld>
<!-- <showTitle [title]="dataProviderInfo.title"></showTitle>-->
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
[subTitle]="(dataProviderInfo.officialName
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
[entityType]="'content provider'"
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
</landing-header>
<!-- Web Page -->
<div class="uk-margin-top uk-margin-bottom">
<div *ngIf="dataProviderInfo.title && dataProviderInfo.title.url">
<span class="uk-text-muted">Web page: </span>
<a [href]="dataProviderInfo.title.url">
<span>{{dataProviderInfo.title.url}}</span>
<span class="custom-external custom-icon space"></span>
</a>
</div>
<!-- Labels -->
<div class="uk-margin-small-top">
<span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility"
title="Compatibility">
<a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"
[queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"
routerLink="/search/dataprovider">
{{dataProviderInfo.compatibility.info}}
</a>
<span *ngIf="dataProviderInfo.compatibility.name || !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="/search/dataprovider">
{{dataProviderInfo.compatibility.name}}
</a>
<span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">
{{dataProviderInfo.compatibility.name}}
</span>
</span>{{" "}}
<span *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"
class="uk-label custom-label label-dataprovider ">OpenAIRE Text Mining
</span>{{" "}}
<span
*ngIf="properties.environment !== 'production' && dataProviderInfo.countries && dataProviderInfo.countries.length > 0">
<ng-container *ngFor="let country of dataProviderInfo.countries">
<span class="uk-label custom-label label-country" title="Country">{{country}}</span>
{{' '}}
</ng-container>
</span>
<span *ngIf="properties.environment === 'production' && 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>
</span>
</div>
</div>
<ul class="uk-list">
<showPublisher [journal]="dataProviderInfo.journal" [properties]="properties"></showPublisher>
<li *ngIf="dataProviderInfo.aggregationStatus" class="uk-animation-fade uk-animation-fast">
<span *ngIf="dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1"
class="uk-margin-right">
<span class="uk-text-muted">Collected full-texts: </span>
{{dataProviderInfo.aggregationStatus.fulltexts | number}}
</span>
<span *ngIf="dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1"
class="uk-display-inline-block">
<span class="uk-text-muted">Results with funding information: </span>
{{dataProviderInfo.aggregationStatus.fundedContent | number}}
</span>
<span *ngIf="dataProviderInfo.aggregationStatus.lastUpdateDate && dataProviderInfo.aggregationStatus.lastUpdateDate != null"
class="uk-display-inline-block">
<span class="uk-text-muted">Latest data aggregation: </span>
{{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}
</span>
</li>
<!-- Organizations -->
<!-- <li *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0" class="uk-margin-small-bottom">-->
<!-- <div class="uk-height-max-medium uk-overflow-auto">-->
<!-- <span class="uk-text-muted">Organizations: </span>-->
<!-- <span *ngFor="let organization of dataProviderInfo.organizations.slice(0, showNumOrganizations) let i=index">-->
<!-- <a *ngIf="organization.id"-->
<!-- [queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"-->
<!-- routerLink="/search/organization">-->
<!-- <u>{{organization.name}}</u>-->
<!-- </a>-->
<!-- <span *ngIf="!organization.id">-->
<!-- <span>{{organization.name}}</span>-->
<!-- <span *ngIf="(i < dataProviderInfo.organizations.length-1)">,</span>-->
<!-- </span>-->
<!-- <span *ngIf="(i < dataProviderInfo.organizations.length-1)">, </span>-->
<!-- </span>-->
<!-- <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>-->
<!-- </li>-->
<li *ngIf="dataProviderInfo.organizations && dataProviderInfo.organizations.length > 0" class="uk-margin-bottom">
<div class="uk-height-max-medium uk-overflow-auto">
<span class="uk-text-muted">Organizations: </span>
<span *ngFor="let organization of dataProviderInfo.organizations.slice(0, showNumOrganizations) let i=index"
[attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
[title]="organization.name">
<a *ngIf="organization.id"
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
routerLink="/search/organization">
<u>{{(organization.acronym) ? organization.acronym : ''}}</u>
<u>{{(!organization.acronym && organization.name) ? organization.name : ''}}</u>
</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="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>
</li>
<li *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.openDoarId || dataProviderInfo.r3DataId">
<span *ngIf="dataProviderInfo.oaiPmhURL" class="uk-margin-right">
<span class="uk-text-muted">OAI-PMH: </span>
<a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}">
{{dataProviderInfo.oaiPmhURL}}
<span class="custom-external custom-icon space"></span>
</a>
</span>
<span *ngIf="dataProviderInfo.openDoarId" class="uk-display-inline-block">
<span class="uk-text-muted">Detailed content provider information at </span>
<a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">
OpenDOAR
<span class="custom-external custom-icon space"></span>
</a>
</span>
<span *ngIf="dataProviderInfo.r3DataId" class="uk-display-inline-block">
<span class="uk-text-muted">Detailed content provider information at </span>
<a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">
re3data.org
<span class="custom-external custom-icon space"></span>
</a>
</span>
</li>
<li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0">
<span class="uk-text-muted">Countries:</span>
{{dataProviderInfo.countries.join(", ")}}
</li>
</ul>
<!-- Description -->
<div *ngIf="dataProviderInfo.description" class="uk-margin-bottom">
<div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
<span class="uk-text-muted">Description: </span>
<span>{{dataProviderInfo.description.substring(0, showNumDescription)}}</span>
<span *ngIf="showNumDescription == thresholdDescription &&
dataProviderInfo.description.length > thresholdDescription">...</span>
</div>
<div *ngIf="showNumDescription == thresholdDescription &&
dataProviderInfo.description.length > thresholdDescription" class="uk-text-right">
<a (click)="showNumDescription = dataProviderInfo.description.length;">
View more
</a>
</div>
<div *ngIf="dataProviderInfo.description && showNumDescription > thresholdDescription"
class="uk-text-right">
<a (click)="showNumDescription = thresholdDescription;">
View less
</a>
</div>
</div>
<!-- Subjects -->
<div *ngIf="dataProviderInfo.subjects && dataProviderInfo.subjects.length > 0" class="uk-margin-bottom">
<div class="uk-text-small uk-height-max-medium uk-overflow-auto">
<span class="uk-text-muted">Subjects: </span>
<!-- {{dataProviderInfo.countries.join(", ")}}-->
<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>
</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>
<!-- <span *ngIf="dataProviderInfo.type" class="uk-label custom-label label-type label-dataprovider "-->
<!-- title="Type">{{dataProviderInfo.type}}</span>{{" "}}-->
<!-- <span *ngIf="dataProviderInfo.compatibility" class="uk-label custom-label label-compatibility "-->
<!-- title="Compatibility">-->
<!-- <a *ngIf="!dataProviderInfo.compatibility.name && dataProviderInfo.compatibility.id"-->
<!-- [queryParams]="{datasourceId: dataProviderInfo.compatibility.id}" routerLinkActive="router-link-active"-->
<!-- routerLink="/search/dataprovider">-->
<!-- {{dataProviderInfo.compatibility.info}}-->
<!-- </a>-->
<!-- <span *ngIf="dataProviderInfo.compatibility.name || !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="/search/dataprovider">-->
<!-- {{dataProviderInfo.compatibility.name}}-->
<!-- </a>-->
<!-- <span *ngIf="dataProviderInfo.compatibility.name && !dataProviderInfo.compatibility.id">-->
<!-- {{dataProviderInfo.compatibility.name}}-->
<!-- </span>-->
<!-- </span>{{" "}}-->
<!-- <span *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts > 0"-->
<!-- class="uk-label custom-label label-type label-dataprovider ">OpenAIRE Text Mining</span>{{" "}}-->
<!-- <ul class="uk-list">-->
<!-- <showPublisher [properties]="properties"-->
<!-- [journal]="dataProviderInfo.journal"></showPublisher>-->
<!-- <li-->
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fundedContent && dataProviderInfo.aggregationStatus.fundedContent != -1">-->
<!-- <span class="uk-text-bold">Results with funding information: </span>-->
<!-- {{dataProviderInfo.aggregationStatus.fundedContent | number}}-->
<!-- </li>-->
<!-- <li-->
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.fulltexts && dataProviderInfo.aggregationStatus.fulltexts != -1">-->
<!-- <span class="uk-text-bold">Collected full-texts: </span>-->
<!-- {{dataProviderInfo.aggregationStatus.fulltexts | number}}-->
<!-- </li>-->
<!-- <li-->
<!-- *ngIf="dataProviderInfo.aggregationStatus && dataProviderInfo.aggregationStatus.lastUpdateDate && dataProviderInfo.aggregationStatus.lastUpdateDate != null">-->
<!-- <span class="uk-text-bold">Last update of records in OpenAIRE: </span>-->
<!-- {{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.oaiPmhURL"><span class="uk-text-bold">OAI-PMH: </span>-->
<!-- <span class="uk-button-text">-->
<!-- <a target="_blank" href="{{dataProviderInfo.oaiPmhURL}}">-->
<!-- {{dataProviderInfo.oaiPmhURL}}-->
<!-- </a>-->
<!-- </span>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.openDoarId">-->
<!-- <span class="uk-button-text">-->
<!-- <a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">-->
<!-- Detailed content provider information (OpenDOAR)-->
<!-- </a>-->
<!-- </span>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.r3DataId">-->
<!-- <span class="uk-button-text">-->
<!-- <a target="_blank" href="{{properties.r3DataURL+dataProviderInfo.r3DataId}}">-->
<!-- Detailed content provider information (Re3data)-->
<!-- </a>-->
<!-- </span>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"><span-->
<!-- class="uk-text-bold">Countries: </span>{{dataProviderInfo.countries.join(", ")}}</li>-->
<!-- </ul>-->
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.length > 0-->
<div *ngIf="showTabs"
class="uk-margin-medium-top">
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1 || dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
<div
class="uk-margin-top simple-buttons uk-flex uk-flex-middle">
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
<div
(click)="openRelatedDatasources()" class="clickable uk-margin-right">
<span class="uk-text-middle">Related Content Providers</span>
</div>
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"-->
<div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
(click)="openStatistics()" class="clickable uk-margin-right">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24">
<path d="M0 0h24v24H0z" fill="none"></path>
<path id="statistics-bars" d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path>
</svg>
<span class="uk-text-middle space">View statistics</span>
</div>
</div>
<!-- ||-->
<!-- dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
<!-- *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1 ||-->
<!-- dataProviderInfo.tabs2.indexOf('Research Data') != -1 ||-->
<!-- dataProviderInfo.tabs2.indexOf('Software') != -1 ||-->
<!-- dataProviderInfo.tabs2.indexOf('Other Research Products') != -1 ||-->
<!-- dataProviderInfo.tabs2.indexOf('Projects') != -1 ||-->
<!-- dataProviderInfo.tabs2.indexOf('Content Providers') != -1 "-->
<div
class="uk-margin-top advanced-buttons uk-grid-small uk-child-width-1-4@s uk-child-width-1-2"
uk-height-match="target: .target; row: false"
uk-grid>
<!-- && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0-->
<!-- <div *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
<!-- ">-->
<!-- <div class="clickable" (click)="openRelatedDatasources()">-->
<!-- <div class="header target uk-text-bold">Related Content Providers</div>-->
<!-- <div class="footer target uk-position-relative">-->
<!--&lt;!&ndash; <span class="uk-text-bold uk-position-center">&ndash;&gt;-->
<!--&lt;!&ndash; {{dataProviderInfo.relatedDatasources?.size | number}}&ndash;&gt;-->
<!--&lt;!&ndash; </span>&ndash;&gt;-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchPublications, type: 'publications', typeName: 'Publications',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('publications')}">
</ng-container>
<!-- <a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"-->
<!-- [routerLink]="properties.searchLinkToAdvancedResults">-->
<!-- </ng-container>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('datasets')}">
</ng-container>
<!-- </ng-container>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchSoftware, type: 'software', typeName: 'Software',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('software')}">
</ng-container>
<!-- </ng-container>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchOrps, type: 'other', typeName: 'Other Research Products',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults, params: getParamsForSearchLink('other')}">
</ng-container>
<!-- </ng-container>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchProjects, type: 'project', typeName: 'Projects',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedProjects, params: getParamsForSearchLink()}">
</ng-container>
<!-- </ng-container>-->
<!-- <ng-container *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1">-->
<ng-container *ngTemplateOutlet="search_box;
context: { fetch: fetchDataproviders, type: 'other', typeName: 'Content Providers',
searchLinkToAdvancedPage: properties.searchLinkToAdvancedDataProviders, params: getParamsForSearchLink()}">
</ng-container>
<!-- </ng-container>-->
</div>
</div>
<div class="uk-margin-small-top uk-flex uk-flex-bottom">
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
<span class="uk-margin-small-left uk-text-small uk-text-baseline uk-text-muted">
Powered by OpenAIRE Open Research Graph
</span>
</div>
</div>
<!-- <div *ngIf="showTabs">-->
<!-- <ul class="custom-accordion" uk-accordion *ngIf="dataProviderInfo.tabs2 != undefined">-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Publications') != -1"-->
<!-- (click)="search('publicationsTab', 1, 10); activeTab='Publications'">-->
<!-- <a class="uk-accordion-title" href="#">Publications-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchPublications.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <publicationsTab *ngIf="activeTab=='Publications'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchPublications]="fetchPublications" [(properties)]=properties>-->
<!-- </publicationsTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Research Data') != -1"-->
<!-- (click)="search('datasetsTab', 1, 10); activeTab='Research Data'">-->
<!-- <a class="uk-accordion-title" href="#">Research Data-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchDatasets.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <p>-->
<!-- <datasetsTab *ngIf="activeTab=='Research Data'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchDatasets]="fetchDatasets" [(properties)]=properties>-->
<!-- </datasetsTab>-->
<!-- </p>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Software') != -1"-->
<!-- (click)="search('softwareTab', 1, 10); activeTab='Software'">-->
<!-- <a class="uk-accordion-title" href="#">Software-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchSoftware.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <softwareTab *ngIf="activeTab=='Software'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchSoftware]="fetchSoftware" [(properties)]=properties>-->
<!-- </softwareTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Other Research Products') != -1"-->
<!-- (click)="search('orpsTab', 1, 10); activeTab='Other Research Products'">-->
<!-- <a class="uk-accordion-title" href="#">Other Research Products-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchOrps.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <orpsTab *ngIf="activeTab=='Other Research Products'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchOrps]="fetchOrps" [(properties)]=properties>-->
<!-- </orpsTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Projects') != -1"-->
<!-- (click)="search('projectsTab', 1, 10); activeTab='Projects'">-->
<!-- <a class="uk-accordion-title" href="#">Projects-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchProjects.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <projectsTab *ngIf="activeTab=='Projects'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchProjects]="fetchProjects" [(properties)]=properties>-->
<!-- </projectsTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Content Providers') != -1"-->
<!-- (click)="search('datasourcesTab', 1, 10); activeTab='Content Providers'">-->
<!-- <a class="uk-accordion-title" href="#">Content Providers-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{fetchDataproviders.searchUtils.totalResults | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <datasourcesTab *ngIf="activeTab=='Content Providers'"-->
<!-- [paramsForSearchLink]="paramsForSearchLink"-->
<!-- [fetchDataproviders]="fetchDataproviders" [(properties)]=properties>-->
<!-- </datasourcesTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Organizations') != -1"-->
<!-- (click)="search('organizationsTab', 1, 10); activeTab='Organizations'">-->
<!-- <a class="uk-accordion-title" href="#">Organizations-->
<!-- &lt;!&ndash; <span class="uk-badge uk-badge-notification"> &ndash;&gt;-->
<!-- ({{dataProviderInfo.organizations.length | number}})-->
<!-- &lt;!&ndash; </span> &ndash;&gt;-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <organizationsTab *ngIf="activeTab=='Organizations'"-->
<!-- [organizations]="dataProviderInfo.organizations">-->
<!-- </organizationsTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1"-->
<!-- (click)="search('relatedDatasourcesTab', 1, 10); activeTab='Related Content Providers'">-->
<!-- <a class="uk-accordion-title" href="#">Related Content Providers</a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <relatedDatasourcesTab *ngIf="activeTab=='Related Content Providers'"-->
<!-- [dataproviderId]="datasourceId"-->
<!-- [results]="dataProviderInfo.relatedDatasources"-->
<!-- [loading]="loadingRelatedDatasources"-->
<!-- [fetchPublications]="fetchAggregatorsPublications"-->
<!-- [fetchDatasets]="fetchAggregatorsDatasets"-->
<!-- [fetchSoftware]="fetchAggregatorsSoftware"-->
<!-- [fetchOrps]="fetchAggregatorsOrps"-->
<!-- [(properties)]=properties>-->
<!-- </relatedDatasourcesTab>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Statistics') != -1"-->
<!-- (click)="search('statisticsTab', 1, 10); activeTab='Statistics'">-->
<!-- <a class="uk-accordion-title" href="#">Statistics</a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <div *ngIf="activeTab=='Statistics' && statsClicked">-->
<!-- <statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"-->
<!-- [datasourceId]="datasourceId"></statisticsTab>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li *ngIf="dataProviderInfo.tabs2.indexOf('Metrics') != -1"-->
<!-- (click)="search('metricsTab', 1, 10); activeTab='Metrics'">-->
<!-- <a class="uk-accordion-title" href="#">Metrics</a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <metrics *ngIf="activeTab=='Metrics'" [pageViews]="pageViews"-->
<!-- [id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"-->
<!-- (metricsResults)="metricsResults($event)" [(properties)]=properties>-->
<!-- </metrics>-->
<!-- <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalViews > 0"-->
<!-- [url]=viewsFrameUrl width="100%" height="250">-->
<!-- </i-frame>-->
<!-- <i-frame *ngIf="activeTab=='Metrics' && metricsClicked && totalDownloads > 0"-->
<!-- [url]=downloadsFrameUrl width="100%" height="250">-->
<!-- </i-frame>-->
<!-- </div>-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<div class=" uk-width-1-3@m uk-width-1-1@s">
<div class="uk-card uk-card-default uk-padding-small">
<div>
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>
<addThis></addThis>
</div>
<!-- <metrics [pageViews]="pageViews" shortView=true-->
<!-- [id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"-->
<!-- (metricsResults)="metricsResults($event)" [properties]=properties>-->
<!-- </metrics>-->
<!-- Metrics -->
<!-- <div class="uk-margin-top">-->
<!-- <div class="sideInfoTitle uk-margin-small-bottom">Metrics</div>-->
<!-- <div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">-->
<!-- <div></div>&lt;!&ndash; OpenAIRE Metrics &ndash;&gt;-->
<!-- </div>-->
<!-- </div>-->
</div>
<div class="uk-margin-small-top uk-text-muted uk-text-small uk-text-right">
Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
</div>
</div>
</div>
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
[texts]="pageContents['bottom']"></helper>
</div>
</div>
</div>
<feedback *ngIf="dataProviderInfo && properties.environment === 'development'" [dataProviderInfo]="dataProviderInfo"
[properties]="properties" [entityType]="'content provider'" [fields]="feedbackFields"
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
<!-- Statistics -->
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Statistics') != -1-->
<modal-alert *ngIf="dataProviderInfo &&
(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
[subTitle]="(dataProviderInfo.officialName
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
[entityType]="'content provider'"
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
</landing-header>
<div *ngIf="statsClicked" class="uk-margin-medium-top uk-margin-medium-right">
<statisticsTab [fetchPublications]="fetchPublications" [fetchDatasets]="fetchDatasets"
[fetchSoftware]="fetchSoftware" [fetchOther]="fetchOrps"
[datasourceId]="datasourceId"></statisticsTab>
</div>
</modal-alert>
<!-- Related Content Providers -->
<!-- && dataProviderInfo.relatedDatasources && dataProviderInfo.relatedDatasources.size > 0-->
<!-- && dataProviderInfo.tabs2 && dataProviderInfo.tabs2.indexOf('Related Content Providers') != -1-->
<modal-alert *ngIf="dataProviderInfo"
classBody="uk-width-xxlarge uk-padding-remove-right" #relatedDatasourcesModal>
<landing-header [properties]="properties" [title]="dataProviderInfo.title.name"
[subTitle]="(dataProviderInfo.officialName
&& dataProviderInfo.title.name !== dataProviderInfo.officialName)?dataProviderInfo.officialName:null"
[entityType]="'content provider'"
[types]="dataProviderInfo.type ? [dataProviderInfo.type] : null">
</landing-header>
<div class="uk-margin-medium-top uk-margin-medium-right">
<!-- [fetchPublications]="fetchAggregatorsPublications"-->
<!-- [fetchDatasets]="fetchAggregatorsDatasets"-->
<!-- [fetchSoftware]="fetchAggregatorsSoftware"-->
<!-- [fetchOrps]="fetchAggregatorsOrps"-->
<relatedDatasourcesTab
[dataproviderId]="datasourceId"
[results]="dataProviderInfo.relatedDatasources"
[loading]="loadingRelatedDatasources"
[fetchResults]="fetchAggregatorsResults"
[collectedFromName]="dataProviderInfo.title.name"
[properties]=properties
[modal]="relatedDatasourcesModal">
</relatedDatasourcesTab>
</div>
</modal-alert>
</div>