700 lines
42 KiB
HTML
700 lines
42 KiB
HTML
<ng-template #share_research_results_box
|
|
let-fetch="fetch" let-clipboardName="clipboardName" let-dynamic_content="dynamic_content"
|
|
let-type="type" let-fileName_type="fileName_type" let-csvParams="csvParams">
|
|
<ul class="uk-list uk-margin-remove-bottom">
|
|
<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-padding-small">
|
|
<div class="uk-grid">
|
|
<a
|
|
[class]="clipboardName+'_btn uk-padding-remove-left uk-margin-small-left uk-text-right uk-width-1-1'"
|
|
[attr.data-clipboard-target]="'#'+clipboardName" title="Copy to clipboard">
|
|
<button class="uk-button uk-button-small uk-button-primary 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]="clipboardName">{{dynamic_content}}</code></pre>
|
|
<div class="uk-text-small uk-margin-small-top">
|
|
For further information contact us at
|
|
<u><a href="mailto:helpdesk@openaire.eu">helpdesk@openaire.eu</a></u>
|
|
</div>
|
|
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<a 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>
|
|
Get {{projectInfo.funder}} report (HTML)
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a class="clickable"
|
|
(click)="downloadfile(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>
|
|
Get {{projectInfo.funder}} report (CSV)
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</ng-template>
|
|
|
|
|
|
<div id="tm-main" class=" uk-section uk-padding-remove-top uk-margin-small-top tm-middle">
|
|
<div 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 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+'/search/project?projectId='+projectId"
|
|
type="project"></schema2jsonld>
|
|
<!--h3 *ngIf="projectInfo.acronym != undefined && projectInfo.acronym != ''">{{projectInfo.acronym}}</h3>
|
|
<h3 *ngIf="projectInfo.acronym == undefined || projectInfo.acronym == ''">{{projectInfo.title}}</h3-->
|
|
<h2 class="landingTitle uk-margin-remove-top">
|
|
<!--span class="entityTitleIcon projectTitleIcon"></span-->
|
|
<!-- <span *ngIf="projectInfo.specialClause39==true" class="sc39">{{projectName}}</span>
|
|
<span *ngIf="projectInfo.specialClause39!=true">{{projectName}}</span> -->
|
|
<span>{{projectName}}</span>
|
|
<span *ngIf=" projectInfo.title == projectName ">({{projectInfo.contractNum}})</span>
|
|
</h2>
|
|
<div class="uk-text-large "
|
|
*ngIf="projectInfo.title && projectInfo.title != projectName ">{{projectInfo.title}}
|
|
({{projectInfo.contractNum}})
|
|
</div>
|
|
<div>
|
|
<span class="uk-label custom-label label-blue label-project" title="Type">Project</span>{{" "}}
|
|
<span class="uk-label custom-label label-funder " title="Funder">{{projectInfo.funder}}</span>{{" "}}
|
|
|
|
<span
|
|
*ngIf="projectInfo.openAccessMandatePublications != undefined && projectInfo.openAccessMandatePublications && projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets"
|
|
class="uk-label custom-label label-openaccessmandate "
|
|
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-openaccessmandate "
|
|
title="Open Access mandate for Publications">Open Access mandate for Publications</span>{{" "}}
|
|
<span *ngIf="projectInfo.specialClause39" class="uk-label custom-label label-sc39 "
|
|
title="Special Clause 39">Special Clause 39</span>{{" "}}
|
|
<span
|
|
*ngIf="projectInfo.openAccessMandateDatasets != undefined && projectInfo.openAccessMandateDatasets && (projectInfo.openAccessMandatePublications == undefined || !projectInfo.openAccessMandatePublications)"
|
|
class="uk-label custom-label label-openaccessmandate "
|
|
title="Open Access mandate for Research Data">Open Access mandate for Research Data</span>{{" "}}
|
|
</div>
|
|
<ul class="uk-list">
|
|
<li *ngIf="projectInfo.funding"><span class="uk-text-bold">Funding:</span> {{projectInfo.funding}}</li>
|
|
<li *ngIf="projectInfo.startDate"><span class="uk-text-bold">Start Date:</span> {{projectInfo.startDate}}
|
|
</li>
|
|
<li *ngIf="projectInfo.endDate"><span class="uk-text-bold">End Date:</span> {{projectInfo.endDate}}</li>
|
|
<li
|
|
*ngIf="projectInfo.openAccessMandatePublications != undefined && !projectInfo.openAccessMandatePublications ">
|
|
<span class="uk-text-bold">Open Access mandate for Publications:</span> no
|
|
</li>
|
|
<li *ngIf="projectInfo.openAccessMandateDatasets != undefined && !projectInfo.openAccessMandateDatasets ">
|
|
<span class="uk-text-bold">Open Access mandate for Research Data:</span> no
|
|
</li>
|
|
<li *ngIf="projectInfo.organizations && projectInfo.organizations.length > 0"><span
|
|
class="uk-text-bold">Organization:</span>
|
|
|
|
<span class="list-horizontal-line">
|
|
<span *ngFor="let organization of projectInfo.organizations 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">
|
|
{{(organization.acronym) ? organization.acronym : ''}} {{(!organization.acronym && organization.name) ? organization.name : ''}}</a>
|
|
<span
|
|
|
|
*ngIf="!organization.id">
|
|
<span *ngIf="organization.acronym">{{organization.acronym}}</span><span
|
|
*ngIf="!organization.acronym && organization.name">{{organization.name}}</span></span>
|
|
</span>
|
|
</span>
|
|
</li>
|
|
<li *ngIf="projectInfo.urlInfo ">
|
|
<span class="uk-button-text">
|
|
<a target="_blank" href="{{projectInfo.url}}">
|
|
{{projectInfo.urlInfo}}
|
|
</a>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul class="custom-accordion" uk-accordion>
|
|
|
|
<li (click)="activeTab='Publications'; searchPublicationsInit()">
|
|
<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">
|
|
<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
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{fetchDatasets.searchUtils.totalResults | number}})
|
|
<!-- </span> -->
|
|
</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
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{fetchSoftware.searchUtils.totalResults | number}})
|
|
<!-- </span> -->
|
|
</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
|
|
<!-- <span class="uk-badge uk-badge-notification"> -->
|
|
({{fetchOrps.searchUtils.totalResults | number}})
|
|
<!-- </span> -->
|
|
</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>
|
|
|
|
|
|
<!-- <ul class="uk-tab uk-visible@m" uk-tab="connect: #tab-content">
|
|
<li (click)="activeTab='Publications'" [class]="activeTab == 'Publications'?'uk-active':''">
|
|
<a>
|
|
Publications
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchPublications.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="activeTab='Research Data'; searchDatasetsInit()"
|
|
[class]="activeTab == 'Research Data'?'uk-active':''">
|
|
<a>
|
|
Research Data
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchDatasets.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="activeTab='Software'; searchSoftwareInit()"
|
|
[class]="activeTab == 'Software'?'uk-active':''">
|
|
<a>
|
|
Software
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchSoftware.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="activeTab='Statistics'; statsClicked=true"
|
|
[class]="activeTab == 'Statistics'?'uk-active':''">
|
|
<a>
|
|
Statistics
|
|
|
|
</a>
|
|
</li>
|
|
<li (click)="activeTab='Metrics'; metricsClicked=true"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics
|
|
</a>
|
|
</li>
|
|
</ul> -->
|
|
|
|
<!-- <button class="uk-button uk-button-default uk-hidden@m" type="button">
|
|
<span uk-navbar-toggle-icon></span> <span class="uk-margin-small-left">{{activeTab}}</span>
|
|
</button>
|
|
|
|
<ul id="toggle-small-tabs" class="uk-subnav uk-subnav-pill uk-dropdown uk-hidden@m" uk-switcher="connect: #tab-content" uk-dropdown="mode: click" uk-toggle="target: #toggle-small-tabs">
|
|
<li (click)="activeTab='Publications'" [class]="activeTab == 'Publications'?'uk-active':''">
|
|
<a>
|
|
Publications
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchPublications.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="searchDatasetsInit(); activeTab='Research Data'"
|
|
[class]="activeTab == 'Research Data'?'uk-active':''">
|
|
<a>
|
|
Research Data
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchDatasets.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="searchSoftwareInit(); activeTab='Software'"
|
|
[class]="activeTab == 'Software'?'uk-active':''">
|
|
<a>
|
|
Software
|
|
<span class="uk-badge uk-badge-notification">
|
|
{{fetchSoftware.searchUtils.totalResults | number}}
|
|
</span>
|
|
</a>
|
|
</li>
|
|
<li (click)="statsClicked=true; activeTab='Statistics'"
|
|
[class]="activeTab == 'Statistics'?'uk-active':''">
|
|
<a>
|
|
Statistics
|
|
</a>
|
|
</li>
|
|
<li (click)="metricsClicked=true; activeTab='Metrics'"
|
|
[class]="activeTab == 'Metrics'?'uk-active':''">
|
|
<a>
|
|
Metrics
|
|
</a>
|
|
</li>
|
|
</ul> -->
|
|
|
|
<!-- <div class="uk-margin custom-tab-content">
|
|
|
|
<div *ngIf="activeTab=='Publications'" class="uk-animation-fade">
|
|
<errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'"></errorMessages>
|
|
|
|
<div *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
<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>
|
|
|
|
<div *ngIf="activeTab == 'Research Data'" class="uk-animation-fade">
|
|
<errorMessages [status]="[fetchDatasets.searchUtils.status]" [type]="'research data'"></errorMessages>
|
|
|
|
<div *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
<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>
|
|
<div *ngIf="activeTab == 'Software'" class="uk-animation-fade">
|
|
<errorMessages [status]="[fetchSoftware.searchUtils.status]" [type]="'software'"></errorMessages>
|
|
|
|
<div *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
<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>
|
|
<div *ngIf="activeTab == 'Statistics'" class="uk-animation-fade">
|
|
<errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]" [type]="'statistics'"></errorMessages>
|
|
|
|
<div *ngIf="statsClicked && (fetchPublications.searchUtils.totalResults != 0 || fetchDatasets.searchUtils.totalResults != 0)">
|
|
|
|
<div>
|
|
<p class="uk-text-bold">Research Results</p>
|
|
<i-frame [url]=chartScientificResultsUrl width="100%" height="350"></i-frame>
|
|
<p class="uk-text-bold">Access Mode of Research Results</p>
|
|
<i-frame [url]=chartAccessModeUrl width="100%" height="350"></i-frame>
|
|
<p class="uk-text-bold">By Datasource of Research Results</p>
|
|
<i-frame [url]=chartDatasourcesUrl width="100%" height="350"></i-frame>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="activeTab=='Metrics'" class="uk-animation-fade">
|
|
|
|
<metrics [pageViews]="pageViews"
|
|
[id]="projectId" [entityType]="'projects'" [entity]="'Project'"
|
|
(metricsResults)="metricsResults($event)" [(properties)] = properties>
|
|
</metrics>
|
|
<i-frame *ngIf="metricsClicked && totalViews > 0"
|
|
[url]=viewsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
<i-frame *ngIf="metricsClicked && totalDownloads > 0"
|
|
[url]=downloadsFrameUrl width="100%" height="250">
|
|
</i-frame>
|
|
</div>
|
|
</div> -->
|
|
</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>
|
|
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Share - Bookmark</div>
|
|
<addThis></addThis>
|
|
</div>
|
|
<div class="uk-margin-top">
|
|
<div class="sideInfoTitle uk-margin-small-bottom">Share project's research results</div>
|
|
<div>
|
|
<!-- <ul class="uk-padding-remove" uk-switcher>-->
|
|
|
|
<!-- <ul class="uk-tab" uk-tab="connect: #tab-app-box-project">-->
|
|
<!-- <ul class="">-->
|
|
<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>
|
|
<!-- </ul>-->
|
|
<!-- <ul id="tab-app-box-project" class="uk-switcher uk-margin uk-padding-small">-->
|
|
<div *ngIf="share_research_results_type" class="uk-padding-small app-box">
|
|
<div *ngIf="share_research_results_type=='publications'" class="uk-animation-slide-top-small">
|
|
<!-- Publication box-->
|
|
<!-- <ng-container *ngIf="share_research_results_type=='publications'">-->
|
|
<ng-container *ngTemplateOutlet="share_research_results_box;
|
|
context: { fetch: fetchPublications, clipboardName: 'publications_clipboard',
|
|
dynamic_content: publications_dynamic, type: 'publication',
|
|
fileName_type: 'publications', csvParams: csvParams}">
|
|
</ng-container>
|
|
<!-- </ng-container>-->
|
|
</div>
|
|
<div *ngIf="share_research_results_type=='datasets'" class="uk-animation-slide-top-small">
|
|
<!-- <ng-container *ngIf="share_research_results_type=='datasets'">-->
|
|
<ng-container *ngTemplateOutlet="share_research_results_box;
|
|
context: { fetch: fetchDatasets, clipboardName: 'datasets_clipboard',
|
|
dynamic_content: datasets_dynamic, type: 'dataset',
|
|
fileName_type: 'research-data', csvParams: csvParamsDatasets}">
|
|
</ng-container>
|
|
<!-- </ng-container>-->
|
|
</div>
|
|
<div *ngIf="share_research_results_type=='software'" class="uk-animation-slide-top-small">
|
|
<!-- <ng-container *ngIf="share_research_results_type=='software'">-->
|
|
<ng-container *ngTemplateOutlet="share_research_results_box;
|
|
context: { fetch: fetchSoftware, clipboardName: 'software_clipboard',
|
|
dynamic_content: software_dynamic, type: 'software',
|
|
fileName_type: 'software', csvParams: csvParamsSoftware}">
|
|
</ng-container>
|
|
<!-- </ng-container>-->
|
|
</div>
|
|
<div *ngIf="share_research_results_type=='other'" class="uk-animation-slide-top-small">
|
|
<!-- <ng-container *ngIf="share_research_results_type=='other'">-->
|
|
<ng-container *ngTemplateOutlet="share_research_results_box;
|
|
context: { fetch: fetchOrps, clipboardName: 'other_clipboard',
|
|
dynamic_content: orps_dynamic, type: 'other',
|
|
fileName_type: 'other-research-products', csvParams: csvParamsOrps}">
|
|
</ng-container>
|
|
<!-- </ng-container>-->
|
|
|
|
</div>
|
|
<!-- <li class="uk-animation-fade">-->
|
|
<!-- <!– Dataset box–>-->
|
|
<!-- <ul class="uk-list">-->
|
|
<!-- <li>-->
|
|
<!-- <a class="clickable" uk-toggle="target: #datasets_dynamic; 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="datasets_dynamic"-->
|
|
<!-- class="widget-box uk-padding-small uk-card uk-card-default ">-->
|
|
<!-- <div-->
|
|
<!-- class=" uk-alert uk-alert-primary uk-padding-small uk-margin-remove-bottom uk-margin-right">-->
|
|
<!-- For further information please contact us <a-->
|
|
<!-- href="mailto:helpdesk@openaire.eu">helpdesk@openaire.eu</a>-->
|
|
<!-- </div>-->
|
|
<!-- <div class="uk-grid">-->
|
|
<!-- <a-->
|
|
<!-- class=" datasets_clipboard_btn uk-padding-remove-left uk-margin-small-left uk-text-right uk-width-1-1 "-->
|
|
<!-- data-clipboard-target="#datasets_clipboard" title="Copy to clipboard">-->
|
|
<!-- <span class="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>-->
|
|
<!-- </a>-->
|
|
<!-- </div>-->
|
|
<!-- <pre class="box-content uk-padding-remove-bottom uk-margin-remove-bottom"><code-->
|
|
<!-- id="datasets_clipboard">{{datasets_dynamic}}</code></pre>-->
|
|
<!-- </div>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <a target="_blank"-->
|
|
<!-- href="/project-report?projectId={{projectId}}&size={{fetchDatasets.searchUtils.totalResults}}&type=dataset">-->
|
|
<!-- <span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20"-->
|
|
<!-- xmlns="http://www.w3.org/2000/svg" icon="table" ratio="1"><rect-->
|
|
<!-- x="1" y="3" width="18" height="1"></rect><rect x="1" y="7" width="18" height="1"></rect><rect-->
|
|
<!-- x="1" y="11" width="18" height="1"></rect><rect x="1" y="15" width="18" height="1"></rect></svg></span>-->
|
|
<!-- Get {{projectInfo.funder}} report (HTML)-->
|
|
<!-- </a>-->
|
|
<!-- </li>-->
|
|
<!-- <li>-->
|
|
<!-- <a class="clickable"-->
|
|
<!-- (click)="downloadfile(downloadURLAPI+csvParamsDatasets, 'funder-research-data-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>-->
|
|
<!-- Get {{projectInfo.funder}} report (CSV)-->
|
|
<!-- </a>-->
|
|
<!-- </li>-->
|
|
<!-- <li *ngIf="isRouteAvailable('participate/deposit-datasets') ">-->
|
|
<!-- <a routerLinkActive="router-link-active" routerLink="/participate/deposit-datasets">-->
|
|
<!-- <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>-->
|
|
<!-- </li>-->
|
|
<!-- </ul>-->
|
|
<!-- </li>-->
|
|
</div>
|
|
</div>
|
|
<!--metrics [pageViews]="pageViews" shortView=true
|
|
[id]="projectId" [entityType]="'projects'" [entity]="'Project'"
|
|
(metricsResults)="metricsResults($event)" [(properties)] = properties>
|
|
</metrics-->
|
|
|
|
|
|
</div>
|
|
<div class="uk-margin-top uk-margin-bottom"
|
|
*ngIf="isRouteAvailable('participate/deposit/learn-how') ">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
[texts]="pageContents['bottom']"></helper>
|
|
|
|
<modal-loading></modal-loading>
|
|
<modal-alert #AlertModalCsvError></modal-alert>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|