892 lines
58 KiB
HTML
892 lines
58 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" target="_blank"
|
|
[routerLink]="searchLinkToAdvancedPage">
|
|
<span class="custom-external uk-position-top-right uk-margin-small-right uk-margin-small-top"></span>
|
|
<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>
|
|
|
|
<ng-template #search_tab let-fetch="fetch" let-type="type" let-urlParam="urlParam"
|
|
let-searchLinkToAdvancedPage="searchLinkToAdvancedPage" let-params="params">
|
|
<errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(type, true, true)"
|
|
tab_error_class=true></errorMessages>
|
|
|
|
<div *ngIf="fetch.searchUtils.status == errorCodes.DONE">
|
|
<div class="tab-header">
|
|
<span *ngIf="type != 'organization' && type != 'dataprovider' && type != 'project'">Recent</span>
|
|
{{getEntityName(type, true, true)}}
|
|
</div>
|
|
<div class="uk-text-right">
|
|
<a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">
|
|
View all {{getEntityName(type, true, true)}}
|
|
<span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>
|
|
</a>
|
|
</div>
|
|
|
|
<search-result [properties]="properties"
|
|
[results]="fetch.results"
|
|
[status]="fetch.searchUtils.status"
|
|
[type]="type" urlParam="articleId">
|
|
</search-result>
|
|
|
|
<div class="uk-text-right">
|
|
<a class="el-content uk-button uk-button-text" [queryParams]="params" [routerLink]="searchLinkToAdvancedPage">
|
|
View all {{getEntityName(type, true, true)}}
|
|
<span *ngIf="fetch.searchUtils.totalResults <= searchNumber">in search page</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<div id="tm-main" class="landing uk-section uk-padding-remove-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 uk-margin-medium-top 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 uk-margin-remove-left uk-margin-large-bottom">
|
|
<div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom uk-padding uk-padding-remove-left uk-padding-remove-vertical">
|
|
<!--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="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>
|
|
|
|
|
|
|
|
<!-- <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 *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
|
|
<!-- || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
|
|
<!-- (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">–>-->
|
|
<!--<!–<!– <span class="uk-text-bold uk-position-center">–>–>-->
|
|
<!--<!–<!– {{dataProviderInfo.relatedDatasources?.size | number}}–>–>-->
|
|
<!--<!–<!– </span>–>–>-->
|
|
<!--<!– </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>
|
|
|
|
<!-- <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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchPublications.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchDatasets.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchSoftware.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchOrps.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchProjects.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{fetchDataproviders.searchUtils.totalResults | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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-->
|
|
<!-- <!– <span class="uk-badge uk-badge-notification"> –>-->
|
|
<!-- ({{dataProviderInfo.organizations.length | number}})-->
|
|
<!-- <!– </span> –>-->
|
|
<!-- </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 uk-padding-remove">
|
|
<ul class="user-actions uk-list uk-card uk-card-default uk-padding">
|
|
<li><addThis></addThis></li>
|
|
<!-- Metrics -->
|
|
<li *ngIf="hasMetrics" class="uk-margin-medium-top">
|
|
<div class="uk-text-center uk-flex uk-flex-middle uk-flex-center">
|
|
<div>
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="datasourceId" [entityType]="'datasources'" [entity]="'Content Provider'"
|
|
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
|
|
(metricsResults)="metricsResults($event)" [properties]=properties>
|
|
</metrics>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="dataProviderInfo != null">
|
|
|
|
<div *ngIf="numberOfTabs > 0; else loadingBlock" class="main-tabs-div">
|
|
<ng-template #summary_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div *ngIf="hasPrimaryInfo" class="uk-width-expand uk-padding uk-inline">
|
|
<!-- Description -->
|
|
<div *ngIf="dataProviderInfo.description" class="uk-margin-medium-bottom">
|
|
<div class="uk-text-muted">Description</div>
|
|
<div class="uk-text-justify uk-height-max-medium uk-overflow-auto">
|
|
<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;">
|
|
Read more
|
|
</a>
|
|
</div>
|
|
<div *ngIf="dataProviderInfo.description && showNumDescription > thresholdDescription"
|
|
class="uk-text-right">
|
|
<a (click)="showNumDescription = thresholdDescription;">
|
|
Read less
|
|
</a>
|
|
</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"
|
|
class="uk-margin-medium-bottom 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"
|
|
class="uk-display-inline-block">
|
|
<span class="uk-text-muted">Latest data aggregation: </span>
|
|
{{dataProviderInfo.aggregationStatus.lastUpdateDate | date}}
|
|
</span>
|
|
</div>
|
|
|
|
<div *ngIf="dataProviderInfo.countries != undefined && dataProviderInfo.countries.length > 0"
|
|
class="uk-margin-medium-bottom">
|
|
<span class="uk-text-muted">Countries:</span>
|
|
{{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-muted">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>
|
|
</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>
|
|
</div>
|
|
|
|
<div *ngIf="hasSecondaryInfo"
|
|
[class]="'uk-padding uk-inline ' + (hasPrimaryInfo?'uk-width-1-3@m right-column': 'uk-width-expand')">
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL || dataProviderInfo.openDoarId || dataProviderInfo.r3DataId"
|
|
class="uk-margin-medium-bottom">
|
|
<div *ngIf="dataProviderInfo.oaiPmhURL">
|
|
<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>
|
|
</div>
|
|
<div *ngIf="dataProviderInfo.openDoarId" class="uk-display-inline-block">
|
|
<span class="uk-text-muted">Detailed information @ </span>
|
|
<a target="_blank" href="{{properties.openDoarURL+dataProviderInfo.openDoarId}}">
|
|
OpenDOAR
|
|
<span class="custom-external custom-icon space"></span>
|
|
</a>
|
|
</div>
|
|
<span *ngIf="dataProviderInfo.r3DataId" class="uk-display-inline-block">
|
|
<span class="uk-text-muted">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">
|
|
<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>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #projects_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchProjects, type: 'project', urlParam: 'projectId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedProjects,
|
|
params: getParamsForSearchLink()}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #datasources_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchDataproviders, type: 'dataprovider', urlParam: 'datasourceId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedDataProviders,
|
|
params: getParamsForSearchLink()}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #relatedDatasources_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<relatedDatasourcesTab
|
|
[dataproviderId]="datasourceId"
|
|
[results]="dataProviderInfo.relatedDatasources"
|
|
[loading]="loadingRelatedDatasources"
|
|
[fetchResults]="fetchAggregatorsResults"
|
|
[collectedFromName]="dataProviderInfo.title.name"
|
|
[properties]=properties
|
|
[modal]="relatedDatasourcesModal">
|
|
</relatedDatasourcesTab>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #publications_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchPublications, type: 'publication', urlParam: 'articleId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
|
params: getParamsForSearchLink('publications')}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #datasets_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchDatasets, type: 'dataset', urlParam: 'datasetId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
|
params: getParamsForSearchLink('datasets')}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #software_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchSoftware, type: 'software', urlParam: 'softwareId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
|
params: getParamsForSearchLink('software')}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #other_tab>
|
|
<div class="uk-grid uk-margin-remove">
|
|
<div class="uk-width-expand uk-padding">
|
|
<ng-container *ngTemplateOutlet="search_tab;
|
|
context: { fetch: fetchOrps, type: 'other', urlParam: 'orpId',
|
|
searchLinkToAdvancedPage: properties.searchLinkToAdvancedResults,
|
|
params: getParamsForSearchLink('other')}">
|
|
</ng-container>
|
|
</div>
|
|
</div>
|
|
</ng-template>
|
|
<ng-template #statistics_tab>
|
|
<div class="">
|
|
<div class="uk-width-expand uk-padding">
|
|
<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>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<my-tabs [class]="numberOfTabs > 2 ? 'uk-visible@m' : ''" (selectedActiveTab)="onSelectActiveTab($event)">
|
|
<my-tab *ngIf="hasPrimaryInfo || hasSecondaryInfo"
|
|
[tabTitle]="'Summary'" [tabId]="'summary'" [class]="(firstTab === 'summary')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchProjects.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Projects'" [tabNumber]="fetchProjects.searchUtils.totalResults"
|
|
[tabId]="'projects'" [class]="(firstTab === 'projects')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="projects_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDataproviders.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Content Providers'" [tabNumber]="fetchDataproviders.searchUtils.totalResults"
|
|
[tabId]="'datasources'" [class]="(firstTab === 'datasources')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="datasources_tab;"></ng-container>
|
|
</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'"
|
|
[class]="(firstTab === 'relatedDatasources')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="relatedDatasources_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchPublications.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Publications'" [tabNumber]="fetchPublications.searchUtils.totalResults"
|
|
[tabId]="'publications'" [class]="(firstTab === 'publications')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="publications_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDatasets.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Research Data'" [tabNumber]="fetchDatasets.searchUtils.totalResults"
|
|
[tabId]="'datasets'" [class]="(firstTab === 'datasets')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="datasets_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchSoftware.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Software'" [tabNumber]="fetchSoftware.searchUtils.totalResults"
|
|
[tabId]="'software'" [class]="(firstTab === 'software')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="software_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
|
[tabId]="'other'" [class]="(firstTab === 'other')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="other_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
|
[tabTitle]="'Statistics'" [statistics]="true" [tabId]="'statistics'"
|
|
[class]="(firstTab === 'statistics')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="statistics_tab;"></ng-container>
|
|
</my-tab>
|
|
</my-tabs>
|
|
|
|
<my-small-tabs *ngIf="numberOfTabs > 2" class="uk-hidden@m" (selectedActiveTab)="onSelectActiveTab($event)">
|
|
<my-tab *ngIf="hasPrimaryInfo || hasSecondaryInfo"
|
|
[tabTitle]="'Summary'" [tabId]="'summary'" [class]="(firstTab === 'summary')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="summary_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchProjects.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Projects'" [tabNumber]="fetchProjects.searchUtils.totalResults"
|
|
[tabId]="'projects'" [class]="(firstTab === 'projects')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="projects_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDataproviders.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Content Providers'" [tabNumber]="fetchDataproviders.searchUtils.totalResults"
|
|
[tabId]="'datasources'" [class]="(firstTab === 'datasources')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="datasources_tab;"></ng-container>
|
|
</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'"
|
|
[class]="(firstTab === 'relatedDatasources')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="relatedDatasources_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchPublications.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Publications'" [tabNumber]="fetchPublications.searchUtils.totalResults"
|
|
[tabId]="'publications'" [class]="(firstTab === 'publications')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="publications_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchDatasets.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Research Data'" [tabNumber]="fetchDatasets.searchUtils.totalResults"
|
|
[tabId]="'datasets'" [class]="(firstTab === 'datasets')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="datasets_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchSoftware.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Software'" [tabNumber]="fetchSoftware.searchUtils.totalResults"
|
|
[tabId]="'software'" [class]="(firstTab === 'software')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="software_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
|
[tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
|
[tabId]="'other'" [class]="(firstTab === 'other')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="other_tab;"></ng-container>
|
|
</my-tab>
|
|
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
|
[tabTitle]="'Statistics'" [statistics]="true" [tabId]="'statistics'"
|
|
[class]="(firstTab === 'statistics')?'uk-active':''">
|
|
<ng-container *ngTemplateOutlet="statistics_tab;"></ng-container>
|
|
</my-tab>
|
|
</my-small-tabs>
|
|
</div>
|
|
<ng-template #loadingBlock>
|
|
<div *ngIf="!tabsAreInitialized" class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert">
|
|
<span class="loading-gif uk-align-center" ></span>
|
|
</div>
|
|
</ng-template>
|
|
|
|
<div class="uk-margin-small-top uk-flex">
|
|
<!-- Last Index Info-->
|
|
<div class="uk-width-2-3@m uk-width-1-2">
|
|
<img src="assets/common-assets/graph.svg" style="opacity: 0.4">
|
|
<span class="uk-margin-small-left uk-text-baseline uk-text-muted">Powered by OpenAIRE Open Research Graph</span>
|
|
<span class="uk-text-baseline uk-text-muted">
|
|
. Last update of records in OpenAIRE: {{indexUpdateDate | date: 'MMM dd, yyyy'}}
|
|
</span>
|
|
</div>
|
|
<!--Feedback-->
|
|
<div class="uk-width-expand uk-text-right">
|
|
<span class="uk-text-muted">Any information missing or wrong?</span>
|
|
<a (click)="showFeedback = true; scroll()" class="portal-link space">Report an Issue</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
[texts]="pageContents['bottom']"></helper>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<feedback *ngIf="dataProviderInfo" [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 &&-->
|
|
<!-- (fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
|
|
<!-- || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
|
|
<!-- 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>
|