From 09fa6aa94b301c94d473b24fe801f00a6733c6af Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 2 Jul 2020 09:54:36 +0000 Subject: [PATCH] [Trunk | Library]: availableOn.component.ts & result-preview.component.html: Improve view for hostedby elements (Download from section in landing page & result preview - e.g. in versions). git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59039 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../landing-utils/availableOn.component.ts | 7 ++- .../result-preview.component.html | 52 +++++++++++-------- 2 files changed, 36 insertions(+), 23 deletions(-) diff --git a/landingPages/landing-utils/availableOn.component.ts b/landingPages/landing-utils/availableOn.component.ts index a3b3ff8f..21d8bcc1 100644 --- a/landingPages/landing-utils/availableOn.component.ts +++ b/landingPages/landing-utils/availableOn.component.ts @@ -15,8 +15,8 @@ import {HostedByCollectedFrom} from "../../utils/result-preview/result-preview";
- {{available.downloadName}} - + {{available.downloadName}} + [{{(i + 1) | number}}] @@ -26,6 +26,9 @@ import {HostedByCollectedFrom} from "../../utils/result-preview/result-preview"; {{available.downloadName}} + + {{available.downloadName}} +
{{available.type}} . diff --git a/utils/result-preview/result-preview.component.html b/utils/result-preview/result-preview.component.html index 87ba2f38..213db431 100644 --- a/utils/result-preview/result-preview.component.html +++ b/utils/result-preview/result-preview.component.html @@ -215,31 +215,41 @@
+ [title]="from.bestAccessMode ? from.bestAccessMode : 'Not available'" + class="uk-flex"> - - Download from: - - {{from.downloadName}} - - - - {{from.downloadName}} + + + Download from: + + {{from.downloadName}} + + [{{(i + 1) | number}}] + + + + {{from.downloadName}} + + + + {{from.downloadName}} + - - - Provider: - - - {{from.collectedName}} - - - - {{from.collectedName}} + + Provider: + + + {{from.collectedName}} + + + + {{from.collectedName}} +