From eb0bf2f003dec6dadc2c2f240afb8aa26fb97a67 Mon Sep 17 00:00:00 2001 From: apapachristou Date: Wed, 23 Sep 2020 19:41:12 +0300 Subject: [PATCH] Adds "Insert manually" link instead of add ( + ) button --- .../funding-info/funding-info.component.html | 8 +- .../funding-info/funding-info.component.scss | 2 +- .../editor/main-info/main-info.component.html | 14 +- .../editor/main-info/main-info.component.scss | 143 ++++++++++-------- .../editor/main-info/main-info.component.ts | 10 +- 5 files changed, 99 insertions(+), 78 deletions(-) diff --git a/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.html index 38195029e..3bbb51292 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.html @@ -36,9 +36,9 @@
{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.EXIST-FUNDER' | translate}}
-
+
{{'DMP-EDITOR.FUNDING-INFO.FIND' | translate}} - {{'DMP-EDITOR.ACTIONS.INSERT-MANUALLY' | translate}} + {{'DMP-EDITOR.ACTIONS.INSERT-MANUALLY' | translate}}
@@ -82,9 +82,9 @@
{{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.ACTIONS.EXIST-GRANT' | translate}}
-
+
{{'DMP-EDITOR.FUNDING-INFO.FIND' | translate}} - {{'DMP-EDITOR.ACTIONS.INSERT-MANUALLY' | translate}} + {{'DMP-EDITOR.ACTIONS.INSERT-MANUALLY' | translate}}
diff --git a/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.scss b/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.scss index 94cef8134..c1716ad85 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.scss +++ b/dmp-frontend/src/app/ui/dmp/editor/funding-info/funding-info.component.scss @@ -68,7 +68,7 @@ } .not-found { - cursor: pointer; + // cursor: pointer; font-size: 1rem; font-weight: 400; padding: 0rem 0.5rem 0rem 0rem; diff --git a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html index 35a56a0ff..30e337af0 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/main-info/main-info.component.html @@ -52,10 +52,12 @@ {{formGroup.get('researchers').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}} -