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

715 lines
43 KiB
HTML

<ng-template #share_research_results_box
let-dynamic_content="dynamic_content">
<ul class="uk-list uk-margin-remove-bottom">
<li class="uk-margin-top">
<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">
<li class="uk-margin-top">
<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">
<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="project" class="uk-container uk-container-large 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>
{{projectInfo.funding.funderName}}
</span>
<span *ngIf="projectInfo.funding.code" class="uk-display-inline-block">
<span class="uk-text-muted">Project code: </span>
{{projectInfo.funding.code}}
</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 green-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">
<span *ngIf="projectInfo.openAccessMandatePublications != undefined" class="uk-margin-right">
<span class="uk-text-muted">Open Access mandate for 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">Open Access mandate for Research Data: </span>
<span *ngIf="projectInfo.openAccessMandateDatasets">Yes</span>
<span *ngIf="!projectInfo.openAccessMandateDatasets">No</span>
</span>
</li>
<!-- Organizations -->
<li *ngIf="projectInfo.organizations && projectInfo.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 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 *ngIf="(i < projectInfo.organizations.length-1)">,</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">
<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">
<a (click)="showNumOrganizations = thresholdOrganizations;">View less organizations</a>
</div>
</li>
</ul>
<!-- Description -->
<div *ngIf="projectInfo.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>{{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;">
View more
</a>
</div>
<div *ngIf="projectInfo.description && showNumDescription > thresholdDescription"
class="uk-text-right">
<a (click)="showNumDescription = thresholdDescription;">
View less
</a>
</div>
</div>
<div 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 *ngIf="fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0"
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">
<div class="uk-card uk-card-default uk-padding-small">
<!-- <div *ngIf="isRouteAvailable('participate/direct-claim') " class=" uk-margin-small-bottom">-->
<!-- <button class=" uk-button portal-button uk-margin-small-top uk-width-1-1">-->
<!-- <span class="uk-icon">-->
<!-- <svg icon="link" ratio="1" xmlns="http://www.w3.org/2000/svg" width="25" viewBox="0 0 20 20"-->
<!-- height="25"><path-->
<!-- d="M10.625,12.375 L7.525,15.475 C6.825,16.175 5.925,16.175 5.225,15.475 L4.525,14.775 C3.825,14.074 3.825,13.175 4.525,12.475 L7.625,9.375"-->
<!-- fill="none" stroke="#000" stroke-width="1.1"></path><path-->
<!-- d="M9.325,7.375 L12.425,4.275 C13.125,3.575 14.025,3.575 14.724,4.275 L15.425,4.975 C16.125,5.675 16.125,6.575 15.425,7.275 L12.325,10.375"-->
<!-- fill="none" stroke="#000" stroke-width="1.1"></path><path d="M7.925,11.875 L11.925,7.975"-->
<!-- fill="none" stroke="#000"-->
<!-- stroke-width="1.1"></path></svg>-->
<!-- </span> Link this project to...-->
<!-- </button>-->
<!-- <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/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','project'])"
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
<button class="uk-icon-button portal-button">
<span class="uk-icon">
<svg height="20" icon="album" ratio="1" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg">
<rect height="1" width="10" x="5" y="2"></rect>
<rect height="1" width="14" x="3" y="4"></rect>
<rect fill="none" height="11" stroke="#000" width="17" x="1.5" y="6.5"></rect>
</svg>
</span>
</button>
<div>Projects</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>
<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">
<!-- <select class="select" id="share_content" name="share_content"-->
<!-- [(ngModel)]="share_research_results_type">-->
<!-- <option value="">Select content type</option>-->
<!-- <option value="publications">Publications</option>-->
<!-- <option value="datasets">Research data</option>-->
<!-- <option value="software">Software</option>-->
<!-- <option value="other">Other research products</option>-->
<!-- </select>-->
<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 *ngIf="projectInfo.funding &&
(fetchPublications.searchUtils.totalResults > 0 ||
fetchDatasets.searchUtils.totalResults > 0 ||
fetchSoftware.searchUtils.totalResults > 0 ||
fetchOrps.searchUtils.totalResults > 0)"
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">
<!-- <select class="select" id="download_report" name="download_report"-->
<!-- [(ngModel)]="download_research_results_type">-->
<!-- <option value="">Select content type</option>-->
<!-- <option value="results">All research outcomes</option>-->
<!-- <option value="publications">Publications</option>-->
<!-- <option value="datasets">Research data</option>-->
<!-- <option value="software">Software</option>-->
<!-- <option value="other">Other research products</option>-->
<!-- </select>-->
<div class="uk-padding-small uk-padding-remove-vertical">
<mat-select [(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">
Publications
</mat-option>
<mat-option value="datasets"
[disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE">
Research data
</mat-option>
<mat-option value="software"
[disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE">
Software
</mat-option>
<mat-option value="other"
[disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE">
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>
</div>
</div>
<!-- Metrics -->
<!-- <div *ngIf="hasAltMetrics" 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>-->
<!-- <altmetrics *ngIf="hasAltMetrics" id="{{resultLandingInfo.identifiers.get('doi')[0]}}" type="doi">-->
<!-- </altmetrics>-->
<!-- </div>-->
<!-- <div></div>&lt;!&ndash; OpenAIRE Metrics &ndash;&gt;-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="uk-margin-top">-->
<!-- <div class="sideInfoTitle uk-margin-small-bottom">Share project's research results</div>-->
<!-- <div>-->
<!-- <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
<!-- + (share_research_results_type == 'publications' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
<!-- (click)="((share_research_results_type == 'publications') ? share_research_results_type='' : share_research_results_type='publications')">-->
<!-- Publications-->
<!-- </div>-->
<!-- <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
<!-- + (share_research_results_type == 'datasets' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
<!-- (click)="((share_research_results_type == 'datasets') ? share_research_results_type='' : share_research_results_type='datasets')">-->
<!-- Research data-->
<!-- </div>-->
<!-- <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
<!-- + (share_research_results_type == 'software' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
<!-- (click)="((share_research_results_type == 'software') ? share_research_results_type='' : share_research_results_type='software')">-->
<!-- Software-->
<!-- </div>-->
<!-- <div [class]="'uk-margin-small-bottom uk-margin-small-right uk-button uk-button-small'-->
<!-- + (share_research_results_type == 'other' ? ' researchResultTypeSelected' : ' researchResultTypeNotSelected')"-->
<!-- (click)="((share_research_results_type == 'other') ? share_research_results_type='' : share_research_results_type='other')">-->
<!-- Other-->
<!-- </div>-->
<!-- </div>-->
<!-- </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>
<modal-loading></modal-loading>
<modal-alert #AlertModalCsvError></modal-alert>
</div>
</div>
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
[texts]="pageContents['bottom']"></helper>
</div>
<!-- Statistics -->
<modal-alert *ngIf="projectInfo"
classBody="uk-width-xxlarge uk-padding-remove-right" #statisticsModal>
<landing-header [properties]="properties" [title]="projectInfo.acronym"
[subTitle]="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]"
[type]="'statistics'" tab_error_class=true></errorMessages>
<div
*ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">
<div class="uk-padding uk-padding-remove-top">
<span class="uk-text-bold uk-text-small">Produced research results per year</span>
<i-frame [url]=chartScientificResultsUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<span class="uk-text-bold uk-text-small">Access mode of research results</span>
<i-frame [url]=chartAccessModeUrl></i-frame>
</div>
<div class="uk-padding uk-padding-remove-top">
<span class="uk-text-bold uk-text-small">Research results per datasource</span>
<i-frame [url]=chartDatasourcesUrl></i-frame>
</div>
</div>
</div>
</modal-alert>
</div>
</div>
<feedback *ngIf="projectInfo && properties.environment === 'development'" [projectInfo]="projectInfo"
[properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
[showForm]="showFeedback" (show)="showFeedback = $event"></feedback>
</div>