From 4bbfebfd282f671b4cefb8263f8fb3f859405407 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 21 Jan 2019 14:22:40 +0000 Subject: [PATCH] 1. env-properties.ts: Add 'feedbackQuestionaire' property. 2. feedback.component: Feedback button sends email or opens questionaire in new tab, according to input ('feedbackQuestionaire' or 'feedbackmail'). git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54603 d315682c-612b-4755-9ff5-7f18f6832af3 --- sharedComponents/feedback/feedback.component.ts | 4 +++- utils/properties/env-properties.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sharedComponents/feedback/feedback.component.ts b/sharedComponents/feedback/feedback.component.ts index 1c84e024..3084aad5 100644 --- a/sharedComponents/feedback/feedback.component.ts +++ b/sharedComponents/feedback/feedback.component.ts @@ -7,7 +7,8 @@ import {StringUtils} from '../../utils/string-utils.class'; selector: 'feedback', template: `
- + Feedback
@@ -16,6 +17,7 @@ import {StringUtils} from '../../utils/string-utils.class'; ` }) export class FeedbackComponent { + @Input()feedbackQuestionaire:string = ""; @Input()feedbackmail:string = "someone@example.com"; @Input()portalName:string = "Explore"; public subject:string; diff --git a/utils/properties/env-properties.ts b/utils/properties/env-properties.ts index 128dd6e1..a7ec60b2 100644 --- a/utils/properties/env-properties.ts +++ b/utils/properties/env-properties.ts @@ -70,7 +70,7 @@ export class EnvProperties { cookieDomain; - + feedbackQuestionaire; feedbackmail; feedbackmailForMissingEntities;