+
{{'DMP-BLUEPRINT-EDITOR.FIELDS.DESCRIPTION-TEMPLATE-LABEL' | translate}}
-
+
{{descriptionTemplate.get('label').getError('backendError').message}}
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
+
{{'DMP-BLUEPRINT-EDITOR.FIELDS.DESCRIPTION-TEMPLATE-MIN-MULTIPLICITY' | translate}}
@@ -245,7 +233,7 @@
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
-
+
{{'DMP-BLUEPRINT-EDITOR.FIELDS.DESCRIPTION-TEMPLATE-MAX-MULTIPLICITY' | translate}}
@@ -253,7 +241,20 @@
{{'GENERAL.VALIDATION.REQUIRED' | translate}}
+
+
+
+
+
+
{{section.get('descriptionTemplates').getError('backendError').message}}
diff --git a/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.scss b/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.scss
index 4db954ac2..e7a514041 100644
--- a/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.scss
+++ b/dmp-frontend/src/app/ui/admin/dmp-blueprint/editor/dmp-blueprint-editor.component.scss
@@ -149,6 +149,7 @@
.section-field-index {
width: auto;
+ margin-top: 0.2rem;
@media (max-width: 1470px) {
margin-left: 1.1rem;
@@ -273,3 +274,71 @@
}
}
}
+
+
+.description-fields-wrapper {
+ width: 100%;
+ margin-top: 1.0rem;
+ display: flex;
+ flex-wrap: wrap; // ??
+ align-items: center;
+
+ @media (max-width: 1470px) {
+ flex-direction: column;
+ align-items: flex-start;
+ }
+
+ .description-field-index {
+ width: auto;
+ margin-top: 0.2rem;
+
+ @media (max-width: 1470px) {
+ margin-left: 1.1rem;
+ // margin-left: 1.6rem;
+ }
+ }
+
+ .description-field-delete {
+ width: auto;
+ @media (max-width: 1470px) {
+ // margin-left: 0.5rem;
+ }
+ }
+
+ .description-field-sortable {
+ width: auto;
+ margin-top: 0.5rem;
+
+ @media (max-width: 1470px) {
+ margin-top: 0;
+ margin-left: 0.7rem;
+ // margin-left: 1.2rem;
+ }
+ }
+
+ .description-field-template {
+ width: 15rem;
+ margin-left: 0.5rem;
+ margin-top: 1.4rem;
+
+ @media (max-width: 1470px) {
+ margin-top: 0;
+ margin-left: 0;
+ width: 100%;
+ }
+ }
+
+ .description-field-template-label,
+ .description-field-template-min-multiplicity,
+ .description-field-template-max-multiplicity {
+ width: 11.0rem;
+ margin-left: 0.5rem;
+ margin-top: 1.4rem;
+ @media (max-width: 1470px) {
+ margin-top: 0;
+ margin-left: 0;
+ width: 100%;
+ width: 100%;
+ }
+ }
+}