|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
<div class="landing uk-section uk-padding-remove tm-middle">
|
|
|
|
|
<div class="tm-main">
|
|
|
|
|
<!-- Desktop view -->
|
|
|
|
|
<div class=" uk-visible@m landing uk-section uk-padding-remove tm-middle">
|
|
|
|
|
<div *ngIf="!isMobile" class="tm-main">
|
|
|
|
|
<div class="project">
|
|
|
|
|
<div *ngIf="!showFeedback" class="uk-grid uk-margin-remove-left" uk-grid>
|
|
|
|
|
|
|
|
|
@ -138,8 +139,10 @@
|
|
|
|
|
<span class="uk-margin-xsmall-left">Deposit</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a (click)="openEmbedResultsModal()"
|
|
|
|
|
[title]="'Embed the related '+openaireEntities.RESULTS+' of this '+openaireEntities.PROJECT+' in your website'"
|
|
|
|
|
[attr.uk-tooltip]="'pos: bottom; cls: uk-active uk-text-small uk-padding-small uk-width-medium'"
|
|
|
|
|
class="uk-flex uk-flex-middle uk-flex-center uk-button-link uk-text-bolder">
|
|
|
|
|
<icon flex="true" ratio="0.8" name="code_off" visuallyHidden="code"></icon>
|
|
|
|
|
<icon flex="true" ratio="0.8" name="code" visuallyHidden="code"></icon>
|
|
|
|
|
<span class="uk-margin-xsmall-left">Embed</span>
|
|
|
|
|
</a>
|
|
|
|
|
<a (click)="openDownloadReportModal()"
|
|
|
|
@ -196,7 +199,7 @@
|
|
|
|
|
[attr.uk-tooltip]="'pos: right; cls: uk-active uk-text-small uk-padding-small'">
|
|
|
|
|
<a class="uk-link-text uk-text-bold uk-text-uppercase" (click)="openEmbedResultsModal()">
|
|
|
|
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
|
|
|
|
<icon name="code_off" visuallyHidden="code"></icon>
|
|
|
|
|
<icon name="code" visuallyHidden="code"></icon>
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
@ -393,7 +396,7 @@
|
|
|
|
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
|
|
|
|
[tabTitle]="openaireEntities.OTHER" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
|
|
|
|
[tabId]="'other'"></my-tab>
|
|
|
|
|
<my-tab [tabTitle]="'Dmps'" [tabNumber]="fetchDmps.searchUtils.totalResults > 0 ? fetchDmps.searchUtils.totalResults : ''" [tabId]="'dmps'"></my-tab>
|
|
|
|
|
<my-tab [tabTitle]="'DMPs'" [tabNumber]="fetchDmps.searchUtils.totalResults > 0 ? fetchDmps.searchUtils.totalResults : ''" [tabId]="'dmps'"></my-tab>
|
|
|
|
|
<my-tab *ngIf="projectInfo && hasMetrics"
|
|
|
|
|
[tabTitle]="'Metrics'" [tabId]="'metrics'">
|
|
|
|
|
</my-tab>
|
|
|
|
@ -405,41 +408,330 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="landing-sections" class="uk-text-small">
|
|
|
|
|
<ng-container>
|
|
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="publications_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="datasets_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="software_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="other_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container>
|
|
|
|
|
<ng-container *ngTemplateOutlet="dmps_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="projectInfo && hasMetrics">
|
|
|
|
|
<ng-container *ngTemplateOutlet="metricsContent"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
<ng-container *ngTemplateOutlet="statistics_content"></ng-container>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="uk-text-xsmall uk-hidden@m"><ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container></div>
|
|
|
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
|
|
|
[texts]="pageContents['bottom']"></helper>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Mobile view -->
|
|
|
|
|
<div *ngIf="isMobile" class="uk-hidden@m uk-position-relative landing">
|
|
|
|
|
<ng-container *ngIf="projectInfo">
|
|
|
|
|
<div *ngIf="mobileContent == 'info'" class="uk-container uk-section">
|
|
|
|
|
<landing-header [properties]="properties" [title]="projectName"
|
|
|
|
|
[subTitle]="projectInfo.acronym ? projectInfo.title : ''"
|
|
|
|
|
[entityType]="'project'"
|
|
|
|
|
[startDate]="projectInfo.startDate" [endDate]="projectInfo.endDate"
|
|
|
|
|
[currentDate]="projectInfo.currentDate" [status]="projectInfo.status"
|
|
|
|
|
[openAccessMandatePublications]="projectInfo.openAccessMandatePublications"
|
|
|
|
|
[openAccessMandateDatasets]="projectInfo.openAccessMandateDatasets">
|
|
|
|
|
</landing-header>
|
|
|
|
|
<div class="uk-section uk-margin-top uk-text-large uk-text-empashis uk-text-bold">
|
|
|
|
|
<hr>
|
|
|
|
|
<ng-container>
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(summaryFsModal, 'Summary'); onSelectActiveTab('summary')">
|
|
|
|
|
<span>Summary</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(publicationsFsModal, openaireEntities.PUBLICATIONS); onSelectActiveTab('publications')">
|
|
|
|
|
<span>{{openaireEntities.PUBLICATIONS}}</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(datasetsFsModal, openaireEntities.DATASETS); onSelectActiveTab('datasets')">
|
|
|
|
|
<span>{{openaireEntities.DATASETS}}</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(softwareFsModal, openaireEntities.SOFTWARE); onSelectActiveTab('software')">
|
|
|
|
|
<span>{{openaireEntities.SOFTWARE}}</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(otherFsModal, openaireEntities.OTHER); onSelectActiveTab('other')">
|
|
|
|
|
<span>{{openaireEntities.OTHER}}</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container>
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(dmpsFsModal, 'DMPs'); onSelectActiveTab('dmps')">
|
|
|
|
|
<span>DMPs</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
<div class="clickable uk-flex uk-flex-middle uk-flex-between" (click)="openFsModal(statisticsFsModal, 'Statistics'); onSelectActiveTab('statistics')">
|
|
|
|
|
<span>Statistics</span>
|
|
|
|
|
<icon name="chevron_right" [ratio]="1.5" [flex]="true"></icon>
|
|
|
|
|
</div>
|
|
|
|
|
<hr>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="mobileContent == 'metrics'" class="uk-container uk-section">
|
|
|
|
|
<ng-container *ngTemplateOutlet="metricsContent"></ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="mobileContent == 'actions'" class="uk-container uk-section">
|
|
|
|
|
<ng-container>
|
|
|
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
|
|
|
(click)="openFsModal(addThisFsModal, 'Share this '+openaireEntities.PROJECT+' in your social networks')">
|
|
|
|
|
<icon [flex]="true" name="share" visuallyHidden="share"></icon>
|
|
|
|
|
<span class="uk-margin-small-left">Share</span>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="isRouteAvailable('participate/deposit/learn-how')">
|
|
|
|
|
<a class="uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
|
|
|
routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how">
|
|
|
|
|
<icon [flex]="true" name="upload" visuallyHidden="upload"></icon>
|
|
|
|
|
<span class="uk-margin-small-left">
|
|
|
|
|
Deposit
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container>
|
|
|
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
|
|
|
(click)="openFsModal(embedResultsFsModal, 'Embed results')">
|
|
|
|
|
<icon [flex]="true" name="code" visuallyHidden="code"></icon>
|
|
|
|
|
<span class="uk-margin-small-left">Embed</span>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container>
|
|
|
|
|
<div class="clickable uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
|
|
|
(click)="openFsModal(downloadReportFsModal, 'Download report')">
|
|
|
|
|
<icon [flex]="true" name="download" visuallyHidden="download"></icon>
|
|
|
|
|
<span class="uk-margin-small-left">Download</span>
|
|
|
|
|
</div>
|
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="isRouteAvailable('participate/direct-claim')">
|
|
|
|
|
<a class="uk-button-link uk-flex uk-flex-middle uk-h6 uk-margin-remove uk-padding-small uk-padding-remove-horizontal"
|
|
|
|
|
[queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId, 'project','result'])"
|
|
|
|
|
routerLinkActive="router-link-active" routerLink="/participate/direct-claim">
|
|
|
|
|
<icon [flex]="true" name="link_to" visuallyHidden="link"></icon>
|
|
|
|
|
<span class="uk-margin-small-left">
|
|
|
|
|
Link to
|
|
|
|
|
</span>
|
|
|
|
|
</a>
|
|
|
|
|
<hr class="uk-margin-remove">
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="landing-action-bar-mobile uk-background-default">
|
|
|
|
|
<div class="uk-container uk-flex-middle uk-grid uk-text-xsmall uk-text-meta" [ngClass]="hasMetrics ? 'uk-child-width-1-3' : 'uk-child-width-1-2'">
|
|
|
|
|
<div>
|
|
|
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'info'">
|
|
|
|
|
<icon name="assignment_turned_in" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'info' ? 'uk-text-primary': ''"></icon>
|
|
|
|
|
<span>{{openaireEntities.PROJECT}}</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="projectInfo && hasMetrics">
|
|
|
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'metrics'">
|
|
|
|
|
<icon name="bar_chart" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'metrics' ? 'uk-text-primary': ''"></icon>
|
|
|
|
|
<span>Metrics</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<a class="uk-flex uk-flex-column uk-flex-middle uk-flex-center uk-link-reset" (click)="mobileContent = 'actions'">
|
|
|
|
|
<icon name="pending" type="outlined" [flex]="true" [ratio]="2" [ngClass]="mobileContent == 'actions' ? 'uk-text-primary': ''"></icon>
|
|
|
|
|
<span>Actions</span>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<fs-modal #summaryFsModal classTitle="uk-tile-default uk-border-bottom" (cancelEmitter)="cancelSummaryClicked()">
|
|
|
|
|
<ng-container *ngTemplateOutlet="summary_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #publicationsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
*ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="publications_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #datasetsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
*ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="datasets_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #softwareFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
*ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="software_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #otherFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
*ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-container *ngTemplateOutlet="other_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #dmpsFsModal classTitle="uk-tile-default uk-border-bottom">
|
|
|
|
|
<ng-container *ngTemplateOutlet="dmps_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal #statisticsFsModal classTitle="uk-tile-default uk-border-bottom"
|
|
|
|
|
*ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
<ng-container *ngTemplateOutlet="statistics_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<feedback *ngIf="projectInfo && properties.reCaptchaSiteKey" [projectInfo]="projectInfo"
|
|
|
|
|
[properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
|
|
|
|
|
[(showForm)]="showFeedback"></feedback>
|
|
|
|
|
|
|
|
|
|
<modal-loading></modal-loading>
|
|
|
|
|
<modal-alert #AlertModalCsvError></modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #addThisModal classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<addThis></addThis>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #embedResultsModal large="true">
|
|
|
|
|
<ng-container *ngTemplateOutlet="embed_content"></ng-container>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #downloadReportModal>
|
|
|
|
|
<ng-container *ngTemplateOutlet="download_content"></ng-container>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<div class="uk-flex uk-flex-middle uk-button uk-button-link uk-text-normal"
|
|
|
|
|
(click)="downloadHtmlFile(type, 'funder-'+fileName_type+'-report')">
|
|
|
|
|
<icon name="download" flex="true" class="uk-margin-small-right"></icon>
|
|
|
|
|
Download {{projectInfo.funding.funderShortName}} report (HTML)
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="uk-margin-small-top">
|
|
|
|
|
<div class="uk-flex uk-flex-middle uk-button uk-button-link uk-text-normal"
|
|
|
|
|
(click)="downloadCsvFile(downloadURLAPI+csvParams, 'funder-'+fileName_type+'-report')">
|
|
|
|
|
<icon name="download" flex="true" class="uk-margin-small-right"></icon>
|
|
|
|
|
Download {{projectInfo.funding.funderShortName}} report (CSV)
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo && projectInfo.organizations" #organizationsModal>
|
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: projectInfo.organizations.length}"></ng-container>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo?.description" #descriptionModal
|
|
|
|
|
[large]="true">
|
|
|
|
|
<div [innerHTML]="projectInfo.description"></div>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<ng-template #organizations_template let-threshold="threshold">
|
|
|
|
|
<span *ngFor="let organization of projectInfo.organizations.slice(0, threshold); let i=index" class="uk-text-small"
|
|
|
|
|
[attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
|
|
|
[title]="organization.name">
|
|
|
|
|
<a *ngIf="organization.id" class="uk-link-text"
|
|
|
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
|
|
|
[routerLink]="properties.searchLinkToOrganization.split('?')[0]">
|
|
|
|
|
{{(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 *ngIf="(i < projectInfo.organizations.length-1)">, </span>
|
|
|
|
|
</span>
|
|
|
|
|
<span *ngIf="projectInfo.organizations.length > threshold"> ... </span>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #summary_content>
|
|
|
|
|
<div id="summary" class="landing-section landing-section-height-auto">
|
|
|
|
|
<div class="uk-card uk-card-default card-tab uk-margin-medium-top uk-margin-medium-bottom">
|
|
|
|
|
<div class="uk-card-body">
|
|
|
|
|
<div class="uk-margin-medium-top uk-margin-medium-bottom" [ngClass]="isMobile ? '' : 'uk-card uk-card-default card-tab'">
|
|
|
|
|
<div [ngClass]="isMobile ? '' : 'uk-card-body'">
|
|
|
|
|
<div class="uk-grid uk-grid-divider" uk-grid>
|
|
|
|
|
<div *ngIf="!hasPrimaryInfo && !hasSecondaryInfo" class="uk-width-expand uk-height-small uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<div class="uk-animation-fade uk-text-meta uk-text-large">
|
|
|
|
|
No summary information available
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="hasPrimaryInfo" class="uk-width-expand">
|
|
|
|
|
<div *ngIf="hasPrimaryInfo && viewAllMobile != 'organizations'" class="uk-width-expand">
|
|
|
|
|
<!-- Description -->
|
|
|
|
|
<div *ngIf="projectInfo.description" class="uk-margin-medium-bottom">
|
|
|
|
|
<div class="uk-text-justify ">
|
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
|
<div class="multi-line-ellipsis lines-10">
|
|
|
|
|
<div *ngIf="projectInfo.description && (!viewAllMobile || viewAllMobile == 'description')" class="uk-margin-medium-bottom">
|
|
|
|
|
<div class="uk-text-justify">
|
|
|
|
|
<div *ngIf="viewAllMobile != 'description'" class="uk-text-meta uk-margin-small-bottom">Description</div>
|
|
|
|
|
<div [ngClass]="viewAllMobile == 'description' ? '' : 'multi-line-ellipsis lines-10'">
|
|
|
|
|
<div #descriptionDiv class="uk-margin-small-bottom"
|
|
|
|
|
[innerHtml]="projectInfo.description"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="showViewMoreButton" class="uk-flex uk-flex-right">
|
|
|
|
|
<a (click)="openDescriptionModal();" class="view-more-less-link">
|
|
|
|
|
<div *ngIf="showViewMoreButton && viewAllMobile != 'description'" class="uk-flex uk-flex-right">
|
|
|
|
|
<a (click)="viewAllDescriptionClicked();" class="view-more-less-link">
|
|
|
|
|
View more
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div *ngIf="hasSecondaryInfo" [class.uk-width-1-3@m]="hasPrimaryInfo" class="uk-width-1-1">
|
|
|
|
|
<div *ngIf="hasSecondaryInfo && viewAllMobile != 'description'" [class.uk-width-1-3@m]="hasPrimaryInfo" class="uk-width-1-1">
|
|
|
|
|
<div class="uk-height-1-1">
|
|
|
|
|
<!-- Organizations -->
|
|
|
|
|
<div class="uk-text-meta uk-margin-small-bottom">Partners</div>
|
|
|
|
|
<div *ngIf="viewAllMobile != 'organizations'" class="uk-text-meta uk-margin-small-bottom">Partners</div>
|
|
|
|
|
<div class="uk-margin-medium-bottom">
|
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: lessBtnOrganizations ? projectInfo.organizations.length : thresholdOrganizations }"></ng-container>
|
|
|
|
|
<div *ngIf="projectInfo.organizations.length > thresholdOrganizations && !lessBtnOrganizations"
|
|
|
|
|
class="uk-text-center">
|
|
|
|
|
<a (click)="viewAllOrganizationsClick();" class="view-more-less-link">
|
|
|
|
|
<a (click)="viewAllOrganizationsClick();" class="view-more-less-link uk-visible@m">
|
|
|
|
|
View all
|
|
|
|
|
</a>
|
|
|
|
|
<a (click)="viewAllOrganizationsMobileClicked()" class="view-more-less-link uk-hidden@m">
|
|
|
|
|
View all
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
@ -453,8 +745,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchPublications.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-template #publications_content>
|
|
|
|
|
<div id="publications" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<search-tab [fetch]="fetchPublications" resultType="publication"
|
|
|
|
|
[params]="getParamsForSearchLink('publications')"
|
|
|
|
@ -462,9 +755,9 @@
|
|
|
|
|
[properties]="properties">
|
|
|
|
|
</search-tab>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-container *ngIf="fetchDatasets.searchUtils.totalResults > 0">
|
|
|
|
|
<ng-template #datasets_content>
|
|
|
|
|
<div id="datasets" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<search-tab [fetch]="fetchDatasets" resultType="dataset"
|
|
|
|
|
[params]="getParamsForSearchLink('datasets')"
|
|
|
|
@ -472,8 +765,9 @@
|
|
|
|
|
[properties]="properties">
|
|
|
|
|
</search-tab>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchSoftware.searchUtils.totalResults > 0">
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #software_content>
|
|
|
|
|
<div id="software" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<search-tab [fetch]="fetchSoftware" resultType="software"
|
|
|
|
|
[params]="getParamsForSearchLink('software')"
|
|
|
|
@ -481,8 +775,9 @@
|
|
|
|
|
[properties]="properties">
|
|
|
|
|
</search-tab>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="fetchOrps.searchUtils.totalResults > 0">
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #other_content>
|
|
|
|
|
<div id="other" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<search-tab [fetch]="fetchOrps" resultType="other"
|
|
|
|
|
[params]="getParamsForSearchLink('other')"
|
|
|
|
@ -490,8 +785,9 @@
|
|
|
|
|
[properties]="properties">
|
|
|
|
|
</search-tab>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #dmps_content>
|
|
|
|
|
<div id="dmps" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<search-tab [fetch]="fetchDmps" customTitle="Data Management Plans"
|
|
|
|
|
[properties]="properties" resultType="DMPs">
|
|
|
|
@ -510,8 +806,51 @@
|
|
|
|
|
</div>
|
|
|
|
|
</search-tab>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="projectInfo && hasMetrics">
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #statistics_content>
|
|
|
|
|
<div id="statistics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<div class="uk-text-meta uk-text-large uk-text-uppercase uk-margin-medium-bottom">Statistics</div>
|
|
|
|
|
<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-1 uk-child-width-1-2@m">
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Produced
|
|
|
|
|
{{openaireEntities.RESULTS}} per year
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartScientificResultsUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Access mode of
|
|
|
|
|
{{openaireEntities.RESULTS}}
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartAccessModeUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">
|
|
|
|
|
{{openaireEntities.RESULTS}} per datasource
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartDatasourcesUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<ng-template #metricsContent>
|
|
|
|
|
<div id="metrics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<ul class="uk-subnav uk-subnav-pill-alt uk-margin-remove" uk-switcher>
|
|
|
|
|
<li class="uk-padding-remove">
|
|
|
|
@ -569,10 +908,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<!-- usage -->
|
|
|
|
|
<li>
|
|
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<div class="uk-margin-large-right">
|
|
|
|
|
<div *ngIf="totalDownloads" class="uk-text-center uk-margin-medium-bottom">
|
|
|
|
|
<li *ngIf="totalDownloads || totalViews">
|
|
|
|
|
<div class="uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="isMobile">
|
|
|
|
|
<div class="uk-margin-large-right uk-flex uk-flex-center uk-flex-middle uk-flex-wrap" [class.uk-flex-column]="!isMobile">
|
|
|
|
|
<div *ngIf="totalDownloads" class="uk-text-center uk-margin-medium-bottom" [class.uk-margin-medium-right]="isMobile">
|
|
|
|
|
<div class="uk-text-background uk-text-bold number metrics-number" [attr.uk-tooltip]="totalDownloads >= 1000 ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
|
|
|
title="{{totalDownloads | number}}">{{formatNumber(totalDownloads)}}</div>
|
|
|
|
|
<div class="uk-text-bold">Downloads</div>
|
|
|
|
@ -602,79 +941,23 @@
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
|
|
|
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)">
|
|
|
|
|
<div id="statistics" class="landing-section uk-padding uk-padding-remove-horizontal">
|
|
|
|
|
<div class="uk-text-meta uk-text-large uk-text-uppercase uk-margin-medium-bottom">Statistics</div>
|
|
|
|
|
<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-1 uk-child-width-1-2@m">
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Produced
|
|
|
|
|
{{openaireEntities.RESULTS}} per year
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartScientificResultsUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">Access mode of
|
|
|
|
|
{{openaireEntities.RESULTS}}
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartAccessModeUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uk-padding uk-padding-remove-top">
|
|
|
|
|
<div class="uk-card uk-card-default uk-card-body">
|
|
|
|
|
<div *ngIf="!properties.useNewStatistisTool" class="uk-text-center uk-text-large">
|
|
|
|
|
{{openaireEntities.RESULTS}} per datasource
|
|
|
|
|
</div>
|
|
|
|
|
<i-frame [url]=chartDatasourcesUrl
|
|
|
|
|
customContainerClass="uk-background-default" customIframeClass="uk-blend-multiply"></i-frame>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<div class="uk-text-xsmall uk-hidden@m"><ng-container *ngTemplateOutlet="graph_and_feedback_template"></ng-container></div>
|
|
|
|
|
<helper *ngIf="pageContents && pageContents['bottom'] && pageContents['bottom'].length > 0"
|
|
|
|
|
[texts]="pageContents['bottom']"></helper>
|
|
|
|
|
</ng-container>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<feedback *ngIf="projectInfo && properties.reCaptchaSiteKey" [projectInfo]="projectInfo"
|
|
|
|
|
[properties]="properties" [entityType]="'project'" [title]="projectName" [fields]="feedbackFields"
|
|
|
|
|
[(showForm)]="showFeedback"></feedback>
|
|
|
|
|
|
|
|
|
|
<modal-loading></modal-loading>
|
|
|
|
|
<modal-alert #AlertModalCsvError></modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #addThisModal classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<fs-modal *ngIf="projectInfo" #addThisFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<addThis></addThis>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #embedResultsModal large="true">
|
|
|
|
|
<div class="uk-padding-small uk-margin-small-left uk-margin-small-right">
|
|
|
|
|
<div class="uk-padding-small uk-padding-remove-vertical">
|
|
|
|
|
<fs-modal *ngIf="projectInfo" #embedResultsFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<ng-container *ngTemplateOutlet="embed_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<fs-modal *ngIf="projectInfo" #downloadReportFsModal classTitle="uk-tile-default uk-border-bottom" classBody="uk-flex uk-flex-center uk-flex-middle">
|
|
|
|
|
<ng-container *ngTemplateOutlet="download_content"></ng-container>
|
|
|
|
|
</fs-modal>
|
|
|
|
|
|
|
|
|
|
<ng-template #embed_content>
|
|
|
|
|
<div [ngClass]="isMobile ? 'uk-width-1-1' : 'uk-padding-small uk-margin-small-left uk-margin-small-right'">
|
|
|
|
|
<div [ngClass]="isMobile ? '' : 'uk-padding-small uk-padding-remove-vertical'">
|
|
|
|
|
<div input type="select" placeholder="Select content type to embed" inputClass="flat x-small"
|
|
|
|
|
[options]="resultTypesForEmbedding" [(value)]="embed_research_results_type"></div>
|
|
|
|
|
<div *ngIf="embed_research_results_type" class="clipboard-wrapper box-content uk-grid uk-margin-auto uk-margin-small-top ">
|
|
|
|
@ -693,11 +976,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo" #downloadReportModal>
|
|
|
|
|
<div class="uk-padding-small uk-margin-small-left uk-margin-small-right">
|
|
|
|
|
<div class="uk-padding-small uk-padding-remove-vertical">
|
|
|
|
|
<ng-template #download_content>
|
|
|
|
|
<div [ngClass]="isMobile ? 'uk-width-1-1' : 'uk-padding-small uk-margin-small-left uk-margin-small-right'">
|
|
|
|
|
<div [ngClass]="isMobile ? '' : 'uk-padding-small uk-padding-remove-vertical'">
|
|
|
|
|
<div input type="select" placeholder="Select content type report to download" inputClass="flat x-small"
|
|
|
|
|
[options]="resultTypesForDownloading" [(value)]="download_research_results_type" (click)="buildResultTypesForDownloading()"></div>
|
|
|
|
|
<div *ngIf="download_research_results_type" class="uk-animation-slide-top-small uk-margin-medium-top">
|
|
|
|
@ -718,52 +1001,4 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<div class="uk-flex uk-flex-middle uk-button uk-button-link uk-text-normal"
|
|
|
|
|
(click)="downloadHtmlFile(type, 'funder-'+fileName_type+'-report')">
|
|
|
|
|
<icon name="download" flex="true" class="uk-margin-small-right"></icon>
|
|
|
|
|
Download {{projectInfo.funding.funderShortName}} report (HTML)
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="uk-margin-small-top">
|
|
|
|
|
<div class="uk-flex uk-flex-middle uk-button uk-button-link uk-text-normal"
|
|
|
|
|
(click)="downloadCsvFile(downloadURLAPI+csvParams, 'funder-'+fileName_type+'-report')">
|
|
|
|
|
<icon name="download" flex="true" class="uk-margin-small-right"></icon>
|
|
|
|
|
Download {{projectInfo.funding.funderShortName}} report (CSV)
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</ng-template>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo && projectInfo.organizations" #organizationsModal>
|
|
|
|
|
<ng-container *ngTemplateOutlet="organizations_template; context: { threshold: projectInfo.organizations.length}"></ng-container>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<modal-alert *ngIf="projectInfo?.description" #descriptionModal
|
|
|
|
|
[large]="true">
|
|
|
|
|
<div [innerHTML]="projectInfo.description"></div>
|
|
|
|
|
</modal-alert>
|
|
|
|
|
|
|
|
|
|
<ng-template #organizations_template let-threshold="threshold">
|
|
|
|
|
<span *ngFor="let organization of projectInfo.organizations.slice(0, threshold); let i=index" class="uk-text-small"
|
|
|
|
|
[attr.uk-tooltip]="organization.acronym && organization.name ? 'pos:right; delay:10' : 'cls: uk-invisible'"
|
|
|
|
|
[title]="organization.name">
|
|
|
|
|
<a *ngIf="organization.id" class="uk-link-text"
|
|
|
|
|
[queryParams]="{organizationId: organization.id}" routerLinkActive="router-link-active"
|
|
|
|
|
[routerLink]="properties.searchLinkToOrganization.split('?')[0]">
|
|
|
|
|
{{(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 *ngIf="(i < projectInfo.organizations.length-1)">, </span>
|
|
|
|
|
</span>
|
|
|
|
|
<span *ngIf="projectInfo.organizations.length > threshold"> ... </span>
|
|
|
|
|
</ng-template>
|
|
|
|
|