From 6564a4d74b604f54dfd91bef3eb767b5882ae773 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 29 May 2019 16:47:31 +0000 Subject: [PATCH] [Trunk|Library] remove old showAuthors component add properties in showPublisher component of software landing git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@55904 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../landing-utils/showAuthors.component.ts | 63 ------------------- landingPages/software/software.component.html | 2 +- 2 files changed, 1 insertion(+), 64 deletions(-) delete mode 100644 landingPages/landing-utils/showAuthors.component.ts diff --git a/landingPages/landing-utils/showAuthors.component.ts b/landingPages/landing-utils/showAuthors.component.ts deleted file mode 100644 index 6cb1baf5..00000000 --- a/landingPages/landing-utils/showAuthors.component.ts +++ /dev/null @@ -1,63 +0,0 @@ -import {Component, Input} from '@angular/core'; -import {RouterHelper} from '../../utils/routerHelper.class'; -import {HelperFunctions} from "../../utils/HelperFunctions.class"; - -@Component({ - selector: 'showAuthors1', - template: ` - -
- View less authors -
- - - {{author}} - ; - - ... - - - - {{author}} - ; - - - - - view all {{authors.length | number}} authors - - - - View less authors - -
- - ` - - }) - -export class ShowAuthorsComponent1 { - @Input() authors: { [key: string]: string }[]; - @Input() searchPage:string ="publications" - - public showAll: boolean = false; - public routerHelper:RouterHelper = new RouterHelper(); - - constructor () { - } - - ngOnInit() { - } - - public quote(params: string):string { - return '"'+params+'"'; - } - - public scroll() { - HelperFunctions.scroll(); - } -} diff --git a/landingPages/software/software.component.html b/landingPages/software/software.component.html index d1b6335d..b87ea18e 100644 --- a/landingPages/software/software.component.html +++ b/landingPages/software/software.component.html @@ -38,7 +38,7 @@