From 32d189af03649e323ecc92f803365ba54a1deacb Mon Sep 17 00:00:00 2001 From: dtziotzios Date: Fri, 8 Mar 2019 17:12:53 +0200 Subject: [PATCH] Reintroduces description property on Sections. --- ...aset-profile-editor-section.component.html | 4 ++ .../form-section/form-section.component.html | 41 ++++++++----------- .../form-section/form-section.component.scss | 4 ++ dmp-frontend/src/assets/i18n/en.json | 1 + 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section/dataset-profile-editor-section.component.html b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section/dataset-profile-editor-section.component.html index b0dc5f47b..355a94f4b 100644 --- a/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section/dataset-profile-editor-section.component.html +++ b/dmp-frontend/src/app/ui/admin/dataset-profile/editor/components/section/dataset-profile-editor-section.component.html @@ -22,6 +22,10 @@ + + + -
+
-
- +
-
+
- +
-
- +
@@ -56,10 +49,10 @@
- +
-
\ No newline at end of file +
diff --git a/dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.scss b/dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.scss index fb2e05919..b0da624db 100644 --- a/dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.scss +++ b/dmp-frontend/src/app/ui/misc/dataset-description-form/components/form-section/form-section.component.scss @@ -8,3 +8,7 @@ border-radius: 0.5em; margin-bottom: 0.5em; } +.mat-expansion-panel-header-description{ + padding-bottom: 18px; + color: black; +} diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index e743a5e2f..ee786cb29 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -74,6 +74,7 @@ "TITLE": "Section Name", "PAGE": "Page to appear", "ORDER": "Order", + "DESCRIPTION": "Description", "FIELDS-TITLE": "Fields", "SUB-SECTIONS-TITLE": "Sub-Sections" },