From 519998e887961e07cfb67292edc99660bc2419ee Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 30 Mar 2020 19:25:16 +0000 Subject: [PATCH] [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. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58357 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../organization/organization.component.html | 18 ++++++--- landingPages/project/project.component.html | 39 +++++++++++++------ 2 files changed, 40 insertions(+), 17 deletions(-) diff --git a/landingPages/organization/organization.component.html b/landingPages/organization/organization.component.html index 511c750e..21e9d2a4 100644 --- a/landingPages/organization/organization.component.html +++ b/landingPages/organization/organization.component.html @@ -132,22 +132,28 @@
Share - Bookmark
-
+
Download report - based on the affiliation information
-
-
@@ -170,7 +176,7 @@
-
+
Download report
@@ -594,26 +589,39 @@
- Select content type All research outcomes + [disabled]="fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE" + [attr.uk-tooltip]="(fetchPublications.searchUtils.totalResults == 0 || fetchPublications.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'" + title="No report available"> Publications + [disabled]="fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE" + [attr.uk-tooltip]="(fetchDatasets.searchUtils.totalResults == 0 || fetchDatasets.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'" + title="No report available"> Research data + [disabled]="fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE" + [attr.uk-tooltip]="(fetchSoftware.searchUtils.totalResults == 0 || fetchSoftware.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'" + title="No report available"> Software + [disabled]="fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE" + [attr.uk-tooltip]="(fetchOrps.searchUtils.totalResults == 0 || fetchOrps.searchUtils.status != errorCodes.DONE) ? 'cls: uk-active' : 'cls: uk-invisible'" + title="No report available"> Other research products @@ -624,6 +632,15 @@ csvParams: getCsvParams(download_research_results_type) }">
+ +
+ No reports available +