576 |
576 |
</div>
|
577 |
577 |
</div>
|
578 |
578 |
</div>
|
579 |
|
<div *ngIf="projectInfo.funding &&
|
580 |
|
(fetchPublications.searchUtils.totalResults > 0 ||
|
581 |
|
fetchDatasets.searchUtils.totalResults > 0 ||
|
582 |
|
fetchSoftware.searchUtils.totalResults > 0 ||
|
583 |
|
fetchOrps.searchUtils.totalResults > 0)"
|
584 |
|
class="uk-margin-top">
|
|
579 |
<div class="uk-margin-top">
|
585 |
580 |
<div class="sideInfoTitle uk-margin-small-bottom uk-margin-small-top">Download report</div>
|
586 |
581 |
<div class="app-box uk-padding-small uk-margin-small-left uk-margin-small-right">
|
587 |
582 |
<!-- <select class="select" id="download_report" name="download_report"-->
|
... | ... | |
594 |
589 |
<!-- <option value="other">Other research products</option>-->
|
595 |
590 |
<!-- </select>-->
|
596 |
591 |
<div class="uk-padding-small uk-padding-remove-vertical">
|
597 |
|
<mat-select [(value)]="download_research_results_type"
|
|
592 |
<mat-select *ngIf="projectInfo.funding &&
|
|
593 |
(fetchPublications.searchUtils.totalResults > 0 ||
|
|
594 |
fetchDatasets.searchUtils.totalResults > 0 ||
|
|
595 |
fetchSoftware.searchUtils.totalResults > 0 ||
|
|
596 |
fetchOrps.searchUtils.totalResults > 0)"
|
|
597 |
[(value)]="download_research_results_type"
|
598 |
598 |
[disableOptionCentering]="true"
|
599 |
599 |
panelClass="entitiesSelectionPanel"
|
600 |
600 |
class="matSelection">
|
601 |
601 |
<mat-option value="">Select content type</mat-option>
|
602 |
602 |
<mat-option value="results">All research outcomes</mat-option>
|
603 |
603 |
<mat-option value="publications"
|
604 |
|
[disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE">
|
|
604 |
[disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE"
|
|
605 |
[attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
606 |
title="No report available">
|
605 |
607 |
Publications
|
606 |
608 |
</mat-option>
|
607 |
609 |
<mat-option value="datasets"
|
608 |
|
[disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE">
|
|
610 |
[disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE"
|
|
611 |
[attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
612 |
title="No report available">
|
609 |
613 |
Research data
|
610 |
614 |
</mat-option>
|
611 |
615 |
<mat-option value="software"
|
612 |
|
[disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE">
|
|
616 |
[disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE"
|
|
617 |
[attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
618 |
title="No report available">
|
613 |
619 |
Software
|
614 |
620 |
</mat-option>
|
615 |
621 |
<mat-option value="other"
|
616 |
|
[disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE">
|
|
622 |
[disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE"
|
|
623 |
[attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'"
|
|
624 |
title="No report available">
|
617 |
625 |
Other research products
|
618 |
626 |
</mat-option>
|
619 |
627 |
</mat-select>
|
... | ... | |
624 |
632 |
csvParams: getCsvParams(download_research_results_type) }">
|
625 |
633 |
</ng-container>
|
626 |
634 |
</div>
|
|
635 |
|
|
636 |
<div *ngIf="!projectInfo.funding ||
|
|
637 |
(fetchPublications.searchUtils.totalResults == 0 &&
|
|
638 |
fetchDatasets.searchUtils.totalResults == 0 &&
|
|
639 |
fetchSoftware.searchUtils.totalResults == 0 &&
|
|
640 |
fetchOrps.searchUtils.totalResults == 0)"
|
|
641 |
class="uk-text-muted">
|
|
642 |
No reports available
|
|
643 |
</div>
|
627 |
644 |
</div>
|
628 |
645 |
</div>
|
629 |
646 |
</div>
|
[Trunk | Library]: organization.component.html & project.component.html:
For download reports sections: Show all types (disabled if no results with tooltip "No report available"), or show message "No reports available" if no results.