From 2b5830e53b9f5c318ed48915c5779987f2690246 Mon Sep 17 00:00:00 2001 From: apapachristou Date: Fri, 8 Nov 2019 18:47:19 +0200 Subject: [PATCH] Create /glossary, /faq (Issue #202) --- dmp-frontend/src/app/app-routing.module.ts | 24 +++++++++++ .../dmp/editor/grant-tab/funder-form-model.ts | 1 - .../ui/faq/dialog/faq-dialog.component.html | 16 ++++++++ .../dialog}/faq-dialog.component.scss | 0 .../dialog}/faq-dialog.component.ts | 9 ++-- .../faq-content/faq-content.component.html | 36 ++++++++++++++++ .../faq-content/faq-content.component.scss | 12 ++++++ .../faq/faq-content/faq-content.component.ts | 17 ++++++++ dmp-frontend/src/app/ui/faq/faq.module.ts | 24 +++++++++++ dmp-frontend/src/app/ui/faq/faq.routing.ts | 16 ++++++++ .../dialog/glossary-dialog.component.html | 16 ++++++++ .../dialog}/glossary-dialog.component.scss | 0 .../dialog}/glossary-dialog.component.ts | 9 ++-- .../glossary-content.component.html | 24 +++++++++++ .../glossary-content.component.scss | 12 ++++++ .../glossary-content.component.ts | 17 ++++++++ .../src/app/ui/glossary/glossary.module.ts | 24 +++++++++++ .../src/app/ui/glossary/glossary.routing.ts | 16 ++++++++ .../faq/faq-dialog.component.html | 41 ------------------- .../glossary/glossary-dialog.component.html | 28 ------------- .../sidebar-footer.component.html | 5 ++- .../sidebar-footer.component.ts | 12 +++++- .../src/app/ui/sidebar/sidebar.module.ts | 20 ++++----- dmp-frontend/src/assets/i18n/en.json | 3 ++ 24 files changed, 291 insertions(+), 91 deletions(-) create mode 100644 dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.html rename dmp-frontend/src/app/ui/{sidebar/sidebar-footer/faq => faq/dialog}/faq-dialog.component.scss (100%) rename dmp-frontend/src/app/ui/{sidebar/sidebar-footer/faq => faq/dialog}/faq-dialog.component.ts (80%) create mode 100644 dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.html create mode 100644 dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.scss create mode 100644 dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.ts create mode 100644 dmp-frontend/src/app/ui/faq/faq.module.ts create mode 100644 dmp-frontend/src/app/ui/faq/faq.routing.ts create mode 100644 dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html rename dmp-frontend/src/app/ui/{sidebar/sidebar-footer/glossary => glossary/dialog}/glossary-dialog.component.scss (100%) rename dmp-frontend/src/app/ui/{sidebar/sidebar-footer/glossary => glossary/dialog}/glossary-dialog.component.ts (82%) create mode 100644 dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.html create mode 100644 dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.scss create mode 100644 dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.ts create mode 100644 dmp-frontend/src/app/ui/glossary/glossary.module.ts create mode 100644 dmp-frontend/src/app/ui/glossary/glossary.routing.ts delete mode 100644 dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.html delete mode 100644 dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.html diff --git a/dmp-frontend/src/app/app-routing.module.ts b/dmp-frontend/src/app/app-routing.module.ts index cc74e9ff6..c8eee17ab 100644 --- a/dmp-frontend/src/app/app-routing.module.ts +++ b/dmp-frontend/src/app/app-routing.module.ts @@ -93,6 +93,30 @@ const appRoutes: Routes = [ title: 'GENERAL.TITLES.DATASET-PROFILES' } }, + // { + // path: 'contact', + // loadChildren: () => import('./ui/contact/contact.module').then(m => m.ContactModule), + // data: { + // breadcrumb: true, + // title: 'CONTACT.SUPPORT.TITLE' + // } + // }, + { + path: 'glossary', + loadChildren: () => import('./ui/glossary/glossary.module').then(m => m.GlossaryModule), + data: { + breadcrumb: true, + title: 'GLOSSARY.TITLE' + } + }, + { + path: 'faq', + loadChildren: () => import('./ui/faq/faq.module').then(m => m.FaqModule), + data: { + breadcrumb: true, + title: 'FAQ.TITLE' + } + }, { path: 'privacy-policy', loadChildren: () => import('./ui/sidebar/sidebar-footer/privacy/privacy.module').then(m => m.PrivacyModule), diff --git a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/funder-form-model.ts b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/funder-form-model.ts index 967fd3775..50a229331 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/grant-tab/funder-form-model.ts +++ b/dmp-frontend/src/app/ui/dmp/editor/grant-tab/funder-form-model.ts @@ -4,7 +4,6 @@ import { ValidationErrorModel } from "../../../../common/forms/validation/error- import { ValidationContext } from "../../../../common/forms/validation/validation-context"; import { FormGroup, FormBuilder, Validators } from "@angular/forms"; import { BackendErrorValidator } from "../../../../common/forms/validation/custom-validator"; -import { ValidJsonValidator } from "../../../../library/auto-complete/auto-complete-custom-validator"; export class FunderFormModel { public id: string; diff --git a/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.html b/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.html new file mode 100644 index 000000000..cce770206 --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.html @@ -0,0 +1,16 @@ +
+
+
+ {{'FAQ.TITLE' | translate}} +
+
+ close +
+
+
+ +
+
+
+
+
diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.scss b/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.scss similarity index 100% rename from dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.scss rename to dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.scss diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.ts b/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.ts similarity index 80% rename from dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.ts rename to dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.ts index 4a0795f26..d0ca1f63e 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.ts +++ b/dmp-frontend/src/app/ui/faq/dialog/faq-dialog.component.ts @@ -1,5 +1,4 @@ import { Component, Inject } from '@angular/core'; -import { FormGroup } from '@angular/forms'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ @@ -9,10 +8,14 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; }) export class FaqDialogComponent { + public isDialog: boolean = false; + constructor( public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data: FormGroup - ) { } + @Inject(MAT_DIALOG_DATA) public data: any + ) { + this.isDialog = data.isDialog; + } cancel() { this.dialogRef.close(); diff --git a/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.html b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.html new file mode 100644 index 000000000..a39ef2f82 --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.html @@ -0,0 +1,36 @@ +
+
+
+

{{ 'FAQ.TITLE-DASHED' | translate}}

+
+
+
+
+

What is ARGOS?

+

ARGOS is an open and collaborative platform for creating Data Management Plans according to funders or institutions’ open science policy requirements. ARGOS technology provides solutions and workflows that connect the DMP to the actual data where they are stored and link to other useful information such as publications and funding information, thus enabling the association between research outputs and processes and leading to the creation of coherent/ complete research entities. ARGOS is comprised of two major features: the ARGOS template and the Dataset Description.

+ +
+

Who is it for?

+

ARGOS is inclusive to all researchers and research coordinators who may use the tool to create machine actionable DMPs. Funding and Research Performing Organizations as well as research communities may use the tool and create Dataset Description templates according to their preferences or requirements. ARGOS may be used for purposes other than research projects, such as on the occasion of trainings that familiarise scientists with the data management planning process.

+ +
+

How can I use it?

+

ARGOS is comprised of two main functionalities: DMP templates and Dataset Descriptions. Additional entities are Projects that link to funders and grants information.
ARGOS can be used for: +

A. viewing/ consulting publicly released DMPs and Dataset Descriptions or Projects corresponding to DMPs

+ The tool offers options for publishing DMPs in two modes, private or public. To view public DMPs and Dataset Descriptions, there is no need for login to the platform. + +

B. writing and publishing a DMP

+ The tool helps researchers comply with mandates that may be attached to their grant proposal/ project funding. They can therefore choose from the most suitable to their needs template from the Dataset Descriptions collection and proceed with answering the corresponding questions. Once finalized, researchers can assign a DOI to their DMP, publish and eventually cite it. + +

C. practicing in writing DMPs and Dataset Descriptions

+ Given that Data Management Planning reflects the data management lifecycle and in accordance/ response to the increasing demand of the global scientific/ research community for training in Research Data Management (RDM), ARGOS may be used for educational purposes. Examples may refer to embedding DMP and DMP tools in specific curricula or even utilization of the tool for researchers and students familiarization with the concept and process, as part of library instructions’ sessions. +

+ +
+

What is the difference between the “Wizard” and the “Expert” modes/ features?

+

There are two ways of creating a DMP: the “Wizard” and the “Expert”. The DMP Wizard combines the most necessary fields of the DMP template and the Data Description template. It is an easy way of starting a DMP and completing a Dataset Description. The downside when using the Wizard is that it only supports one Dataset Description. To add more datasets documentation, someone must open the DMP from DMP Expert. +
DMP expert contains extra fields for describing the project, grant, funding, contributors and associations between DMP authors, etc. DMP Expert is advised for use when further modification and personalization is to take place. +

+
+
+
diff --git a/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.scss b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.scss new file mode 100644 index 000000000..ce11947c3 --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.scss @@ -0,0 +1,12 @@ +h1 { + text-align: center; +} + +img { + height: 150px; + width: 100%; +} + +.faq-component { + margin-top: 80px; +} diff --git a/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.ts b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.ts new file mode 100644 index 000000000..179cbc410 --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/faq-content/faq-content.component.ts @@ -0,0 +1,17 @@ +import { Component, OnInit, Input } from '@angular/core'; + +@Component({ + selector: 'app-faq-content', + templateUrl: './faq-content.component.html', + styleUrls: ['./faq-content.component.scss'] +}) +export class FaqContentComponent implements OnInit { + + @Input() isDialog: boolean; + + constructor() { } + + ngOnInit() { + } + +} diff --git a/dmp-frontend/src/app/ui/faq/faq.module.ts b/dmp-frontend/src/app/ui/faq/faq.module.ts new file mode 100644 index 000000000..654c43b93 --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/faq.module.ts @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { CommonUiModule } from '../../common/ui/common-ui.module'; +import { FaqRoutingModule } from './faq.routing'; +import { FaqDialogComponent } from './dialog/faq-dialog.component'; +import { FaqContentComponent } from './faq-content/faq-content.component'; + +@NgModule({ + imports: [ + CommonUiModule, + FaqRoutingModule + ], + declarations: [ + FaqContentComponent, + FaqDialogComponent + ], + entryComponents: [ + FaqContentComponent, + FaqDialogComponent + ], + exports: [ + FaqDialogComponent + ] +}) +export class FaqModule { } diff --git a/dmp-frontend/src/app/ui/faq/faq.routing.ts b/dmp-frontend/src/app/ui/faq/faq.routing.ts new file mode 100644 index 000000000..24793d00a --- /dev/null +++ b/dmp-frontend/src/app/ui/faq/faq.routing.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; +import { FaqContentComponent } from './faq-content/faq-content.component'; + +const routes: Routes = [ + { + path: '', + component: FaqContentComponent, + }, +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class FaqRoutingModule { } diff --git a/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html b/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html new file mode 100644 index 000000000..674bc6d88 --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.html @@ -0,0 +1,16 @@ +
+
+
+ {{'GLOSSARY.TITLE' | translate}} +
+
+ close +
+
+
+ +
+
+
+
+
diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.scss b/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss similarity index 100% rename from dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.scss rename to dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.scss diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.ts b/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.ts similarity index 82% rename from dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.ts rename to dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.ts index cdd4c3967..976d36ead 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.ts +++ b/dmp-frontend/src/app/ui/glossary/dialog/glossary-dialog.component.ts @@ -1,5 +1,4 @@ import { Component, Inject } from '@angular/core'; -import { FormGroup } from '@angular/forms'; import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; @Component({ @@ -9,10 +8,14 @@ import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; }) export class GlossaryDialogComponent { + public isDialog: boolean; + constructor( public dialogRef: MatDialogRef, - @Inject(MAT_DIALOG_DATA) public data: FormGroup - ) { } + @Inject(MAT_DIALOG_DATA) public data: any + ) { + this.isDialog = data.isDialog; + } cancel() { this.dialogRef.close(); diff --git a/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.html b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.html new file mode 100644 index 000000000..cb6e81d5b --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.html @@ -0,0 +1,24 @@ +
+
+
+

{{ 'GLOSSARY.TITLE-DASHED' | translate}}

+
+
+
+
+

DMP

+

A DMP - short for Data Management Plan - is a document describing the processes that the data have undergone and the tools used for their handling and storage during a research lifecycle. Most importantly, DMPs secure provenance and enable re-use of data by appointing data managers and by including information on how data can be re-used by others in the future. Therefore, a DMP is a living document which is modified according to the data developments of a project before it’s completed and handed over at the end of the project. + Public funders increasingly contain DMPs in their grant proposals or policy funding requirements. A good paradigm is the European Commission demands for the production and delivery of DMPs for projects funded under the Horizon 2020 Funding Programme. On that note, and to encourage good data management practices uptake, many European institutions include DMPs in post-graduate researchers policies and offer relevant support to staff and students. +

+ +

DMP template

+

DMP template contains general but vital information about the name and the duration of the project that the DMP corresponds to, the contributing organisations and individuals as well as the datasets that are under the Dataset Description section. It also offers the possibility of describing datasets other than primary data generated, under “External References” section. A DMP template can have many Dataset Descriptions. +

+ +

Dataset Description

+

Dataset Description documents the management processes of datasets following funder’s or institution’s requirements. A dataset description is essentially a questionnaire template with underlying added value services for interoperability and machine readability of information which is developed based on the given requirements. Management requirements differ from funder to funder and from institution to institution, hence the growing collection of Dataset Descriptions to select from. + Moreover, a Dataset Description links to the documentation of one dataset, hence a DMP template may contain more than one dataset descriptions on the occasion when multiple datasets were used during the project. When documentation of some of the project’s datasets falls under additional requirements (e.g. projects receiving multiple grants from different sources), there is the possibility of describing datasets with more than one Dataset Description template. +

+
+
+
diff --git a/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.scss b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.scss new file mode 100644 index 000000000..035ab5f7a --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.scss @@ -0,0 +1,12 @@ +h1 { + text-align: center; +} + +img { + height: 150px; + width: 100%; +} + +.glossary-component { + margin-top: 80px; +} diff --git a/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.ts b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.ts new file mode 100644 index 000000000..7eb9ef04b --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/glossary-content/glossary-content.component.ts @@ -0,0 +1,17 @@ +import { Component, OnInit, Input } from '@angular/core'; + +@Component({ + selector: 'app-glossary-content', + templateUrl: './glossary-content.component.html', + styleUrls: ['./glossary-content.component.scss'] +}) +export class GlossaryContentComponent implements OnInit { + + @Input() isDialog: boolean; + + constructor() { } + + ngOnInit() { + } + +} diff --git a/dmp-frontend/src/app/ui/glossary/glossary.module.ts b/dmp-frontend/src/app/ui/glossary/glossary.module.ts new file mode 100644 index 000000000..07cf5d1a6 --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/glossary.module.ts @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { GlossaryRoutingModule } from './glossary.routing'; +import { GlossaryContentComponent } from './glossary-content/glossary-content.component'; +import { GlossaryDialogComponent } from './dialog/glossary-dialog.component'; +import { CommonUiModule } from '../../common/ui/common-ui.module'; + +@NgModule({ + imports: [ + CommonUiModule, + GlossaryRoutingModule + ], + declarations: [ + GlossaryContentComponent, + GlossaryDialogComponent + ], + entryComponents: [ + GlossaryContentComponent, + GlossaryDialogComponent + ], + exports: [ + GlossaryDialogComponent + ] +}) +export class GlossaryModule { } diff --git a/dmp-frontend/src/app/ui/glossary/glossary.routing.ts b/dmp-frontend/src/app/ui/glossary/glossary.routing.ts new file mode 100644 index 000000000..cbcc962e9 --- /dev/null +++ b/dmp-frontend/src/app/ui/glossary/glossary.routing.ts @@ -0,0 +1,16 @@ +import { NgModule } from '@angular/core'; +import { RouterModule, Routes } from '@angular/router'; +import { GlossaryContentComponent } from './glossary-content/glossary-content.component'; + +const routes: Routes = [ + { + path: '', + component: GlossaryContentComponent, + }, +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class GlossaryRoutingModule { } diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.html b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.html deleted file mode 100644 index 1bc17388d..000000000 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/faq/faq-dialog.component.html +++ /dev/null @@ -1,41 +0,0 @@ -
-
-
- {{'FAQ.TITLE' | translate}} -
-
- close -
-
-
-

What is ARGOS?

-

ARGOS is an open and collaborative platform for creating Data Management Plans according to funders or institutions’ open science policy requirements. ARGOS technology provides solutions and workflows that connect the DMP to the actual data where they are stored and link to other useful information such as publications and funding information, thus enabling the association between research outputs and processes and leading to the creation of coherent/ complete research entities. ARGOS is comprised of two major features: the ARGOS template and the Dataset Description.

- -
-

Who is it for?

-

ARGOS is inclusive to all researchers and research coordinators who may use the tool to create machine actionable DMPs. Funding and Research Performing Organizations as well as research communities may use the tool and create Dataset Description templates according to their preferences or requirements. ARGOS may be used for purposes other than research projects, such as on the occasion of trainings that familiarise scientists with the data management planning process.

- -
-

How can I use it?

-

ARGOS is comprised of two main functionalities: DMP templates and Dataset Descriptions. Additional entities are Projects that link to funders and grants information.
ARGOS can be used for: -

A. viewing/ consulting publicly released DMPs and Dataset Descriptions or Projects corresponding to DMPs

- The tool offers options for publishing DMPs in two modes, private or public. To view public DMPs and Dataset Descriptions, there is no need for login to the platform. - -

B. writing and publishing a DMP

- The tool helps researchers comply with mandates that may be attached to their grant proposal/ project funding. They can therefore choose from the most suitable to their needs template from the Dataset Descriptions collection and proceed with answering the corresponding questions. Once finalized, researchers can assign a DOI to their DMP, publish and eventually cite it. - -

C. practicing in writing DMPs and Dataset Descriptions

- Given that Data Management Planning reflects the data management lifecycle and in accordance/ response to the increasing demand of the global scientific/ research community for training in Research Data Management (RDM), ARGOS may be used for educational purposes. Examples may refer to embedding DMP and DMP tools in specific curricula or even utilization of the tool for researchers and students familiarization with the concept and process, as part of library instructions’ sessions. -

- -
-

What is the difference between the “Wizard” and the “Expert” modes/ features?

-

There are two ways of creating a DMP: the “Wizard” and the “Expert”. The DMP Wizard combines the most necessary fields of the DMP template and the Data Description template. It is an easy way of starting a DMP and completing a Dataset Description. The downside when using the Wizard is that it only supports one Dataset Description. To add more datasets documentation, someone must open the DMP from DMP Expert. -
DMP expert contains extra fields for describing the project, grant, funding, contributors and associations between DMP authors, etc. DMP Expert is advised for use when further modification and personalization is to take place. -

- -
-
-
-
-
diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.html b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.html deleted file mode 100644 index b5998cdc8..000000000 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/glossary/glossary-dialog.component.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
- {{'GLOSSARY.TITLE' | translate}} -
-
- close -
-
-
-

DMP

-

A DMP - short for Data Management Plan - is a document describing the processes that the data have undergone and the tools used for their handling and storage during a research lifecycle. Most importantly, DMPs secure provenance and enable re-use of data by appointing data managers and by including information on how data can be re-used by others in the future. Therefore, a DMP is a living document which is modified according to the data developments of a project before it’s completed and handed over at the end of the project. - Public funders increasingly contain DMPs in their grant proposals or policy funding requirements. A good paradigm is the European Commission demands for the production and delivery of DMPs for projects funded under the Horizon 2020 Funding Programme. On that note, and to encourage good data management practices uptake, many European institutions include DMPs in post-graduate researchers policies and offer relevant support to staff and students. -

- -

DMP template

-

DMP template contains general but vital information about the name and the duration of the project that the DMP corresponds to, the contributing organisations and individuals as well as the datasets that are under the Dataset Description section. It also offers the possibility of describing datasets other than primary data generated, under “External References” section. A DMP template can have many Dataset Descriptions. -

- -

Dataset Description

-

Dataset Description documents the management processes of datasets following funder’s or institution’s requirements. A dataset description is essentially a questionnaire template with underlying added value services for interoperability and machine readability of information which is developed based on the given requirements. Management requirements differ from funder to funder and from institution to institution, hence the growing collection of Dataset Descriptions to select from. - Moreover, a Dataset Description links to the documentation of one dataset, hence a DMP template may contain more than one dataset descriptions on the occasion when multiple datasets were used during the project. When documentation of some of the project’s datasets falls under additional requirements (e.g. projects receiving multiple grants from different sources), there is the possibility of describing datasets with more than one Dataset Description template. -

-
-
-
-
-
diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.html b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.html index 8cb3890ee..72140e5a5 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.html +++ b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.html @@ -9,17 +9,18 @@ -->
-

+

{{'FOOTER.GLOSSARY' | translate}}

-

+

{{'FOOTER.FAQ' | translate}}

+ {{'FOOTER.CONTACT-SUPPORT' | translate}}

diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.ts b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.ts index 3916f8ef0..9ad69b674 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.ts +++ b/dmp-frontend/src/app/ui/sidebar/sidebar-footer/sidebar-footer.component.ts @@ -9,8 +9,9 @@ import { ContactEmailFormModel } from '../../../core/model/contact/contact-email import { ContactSupportService } from '../../../core/services/contact-support/contact-support.service'; import { SnackBarNotificationLevel, UiNotificationService } from '../../../core/services/notification/ui-notification-service'; import { ContactDialogComponent } from '../../../library/contact-dialog/contact-dialog.component'; -import { FaqDialogComponent } from './faq/faq-dialog.component'; -import { GlossaryDialogComponent } from './glossary/glossary-dialog.component'; +import { GlossaryDialogComponent } from '../../glossary/dialog/glossary-dialog.component'; +import { Router } from '@angular/router'; +import { FaqDialogComponent } from '../../faq/dialog/faq-dialog.component'; @Component({ selector: 'app-sidebar-footer', @@ -25,6 +26,7 @@ export class SidebarFooterComponent extends BaseComponent implements OnInit { constructor( private dialog: MatDialog, private language: TranslateService, + private router: Router, private contactSupportService: ContactSupportService, private uiNotificationService: UiNotificationService ) { @@ -67,6 +69,9 @@ export class SidebarFooterComponent extends BaseComponent implements OnInit { else { const dialogRef = this.dialog.open(GlossaryDialogComponent, { disableClose: true, + data: { + isDialog: true + } }); } } @@ -78,6 +83,9 @@ export class SidebarFooterComponent extends BaseComponent implements OnInit { else { const dialogRef = this.dialog.open(FaqDialogComponent, { disableClose: true, + data: { + isDialog: true + } }); } } diff --git a/dmp-frontend/src/app/ui/sidebar/sidebar.module.ts b/dmp-frontend/src/app/ui/sidebar/sidebar.module.ts index 06ed28055..6076b550a 100644 --- a/dmp-frontend/src/app/ui/sidebar/sidebar.module.ts +++ b/dmp-frontend/src/app/ui/sidebar/sidebar.module.ts @@ -2,29 +2,27 @@ import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { CommonFormsModule } from '../../common/forms/common-forms.module'; import { CommonUiModule } from '../../common/ui/common-ui.module'; -import { ContactDialogModule } from '../../library/contact-dialog/contact-dialog.module'; -import { FaqDialogComponent } from './sidebar-footer/faq/faq-dialog.component'; -import { GlossaryDialogComponent } from './sidebar-footer/glossary/glossary-dialog.component'; import { SidebarFooterComponent } from './sidebar-footer/sidebar-footer.component'; import { SidebarComponent } from './sidebar.component'; +import { GlossaryModule } from '../glossary/glossary.module'; +import { FaqModule } from '../faq/faq.module'; +import { ContactDialogModule } from '../../library/contact-dialog/contact-dialog.module'; @NgModule({ imports: [ CommonUiModule, CommonFormsModule, ContactDialogModule, - RouterModule + GlossaryModule, + FaqModule, + RouterModule, + // ContactModule ], declarations: [ SidebarComponent, - SidebarFooterComponent, - GlossaryDialogComponent, - FaqDialogComponent - ], - entryComponents: [ - GlossaryDialogComponent, - FaqDialogComponent + SidebarFooterComponent ], + entryComponents: [], exports: [SidebarComponent] }) export class SidebarModule { } diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 0979f65a8..66188ce15 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -957,10 +957,12 @@ }, "GLOSSARY": { "TITLE": "Glossary", + "TITLE-DASHED": "-Glossary-", "CLOSE": "Close" }, "FAQ": { "TITLE": "FAQ", + "TITLE-DASHED": "-FAQ-", "CLOSE": "Close" }, "PRIVACY-POLICY": { @@ -980,6 +982,7 @@ "CANCEL": "Cancel", "SEND": "Send" }, + "TITLE-DASHED": "-Contact Support-", "GUIDE": "Guide", "HELP": "Help", "GLOSSARY": "Glossary"