From 0e66e3ac900a2671a0f1f8ef8bbcc5564aa23c05 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Thu, 21 Mar 2019 10:49:50 +0000 Subject: [PATCH] [Trunk|Library]: In Landing Pages: cut description up to 270 characters and add 'view more/less' functionality. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55059 d315682c-612b-4755-9ff5-7f18f6832af3 --- landingPages/dataset/dataset.component.html | 14 ++++++++++++-- landingPages/dataset/dataset.component.ts | 13 ++++++++++--- landingPages/orp/orp.component.html | 13 ++++++++++++- landingPages/orp/orp.component.ts | 13 ++++++++++--- .../publication/publication.component.html | 13 ++++++++++++- landingPages/publication/publication.component.ts | 13 ++++++++++--- landingPages/software/software.component.html | 13 ++++++++++++- landingPages/software/software.component.ts | 13 ++++++++++--- 8 files changed, 88 insertions(+), 17 deletions(-) diff --git a/landingPages/dataset/dataset.component.html b/landingPages/dataset/dataset.component.html index e99af4c9..d0ed7ca8 100644 --- a/landingPages/dataset/dataset.component.html +++ b/landingPages/dataset/dataset.component.html @@ -55,9 +55,19 @@
-
- {{datasetInfo.description}} + {{datasetInfo.description.substring(0, showNumDescription)}} + + View less + + ... + + View more + +