From 74099ecabc7679c09dfd70530ef7ffd016a053a5 Mon Sep 17 00:00:00 2001 From: gpapavgeri Date: Thu, 27 Aug 2020 11:47:07 +0300 Subject: [PATCH] Adds comment for custom template, removes add dataset & updates style for dataset-info --- .../dataset-info/dataset-info.component.html | 5 ++-- .../dataset-info/dataset-info.component.scss | 23 +++++++++---------- .../dataset-info/dataset-info.component.ts | 3 --- 3 files changed, 13 insertions(+), 18 deletions(-) diff --git a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html index 75da135aa..aebae5535 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.html @@ -32,9 +32,8 @@ {{formGroup.get('profile').getError('backendError').message}} -
- {{'DMP-EDITOR.DATASET-INFO.FIND' | translate}} - {{'DMP-EDITOR.ACTIONS.CREATE-DATASET' | translate}} +
+ {{'QUICKWIZARD.CREATE-ADD.CREATE.QUICKWIZARD_CREATE.SECOND-STEP.FIELDS.HELP' | translate}}
diff --git a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.scss b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.scss index 62e8d088c..4dc2ab551 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.scss +++ b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.scss @@ -59,19 +59,10 @@ color: #00b29f !important; } - .insert { - text-decoration: underline; - color: #00b29f; - cursor: pointer; - font-size: 1rem; - font-weight: 400; - } - .not-found { - cursor: pointer; - font-size: 1rem; - font-weight: 400; - padding: 0rem 0.5rem 0rem 0rem; + font-size: 0.875rem; + font-weight: 400; + padding: 0rem 0.5rem 0rem 0rem; } } @@ -83,3 +74,11 @@ font-size: 1rem; padding: 0.6em 0 1em 0 !important; } + +::ng-deep .profile-form .mat-form-field-wrapper { + padding-bottom: 0rem; +} + +:host ::ng-deep .multiple-auto-complete .align-arrow-right { + bottom: 1rem !important; +} \ No newline at end of file diff --git a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.ts b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.ts index 5b41d99fb..0ed811621 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/dataset-info/dataset-info.component.ts @@ -197,7 +197,4 @@ export class DatasetInfoComponent extends BaseComponent implements OnInit { }); } - addDataset(id: String) { - this.router.navigate(['/datasets/new/' + id]); - } }