Commit Graph

19 Commits

Author SHA1 Message Date
Diamantis Tziotzios 8a41a7dcd9 Fixes for #9033 #9107 #9105 #9105 2023-10-19 17:27:37 +03:00
Bernaldo Mihasi 5f3ab00009 [wip] add control in dataset creation/prefilling dialog for max multiplicity of a description template in a dmp section, add control in dmp finalization for min multiplicity of a description template in a dmp section 2023-09-22 09:34:12 +03:00
Bernaldo Mihasi b68070aa01 [wip] add control for the min/max multiplicity of a description template used in a section of a dmp 2023-09-21 09:35:04 +03:00
Konstantina Galouni 1a2a93a95f #8738 - Disable input fields in finalised DMPs/datasets.
1. dataset-editor.component.html & form-composite-field.component.html & form-field.component.html & form-section.component.html: Added [editable] parameter input in <rich-text-editor-component> or [disabled] attribute in inputs, buttons, <ngx-dropzone> and <mat-select> to disable then when form is disabled & do not add "pointer" class when form is disabled.
2. form-field.component.ts: For DatasetIdentifier and Validation view styles, when removing and re-adding control, check if form was disabled and disable it again.
3. form-section.component.ts: In method "addMultipleField()", return without doing anything when form is disabled.
2023-06-16 14:36:24 +03:00
Konstantina Galouni b68ede8cd7 #7518 & #7519: [Bug fix] in Required indication in Rich Text Area fields & editable general info on dataset template new version & date with time shown in dataset templates.
1. rich-text-editor.component.scss: Css for .editor-wrapper .disabled added.
2. rich-text-editor.component.ts: New "editable" Input() field added, to allow rich text area to be disabled and not editable.
3. dataset-profile-editor.component.html:
   a. In <rich-text-editor-component> set [editable]="form.controls['description'].status !== 'DISABLED'"
   b. #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty)
4. dataset-profile-editor.component.ts: #7519 comment disable of form controls label (title), description and language.
5. dataset-profile-listing.component.html: #7519 Time added in created column of dataset templates.
6. dataset-editor.component.html & form-field.component.html: #7518 Show required message and css  in rich text area when there is error "required" and description is touched (not dirty).
7. clone-dialog.component.html: Replaced <textarea> with <rich-text-editor-component> for description field.
8. clone-dialog.module.ts: Import RichTextEditorModule.
9. clone-dialog.component.ts: #7519 comment disable of form group label (title)
10. styles.scss: Css for class .form-field-subscript-wrapper updated.
2022-02-28 18:08:38 +02:00
Konstantina Galouni 7bdfcb70af Created common component for rich text editor configuration & added rich text for dmp and dataset description.
1. library/rich-text-editor: [NEW] Common component which configures a rich text editor.
2. dataset-editor.component.html & main-info.component.html: Use <rich-text-editor-component> to allow rich text in dataset and dmp description.
3. dataset-overview.component.html & dmp-overview.component.html: Show dataset and dmp description as innerHTML.
4. dataset.module.ts & dmp.module.ts: Imported RichTextEditorModule.
2021-11-01 14:45:02 +02:00
apapachristou 36ac02e9f9 Change texts on editors 2020-11-17 09:57:52 +02:00
apapachristou 97a3338dda Fixes enumerating of editor fields, changes title of fields 1.1 2020-10-01 16:35:20 +03:00
apapachristou d249eb841a Adds description text on dmp editor fields 2020-09-30 11:42:52 +03:00
apapachristou b8ebfb0726 Removes 1.3 External Link field from dataset editor 2020-09-29 14:30:00 +03:00
apapachristou 26fa759d81 Removes default hint subtitles on fields of editors 2020-09-23 19:02:59 +03:00
apapachristou b75d7606cf Discard on dataset editor 2020-09-21 18:05:53 +03:00
apapachristou e7db9ee664 Adds discard on dataset editor (1st commit) 2020-09-18 18:51:42 +03:00
apapachristou 9596fd1595 New seperate dataset editor (1st commit) 2020-09-16 18:19:29 +03:00
George Kalampokis 2e5faf5c05 Hide Uri field on Dataset Editor (ref #275) 2020-06-25 14:05:19 +03:00
apapachristou 7b53346703 Makes dmp/dataet editors mobile responsive 2019-10-08 14:20:22 +03:00
apapachristou fdc0d3a8b8 Dataset editor restyle - 1st commit 2019-06-03 12:01:42 +03:00
Diamantis Tziotzios 9d11adbcbd error models and profile pages bug fixes 2019-01-21 13:14:20 +02:00
Diamantis Tziotzios 41fb94eee9 ui resrtucturing 2019-01-18 19:03:45 +02:00