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

1012 lines
62 KiB
HTML
Raw Normal View History

<ng-template #share_research_results_box
let-dynamic_content="dynamic_content">
<ul class="uk-list uk-margin-remove-bottom">
<!-- class="uk-margin-top"-->
<li>
<a class="clickable"
uk-toggle="target: #dynamic_content_id; animation:uk-animation-fade"><span
class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg" icon="code" ratio="1"><polyline
fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"></polyline><polyline
fill="none" stroke="#000" stroke-width="1.01"
points="7,4 1,10 7,16"></polyline></svg></span> Include in your site (HTML)</a>
<div hidden id="dynamic_content_id" class="uk-margin-small-top">
<div class="uk-grid">
<a
class="clipboard_btn uk-padding-remove-left uk-margin-small-left uk-text-right uk-width-1-1"
data-clipboard-target="#clipboard" title="Copy to clipboard">
<button class="uk-button uk-button-small uk-button-default uk-icon">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="copy" ratio="1">
<rect fill="none" stroke="#000" x="3.5" y="2.5" width="12" height="16"></rect>
<polyline fill="none" stroke="#000" points="5 0.5 17.5 0.5 17.5 17"></polyline>
</svg>
<span class="uk-margin-small-left">COPY</span>
</button>
</a>
</div>
<pre class="box-content uk-padding-remove-bottom uk-margin-remove-bottom"><code
id="clipboard">{{dynamic_content}}</code></pre>
<div class="uk-text-small uk-margin-small-top">
For further information contact us at
<u><a [href]="'mailto:'+properties.helpdeskEmail" class="uk-link-text">{{properties.helpdeskEmail}}</a></u>
</div>
</div>
</li>
</ul>
</ng-template>
<ng-template #download_research_results_box
let-type="type" let-fileName_type="fileName_type" let-csvParams="csvParams">
<ul class="uk-list uk-margin-remove-bottom">
<!-- class="uk-margin-top"-->
<li>
<a class="clickable"
(click)="downloadHtmlFile(type, 'funder-'+fileName_type+'-report')">
<!-- target="_blank"-->
<!-- href="/project-report?projectId={{projectId}}&size={{fetch.searchUtils.totalResults}}&type={{type}}">-->
<!-- <span class="uk-icon">-->
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="code" ratio="1">-->
<!-- <polyline fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"></polyline>-->
<!-- <polyline fill="none" stroke="#000" stroke-width="1.01" points="7,4 1,10 7,16"></polyline></svg>-->
<!-- </span>-->
<span class="uk-icon">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="download" ratio="1">
<polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"></polyline>
<rect x="3" y="17" width="13" height="1"></rect>
<line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"></line>
</svg>
</span>
Download {{projectInfo.funding.funderShortName}} report (HTML)
</a>
</li>
<li class="uk-margin-small-top">
<a class="clickable" (click)="downloadCsvFile(downloadURLAPI+csvParams, 'funder-'+fileName_type+'-report')">
<span class="uk-icon">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="download" ratio="1">
<polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"></polyline>
<rect x="3" y="17" width="13" height="1"></rect>
<line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"></line>
</svg>
</span>
Download {{projectInfo.funding.funderShortName}} report (CSV)
</a>
</li>
</ul>
</ng-template>
<ng-template #search_box let-fetch="fetch" let-type="type" let-typeName="typeName">
<div *ngIf="fetch.searchUtils.totalResults > 0">
<div class="uk-position-relative">
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, type, 'false'])"
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
<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">
<errorMessages [status]="[fetch.searchUtils.status]" [type]="getEntityName(type, true, true)"
tab_error_class=true></errorMessages>
<div *ngIf="fetch.searchUtils.status == errorCodes.DONE">
<div class="uk-inline uk-flex uk-flex-right">
<span class="uk-text-uppercase uk-position-left uk-text-middle uk-flex-middle uk-flex">
<span>Top 10</span><span class="space uk-text-muted">{{getEntityName(type, true, true)}}</span>
</span>
<a [queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'type', 'qf'], ['relprojectid', projectId, getEntityName(type, true, false), 'false'])"
[routerLink]="properties.searchLinkToAdvancedResults" target="_blank">
<button *ngIf="fetch.searchUtils.totalResults > 10"
class="uk-button uk-button-small portal-button">
<span uk-icon="search"></span>
View more
</button>
</a>
</div>
<search-result [results]="fetch.results"
[status]="fetch.searchUtils.status"
[type]="type" urlParam="articleId"
dividerNotCard="true">
</search-result>
</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="project" class="uk-container uk-container-large uk-margin-medium-top project">
<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="projectInfo != null" class="uk-grid">
<div class="uk-width-2-3@m uk-width-1-1@s uk-margin-bottom">
<schema2jsonld *ngIf="projectInfo" [data]=projectInfo
[URL]="properties.baseLink+properties.searchLinkToProject+projectId"
type="project"></schema2jsonld>
<landing-header [properties]="properties" [title]="projectName"
[subTitle]="projectInfo.acronym ? projectInfo.title : ''"
[entityType]="'project'"
[startDate]="projectInfo.startDate"
[endDate]="projectInfo.endDate"
[status]="projectInfo.status">
</landing-header>
<!-- Labels -->
<div class="uk-margin-top uk-margin-bottom">
<span *ngIf="projectInfo.openAccessMandatePublications != undefined && projectInfo.openAccessMandatePublications && projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets"
class="uk-label custom-label label-open" title="Open Access mandate for Publications and Research Data">
<span class="uk-visible@m">Open Access mandate for Publications and Research Data</span>
<span class="uk-hidden@m">Open Access mandate for ...</span>
</span>{{" "}}
<span *ngIf="projectInfo.openAccessMandatePublications != undefined && projectInfo.openAccessMandatePublications && (projectInfo.openAccessMandateDatasets == undefined || !projectInfo.openAccessMandateDatasets)"
class="uk-label custom-label label-open" title="Open Access mandate for Publications">
Open Access mandate for Publications
</span>{{" "}}
<span *ngIf="projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets && (projectInfo.openAccessMandatePublications == undefined || !projectInfo.openAccessMandatePublications)"
class="uk-label custom-label label-open" title="Open Access mandate for Research Data">
Open Access mandate for Research Data
</span>{{" "}}
<span *ngIf="projectInfo.funding && projectInfo.funding.funderName" class="uk-label custom-label label-funder" title="Funder">
{{projectInfo.funding.funderName}}
</span>{{" "}}
<span *ngIf="projectInfo.specialClause39"
class="uk-label custom-label label-sc39" title="Special Clause 39">
Special Clause 39
</span>{{" "}}
</div>
<ul class="uk-list uk-margin-bottom left-border">
<li *ngIf="projectInfo.funding">
<span *ngIf="projectInfo.funding.funderName" class="uk-margin-right">
<span class="uk-text-muted">Funder: </span>
<span class="uk-text-bold">{{projectInfo.funding.funderName}}</span>
</span>
<span *ngIf="projectInfo.funding.code" class="uk-margin-right uk-display-inline-block">
<span class="uk-text-muted">Project code: </span>
{{projectInfo.funding.code}}
</span>
<span *ngIf="projectInfo.funding.callIdentifier" class="uk-display-inline-block">
<span class="uk-text-muted">Call for proposal: </span>
{{projectInfo.funding.callIdentifier}}
</span>
</li>
<li *ngIf="projectInfo.funding">
<span *ngIf="projectInfo.funding.fundingStream" class="uk-margin-right">
<span class="uk-text-muted">Funded under: </span>
{{projectInfo.funding.fundingStream}}
</span>
<span *ngIf="projectInfo.funding.budget" class="uk-margin-right uk-display-inline-block">
<span class="uk-text-muted">Overall Budget: </span>
{{projectInfo.funding.budget | number}}
<span *ngIf="projectInfo.funding.currency">{{projectInfo.funding.currency}}</span>
</span>
<span *ngIf="projectInfo.funding.contribution" class="uk-display-inline-block">
<span class="uk-text-muted">Funder Contribution: </span>
{{projectInfo.funding.contribution | number}}
<span *ngIf="projectInfo.funding.currency">{{projectInfo.funding.currency}}</span>
</span>
</li>
<li *ngIf="projectInfo.status" class="uk-margin-right">
<span>
<span class="uk-text-muted">Status: </span>
{{projectInfo.status}}
</span>
</li>
<li *ngIf="projectInfo.startDate || projectInfo.endDate" class="uk-width-2-5">
<progress *ngIf="projectInfo.startDate && projectInfo.endDate"
class="uk-progress portal-progress uk-margin-small-top uk-margin-remove-bottom"
[value]="(projectInfo.currentDate > projectInfo.startDate ? projectInfo.currentDate-projectInfo.startDate : 0)"
[max]="projectInfo.endDate-projectInfo.startDate">
</progress>
<div class="uk-grid">
<span *ngIf="projectInfo.startDate" class="uk-width-1-2">
<div class="uk-text-muted">Start Date</div>
<div>{{projectInfo.startDate | date: 'dd MMM yyyy'}}</div>
</span>
<span *ngIf="projectInfo.endDate" [class]="'uk-width-1-2 ' + (projectInfo.startDate ? 'uk-text-right' : '')">
<div class="uk-text-muted">End Date</div>
<div>{{projectInfo.endDate | date: 'dd MMM yyyy'}}</div>
</span>
</div>
</li>
<li *ngIf="projectInfo.urlInfo ">
<span class="uk-button-text">
<a target="_blank" href="{{projectInfo.url}}">
{{projectInfo.urlInfo}}
</a>
</span>
</li>
</ul>
<ul class="uk-list uk-margin-bottom">
<li *ngIf="projectInfo.openAccessMandatePublications != undefined || projectInfo.openAccessMandateDatasets != undefined">
<div>Open Access mandate</div>
<div>
<span *ngIf="projectInfo.openAccessMandatePublications != undefined" class="uk-margin-right">
<span class="uk-text-muted">Publications: </span>
<span *ngIf="projectInfo.openAccessMandatePublications">Yes</span>
<span *ngIf="!projectInfo.openAccessMandatePublications">No</span>
</span>
<span *ngIf="projectInfo.openAccessMandateDatasets != undefined">
<span class="uk-text-muted">Research Data: </span>
<span *ngIf="projectInfo.openAccessMandateDatasets">Yes</span>
<span *ngIf="!projectInfo.openAccessMandateDatasets">No</span>
</span>
</div>
</li>
</ul>
<!-- <div *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0-->
<!-- || fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"-->
<!-- class="uk-margin-medium-top">-->
<!-- <div class="uk-margin-top simple-buttons uk-flex uk-flex-middle">-->
<!-- <div (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>-->
<!-- <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>-->
<!-- <ng-container *ngTemplateOutlet="search_box;-->
<!-- context: { fetch: fetchPublications, type: 'publications', typeName: 'Publications'}">-->
<!-- </ng-container>-->
<!-- <ng-container *ngTemplateOutlet="search_box;-->
<!-- context: { fetch: fetchDatasets, type: 'datasets', typeName: 'Research Data'}">-->
<!-- </ng-container>-->
<!-- <ng-container *ngTemplateOutlet="search_box;-->
<!-- context: { fetch: fetchSoftware, type: 'software', typeName: 'Software'}">-->
<!-- </ng-container>-->
<!-- <ng-container *ngTemplateOutlet="search_box;-->
<!-- context: { fetch: fetchOrps, type: 'other', typeName: 'Other Research Products'}">-->
<!-- </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>-->
<!-- <ul class="custom-accordion" uk-accordion>-->
<!-- <li (click)="activeTab='Publications'; searchPublicationsInit()">-->
<!-- <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">-->
<!-- <errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'"-->
<!-- tab_error_class=true></errorMessages>-->
<!-- <div *ngIf="fetchPublications.searchUtils.status == errorCodes.DONE">-->
<!-- <div class="uk-text-right" *ngIf="fetchPublications.searchUtils.totalResults > 10">-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
<!-- routerLinkActive="router-link-active" [routerLink]="linkToSearchPublications"-->
<!-- class="uk-button uk-button-text">-->
<!-- View all {{fetchPublications.searchUtils.totalResults | number}} results-->
<!-- </a>-->
<!-- </div>-->
<!-- <tab-result [(results)]="fetchPublications.results"-->
<!-- [(status)]="fetchPublications.searchUtils.status"-->
<!-- type="publication" urlParam="articleId">-->
<!-- </tab-result>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li (click)="activeTab='Research Data'; searchDatasetsInit()">-->
<!-- <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">-->
<!-- <errorMessages [status]="[fetchDatasets.searchUtils.status]" [type]="'research data'"-->
<!-- tab_error_class=true></errorMessages>-->
<!-- <div *ngIf="fetchDatasets.searchUtils.status == errorCodes.DONE">-->
<!-- <div class="uk-text-right" *ngIf="fetchDatasets.searchUtils.totalResults > 10">-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
<!-- routerLinkActive="router-link-active" [routerLink]="linkToSearchDatasets"-->
<!-- class="uk-button uk-button-text">-->
<!-- View all {{fetchDatasets.searchUtils.totalResults | number}} results-->
<!-- </a>-->
<!-- </div>-->
<!-- <tab-result [(results)]="fetchDatasets.results"-->
<!-- [(status)]="fetchDatasets.searchUtils.status"-->
<!-- type="dataset" urlParam="datasetId">-->
<!-- </tab-result>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li (click)="activeTab='Software'; searchSoftwareInit()">-->
<!-- <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">-->
<!-- <errorMessages [status]="[fetchSoftware.searchUtils.status]" [type]="'software'"-->
<!-- tab_error_class=true></errorMessages>-->
<!-- <div *ngIf="fetchSoftware.searchUtils.status == errorCodes.DONE">-->
<!-- <div class="uk-text-right" *ngIf="fetchSoftware.searchUtils.totalResults > 10">-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
<!-- routerLinkActive="router-link-active" [routerLink]="linkToSearchSoftware"-->
<!-- class="uk-button uk-button-text">-->
<!-- View all {{fetchSoftware.searchUtils.totalResults | number}} results-->
<!-- </a>-->
<!-- </div>-->
<!-- <tab-result [(results)]="fetchSoftware.results"-->
<!-- [(status)]="fetchSoftware.searchUtils.status"-->
<!-- type="software" urlParam="softwareId">-->
<!-- </tab-result>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li (click)="activeTab='Other Research Products'; searchOrpsInit()">-->
<!-- <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">-->
<!-- <errorMessages [status]="[fetchOrps.searchUtils.status]" [type]="'other research products'"-->
<!-- tab_error_class=true></errorMessages>-->
<!-- <div *ngIf="fetchOrps.searchUtils.status == errorCodes.DONE">-->
<!-- <div class="uk-text-right" *ngIf="fetchOrps.searchUtils.totalResults > 10">-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
<!-- routerLinkActive="router-link-active" [routerLink]="linkToSearchOrps"-->
<!-- class="uk-button uk-button-text">-->
<!-- View all {{fetchOrps.searchUtils.totalResults | number}} results-->
<!-- </a>-->
<!-- </div>-->
<!-- <tab-result [(results)]="fetchOrps.results"-->
<!-- [(status)]="fetchOrps.searchUtils.status"-->
<!-- type="other" urlParam="orpId">-->
<!-- </tab-result>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li (click)="activeTab='Statistics'; statsClicked=true">-->
<!-- <a class="uk-accordion-title" href="#">-->
<!-- Statistics-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]"-->
<!-- [type]="'statistics'" tab_error_class=true></errorMessages>-->
<!-- <div-->
<!-- *ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">-->
<!-- <div>-->
<!-- <p class="uk-text-bold">Research Results</p>-->
<!-- <i-frame [url]=chartScientificResultsUrl></i-frame>-->
<!-- <p class="uk-text-bold">Access Mode of Research Results</p>-->
<!-- <i-frame [url]=chartAccessModeUrl></i-frame>-->
<!-- <p class="uk-text-bold">By Datasource of Research Results</p>-->
<!-- <i-frame [url]=chartDatasourcesUrl></i-frame>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li (click)="metricsClicked=true; activeTab='Metrics'">-->
<!-- <a class="uk-accordion-title" href="#">-->
<!-- Metrics-->
<!-- </a>-->
<!-- <div class="uk-accordion-content">-->
<!-- <metrics *ngIf="metricsClicked" [pageViews]="pageViews"-->
<!-- [id]="projectId" [entityType]="'projects'" [entity]="'Project'"-->
<!-- (metricsResults)="metricsResults($event)" [properties]=properties>-->
<!-- </metrics>-->
<!-- <i-frame *ngIf="metricsClicked && totalViews > 0"-->
<!-- [url]=viewsFrameUrl >-->
<!-- </i-frame>-->
<!-- <i-frame *ngIf="metricsClicked && totalDownloads > 0"-->
<!-- [url]=downloadsFrameUrl>-->
<!-- </i-frame>-->
<!-- </div>-->
<!-- </li>-->
<!-- </ul>-->
</div>
<div class="uk-width-1-3@m uk-width-1-1@s">
<ul class="uk-list uk-card uk-card-default uk-padding-small">
<!-- <div *ngIf="isRouteAvailable('participate/direct-claim')">-->
<!-- <div class="uk-margin-auto uk-width-3-4">-->
<!-- <button class="uk-button uk-width-1-1 portal-button">-->
<!-- <span uk-icon="link"></span>-->
<!-- Link this project to...-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="uk-text-center uk-margin-expand uk-padding-small uk-margin-auto default-dropdown "-->
<!-- uk-dropdown="mode:click">-->
<!-- <div class="uk-grid uk-child-width-1-3 uk-width-large ">-->
<!-- <div>-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId,-->
<!-- 'project','result'])"-->
<!-- routerLinkActive="router-link-active" routerLink="/participate/direct-claim">-->
<!-- <button class="uk-icon-button portal-button">-->
<!-- <span class="uk-icon">-->
<!-- <svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"-->
<!-- xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"-->
<!-- width="12" x="3.5" y="2.5"></rect><polyline-->
<!-- fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>-->
<!-- </button>-->
<!-- <div>Research results</div>-->
<!-- </a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div *ngIf="isRouteAvailable('participate/deposit/learn-how')"-->
<!-- class="uk-margin-small-top uk-margin-auto uk-width-3-4">-->
<!-- <a routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how"-->
<!-- class="uk-button uk-button-primary uk-width-1-1">-->
<!-- <span class="uk-icon">-->
<!-- <svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1">-->
<!-- <polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline>-->
<!-- <rect x="3" y="17" width="13" height="1"></rect>-->
<!-- <line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line>-->
<!-- </svg>-->
<!-- </span>-->
<!-- Deposit-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="uk-margin-top">-->
<!-- <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>-->
<!-- <div class="uk-margin-small-left uk-margin-small-right"><addThis></addThis></div>-->
<!-- </div>-->
<!-- Metrics -->
<!-- <div *ngIf="hasMetrics" 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; Open Citations&ndash;&gt;-->
<!-- <div>-->
<!-- <metrics [pageViews]="pageViews"-->
<!-- [id]="projectId" [entityType]="'projects'" [entity]="'project'"-->
<!-- [viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"-->
<!-- (metricsResults)="metricsResults($event)" [properties]=properties>-->
<!-- </metrics>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="uk-margin-top">-->
<!-- <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share project's content</div>-->
<!-- <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">-->
<!-- <div class="uk-padding-small uk-padding-remove-vertical">-->
<!-- <mat-select [(value)]="share_research_results_type"-->
<!-- [disableOptionCentering]="true"-->
<!-- panelClass="entitiesSelectionPanel"-->
<!-- class="matSelection">-->
<!-- <mat-option value="">Select content type</mat-option>-->
<!-- <mat-option value="result">All research outcomes</mat-option>-->
<!-- <mat-option value="publication">Publications</mat-option>-->
<!-- <mat-option value="dataset">Research data</mat-option>-->
<!-- <mat-option value="software">Software</mat-option>-->
<!-- <mat-option value="other">Other research products</mat-option>-->
<!-- </mat-select>-->
<!-- <div *ngIf="share_research_results_type" class="uk-animation-slide-top-small">-->
<!-- <ng-container *ngTemplateOutlet="share_research_results_box;-->
<!-- context: { dynamic_content: getDynamicContent(share_research_results_type) }">-->
<!-- </ng-container>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="uk-margin-top">-->
<!-- <div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Download report</div>-->
<!-- <div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">-->
<!--&lt;!&ndash; <select class="select" id="download_report" name="download_report"&ndash;&gt;-->
<!--&lt;!&ndash; [(ngModel)]="download_research_results_type">&ndash;&gt;-->
<!--&lt;!&ndash; <option value="">Select content type</option>&ndash;&gt;-->
<!--&lt;!&ndash; <option value="results">All research outcomes</option>&ndash;&gt;-->
<!--&lt;!&ndash; <option value="publications">Publications</option>&ndash;&gt;-->
<!--&lt;!&ndash; <option value="datasets">Research data</option>&ndash;&gt;-->
<!--&lt;!&ndash; <option value="software">Software</option>&ndash;&gt;-->
<!--&lt;!&ndash; <option value="other">Other research products</option>&ndash;&gt;-->
<!--&lt;!&ndash; </select>&ndash;&gt;-->
<!-- <div class="uk-padding-small uk-padding-remove-vertical">-->
<!-- <mat-select *ngIf="projectInfo.funding &&-->
<!-- (fetchPublications.searchUtils.totalResults > 0 ||-->
<!-- fetchDatasets.searchUtils.totalResults > 0 ||-->
<!-- fetchSoftware.searchUtils.totalResults > 0 ||-->
<!-- fetchOrps.searchUtils.totalResults > 0)"-->
<!-- [(value)]="download_research_results_type"-->
<!-- [disableOptionCentering]="true"-->
<!-- panelClass="entitiesSelectionPanel"-->
<!-- class="matSelection">-->
<!-- <mat-option value="">Select content type</mat-option>-->
<!-- <mat-option value="results">All research outcomes</mat-option>-->
<!-- <mat-option value="publications"-->
<!-- [disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Publications-->
<!-- </mat-option>-->
<!-- <mat-option value="datasets"-->
<!-- [disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Research data-->
<!-- </mat-option>-->
<!-- <mat-option value="software"-->
<!-- [disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Software-->
<!-- </mat-option>-->
<!-- <mat-option value="other"-->
<!-- [disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE"-->
<!-- [attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"-->
<!-- title="No report available">-->
<!-- Other research products-->
<!-- </mat-option>-->
<!-- </mat-select>-->
<!-- <div *ngIf="download_research_results_type" class="uk-animation-slide-top-small">-->
<!-- <ng-container *ngTemplateOutlet="download_research_results_box;-->
<!-- context: { type: download_research_results_type,-->
<!-- fileName_type: getFileNameType(download_research_results_type),-->
<!-- csvParams: getCsvParams(download_research_results_type) }">-->
<!-- </ng-container>-->
<!-- </div>-->
<!-- <div *ngIf="!projectInfo.funding ||-->
<!-- (fetchPublications.searchUtils.totalResults == 0 &&-->
<!-- fetchDatasets.searchUtils.totalResults == 0 &&-->
<!-- fetchSoftware.searchUtils.totalResults == 0 &&-->
<!-- fetchOrps.searchUtils.totalResults == 0)"-->
<!-- class="uk-text-muted">-->
<!-- No reports available-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- NEW-->
<li><addThis></addThis></li>
<li *ngIf="isRouteAvailable('participate/direct-claim')">
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openLinkProjectModal()">
<span class="uk-icon-button portal-button" uk-icon="link"></span>
Link this project to...
</a>
<modal-alert #linkProjectModal>
<div class="uk-grid uk-child-width-1-3 uk-width-large ">
<div>
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId,
'project','result'])"
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
<button class="uk-icon-button portal-button">
<span class="uk-icon">
<svg height="20" icon="copy" ratio="1" viewBox="0 0 20 20" width="20"
xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="16" stroke="#000"
width="12" x="3.5" y="2.5"></rect><polyline
fill="none" points="5 0.5 17.5 0.5 17.5 17" stroke="#000"></polyline></svg></span>
</button>
<div>Research results</div>
</a>
</div>
</div>
</modal-alert>
</li>
<li *ngIf="isRouteAvailable('participate/deposit/learn-how')">
<a class="uk-link-text uk-text-bold uk-text-uppercase"
routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how">
<span class="uk-icon uk-icon-button uk-button-primary">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="1">
<polyline fill="none" stroke="#000" points="5 8 9.5 3.5 14 8 "></polyline>
<rect x="3" y="17" width="13" height="1"></rect>
<line fill="none" stroke="#000" x1="9.5" y1="15" x2="9.5" y2="4"></line>
</svg>
</span>
Deposit your research
</a>
</li>
<li>
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openShareResultsModal()">
<span class="uk-icon uk-icon-button uk-button-default">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="code" ratio="1">
<polyline fill="none" stroke="#000" stroke-width="1.01" points="13,4 19,10 13,16"></polyline>
<polyline fill="none" stroke="#000" stroke-width="1.01" points="7,4 1,10 7,16"></polyline>
</svg>
</span>
Share results
</a>
<modal-alert #shareResultsModal>
<div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
<div class="uk-padding-small uk-padding-remove-vertical">
<mat-form-field class="matSelectionFormField uk-width-1-1">
<mat-label>Select content type to share</mat-label>
<mat-select [(value)]="share_research_results_type"
[disableOptionCentering]="true"
panelClass="entitiesSelectionPanel"
class="matSelection">
<!-- <mat-option value="">Select content type</mat-option>-->
<mat-option value="result">All research outcomes</mat-option>
<mat-option value="publication">Publications</mat-option>
<mat-option value="dataset">Research data</mat-option>
<mat-option value="software">Software</mat-option>
<mat-option value="other">Other research products</mat-option>
</mat-select>
</mat-form-field>
<div *ngIf="share_research_results_type" class="uk-animation-slide-top-small">
<ng-container *ngTemplateOutlet="share_research_results_box;
context: { dynamic_content: getDynamicContent(share_research_results_type) }">
</ng-container>
</div>
</div>
</div>
</modal-alert>
</li>
<li>
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openDownloadReportModal()">
<span class="uk-icon uk-icon-button uk-button-secondary">
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="download" ratio="1">
<polyline fill="none" stroke="#000" points="14,10 9.5,14.5 5,10"></polyline>
<rect x="3" y="17" width="13" height="1"></rect>
<line fill="none" stroke="#000" x1="9.5" y1="13.91" x2="9.5" y2="3"></line>
</svg>
</span>
Download report
</a>
<modal-alert #downloadReportModal>
<div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
<div class="uk-padding-small uk-padding-remove-vertical">
<mat-form-field class="matSelectionFormField uk-width-1-1">
<mat-label>Select content type report to download</mat-label>
<mat-select *ngIf="projectInfo.funding &&
(fetchPublications.searchUtils.totalResults > 0 ||
fetchDatasets.searchUtils.totalResults > 0 ||
fetchSoftware.searchUtils.totalResults > 0 ||
fetchOrps.searchUtils.totalResults > 0)"
[(value)]="download_research_results_type"
[disableOptionCentering]="true"
panelClass="entitiesSelectionPanel"
class="matSelection">
<!-- <mat-option value="">Select content type</mat-option>-->
<mat-option value="results">All research outcomes</mat-option>
<mat-option value="publications"
[disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE"
[attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
title="No report available">
Publications
</mat-option>
<mat-option value="datasets"
[disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE"
[attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
title="No report available">
Research data
</mat-option>
<mat-option value="software"
[disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE"
[attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
title="No report available">
Software
</mat-option>
<mat-option value="other"
[disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE"
[attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
title="No report available">
Other research products
</mat-option>
</mat-select>
</mat-form-field>
<div *ngIf="download_research_results_type" class="uk-animation-slide-top-small">
<ng-container *ngTemplateOutlet="download_research_results_box;
context: { type: download_research_results_type,
fileName_type: getFileNameType(download_research_results_type),
csvParams: getCsvParams(download_research_results_type) }">
</ng-container>
</div>
<div *ngIf="!projectInfo.funding ||
(fetchPublications.searchUtils.totalResults == 0 &&
fetchDatasets.searchUtils.totalResults == 0 &&
fetchSoftware.searchUtils.totalResults == 0 &&
fetchOrps.searchUtils.totalResults == 0)"
class="uk-text-muted">
No reports available
</div>
</div>
</div>
</modal-alert>
</li>
<!-- Metrics -->
<li *ngIf="hasMetrics" class="uk-margin-top">
<div uk-grid class="uk-child-width-1-3 uk-text-center uk-flex uk-flex-middle">
<div></div><!-- Open Citations-->
<div>
<metrics [pageViews]="pageViews"
[id]="projectId" [entityType]="'projects'" [entity]="'project'"
[viewsFrameUrl]="viewsFrameUrl" [downloadsFrameUrl]="downloadsFrameUrl"
(metricsResults)="metricsResults($event)" [properties]=properties>
</metrics>
</div>
</div>
</li>
</ul>
<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>
<modal-loading></modal-loading>
<modal-alert #AlertModalCsvError></modal-alert>
</div>
</div>
<div *ngIf="projectInfo != null">
<div class="main-tabs-div">
<my-tabs (selectedActiveTab)="onSelectActiveTab($event)">
<my-tab [tabTitle]="'Project Summary'" [tabId]="'summary'">
<div class="uk-grid uk-margin-remove">
<div *ngIf="projectInfo.description" class="uk-width-expand uk-padding uk-inline">
<!-- Description -->
<div class="uk-text-muted uk-text-small">Description</div>
<div *ngIf="projectInfo.description" class="uk-margin-bottom">
<div class="uk-text-justify uk-text-small uk-height-max-medium uk-overflow-auto">
<span>{{projectInfo.description.substring(0, showNumDescription)}}</span>
<span *ngIf="showNumDescription == thresholdDescription &&
projectInfo.description.length > thresholdDescription">...</span>
</div>
<div *ngIf="showNumDescription == thresholdDescription &&
projectInfo.description.length > thresholdDescription" class="uk-text-right">
<a (click)="showNumDescription = projectInfo.description.length;">
Read more
</a>
</div>
<div *ngIf="projectInfo.description && showNumDescription > thresholdDescription"
class="uk-text-right">
<a (click)="showNumDescription = thresholdDescription;">
Read less
</a>
</div>
</div>
</div>
<div *ngIf="projectInfo.organizations && projectInfo.organizations.length > 0"
class="uk-width-1-3 uk-padding right-column uk-inline">
<!-- Organizations -->
<div class="uk-text-muted uk-text-small">Organizations</div>
<div class="uk-height-max-medium uk-overflow-auto">
<span *ngFor="let organization of projectInfo.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>
<span *ngIf="(i < projectInfo.organizations.length-1)">, </span>
</span>
<span *ngIf="showNumOrganizations == thresholdOrganizations && projectInfo.organizations.length > thresholdOrganizations"> ... </span>
</div>
<div *ngIf="showNumOrganizations == thresholdOrganizations && projectInfo.organizations.length > thresholdOrganizations"
class="uk-width-1-1 uk-text-right uk-margin-small-top">
<a (click)="showNumOrganizations = projectInfo.organizations.length;">
View all {{projectInfo.organizations.length | number}} organizations
</a>
</div>
<div *ngIf="showNumOrganizations > thresholdOrganizations"
class="uk-width-1-1 uk-text-right uk-margin-small-top">
<a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>
</div>
</div>
</div>
</my-tab>
<my-tab *ngIf="fetchPublications.searchUtils.totalResults > 0"
[tabTitle]="'Publications'" [tabNumber]="fetchPublications.searchUtils.totalResults"
[tabId]="'publications'">
<div class="uk-grid uk-margin-remove">
<div class="uk-width-expand uk-padding">
<!-- <errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'"-->
<!-- tab_error_class=true></errorMessages>-->
<!-- <div *ngIf="fetchPublications.searchUtils.status == errorCodes.DONE">-->
<!-- <div class="uk-inline uk-flex uk-flex-right">-->
<!-- <span class="uk-position-left uk-text-middle uk-flex-middle uk-flex">-->
<!-- <span>Top 10</span><span class="space uk-text-muted">PUBLICATION</span>-->
<!-- </span>-->
<!-- <a [queryParams]="routerHelper.createQueryParams(['project', 'po'], [projectId, 'and'])"-->
<!-- routerLinkActive="router-link-active" [routerLink]="linkToSearchPublications">-->
<!-- <button *ngIf="fetchPublications.searchUtils.totalResults > 10"-->
<!-- class="uk-button uk-button-small portal-button">-->
<!-- <span uk-icon="search"></span>-->
<!-- View more-->
<!-- </button>-->
<!-- </a>-->
<!-- </div>-->
<!-- <search-result [results]="fetchPublications.results"-->
<!-- [status]="fetchPublications.searchUtils.status"-->
<!-- type="publication" urlParam="articleId"-->
<!-- dividerNotCard="true">-->
<!-- </search-result>-->
<!-- </div>-->
<ng-container *ngTemplateOutlet="search_tab;
context: { fetch: fetchPublications, type: 'publication', urlParam: 'articleId'}">
</ng-container>
</div>
<div class="uk-width-1-3 uk-padding right-column">
<div>test publications</div>
</div>
</div>
<!-- <ng-container *ngTemplateOutlet="tab_content; context: {-->
<!-- resultType: 'publication', results: publicationResults,-->
<!-- totalResults: publicationTotal, type: 'publication', typeName: 'publication'}">-->
<!-- </ng-container>-->
</my-tab>
<my-tab *ngIf="fetchDatasets.searchUtils.totalResults > 0"
[tabTitle]="'Research Data'" [tabNumber]="fetchDatasets.searchUtils.totalResults"
[tabId]="'datasets'">
<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'}">
</ng-container>
</div>
<div class="uk-width-1-3 uk-padding right-column">
<div>test research data</div>
</div>
</div>
</my-tab>
<my-tab *ngIf="fetchSoftware.searchUtils.totalResults > 0"
[tabTitle]="'Software'" [tabNumber]="fetchSoftware.searchUtils.totalResults"
[tabId]="'software'">
<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'}">
</ng-container>
</div>
<div class="uk-width-1-3 uk-padding right-column">
<div>test software</div>
</div>
</div>
</my-tab>
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
[tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"
[tabId]="'other'">
<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'}">
</ng-container>
</div>
<div class="uk-width-1-3 uk-padding right-column">
<div>test other research products</div>
</div>
</div>
</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'">
<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)"
class="uk-grid uk-child-width-1-2">
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Produced research
outcomes per year</div>
<i-frame [url]=chartScientificResultsUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Access mode of research
outcomes</div>
<i-frame [url]=chartAccessModeUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Research outcomes per datasource</div>
<i-frame [url]=chartDatasourcesUrl></i-frame>
</div>
</div>
</div>
</div>
</my-tab>
</my-tabs>
</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>
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
[texts]="pageContents['bottom']"></helper>
</div>
<!-- Statistics -->
<modal-alert *ngIf="projectInfo &&
(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]="projectName"
[subTitle]="projectInfo.acronym ? projectInfo.title : ''"
[entityType]="'project'"
[startDate]="projectInfo.startDate"
[endDate]="projectInfo.endDate"
[status]="projectInfo.status">
</landing-header>
<div class="uk-margin-medium-top uk-margin-medium-right">
<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)">
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Produced research
outcomes per year</div>
<i-frame [url]=chartScientificResultsUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Access mode of research
outcomes</div>
<i-frame [url]=chartAccessModeUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Research outcomes per datasource</div>
<i-frame [url]=chartDatasourcesUrl></i-frame>
</div>
</div>
</div>
</modal-alert>
</div>
</div>
<feedback *ngIf="projectInfo" [projectInfo]="projectInfo"
[properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
</div>