From 8bb591245a5457b4fbe4865412997e8667d8a5c8 Mon Sep 17 00:00:00 2001 From: Diamadis Tziotzios Date: Tue, 19 Dec 2017 12:33:47 +0200 Subject: [PATCH] no message --- dmp-frontend/src/app/dmps/dmp-listing.component.ts | 2 +- dmp-frontend/src/app/dmps/editor/dmp-editor.component.html | 4 ++-- dmp-frontend/src/app/dmps/editor/dmp-editor.component.scss | 2 +- .../data-management-plan/data-management-plan.service.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dmp-frontend/src/app/dmps/dmp-listing.component.ts b/dmp-frontend/src/app/dmps/dmp-listing.component.ts index 7cc3030b0..0ad6ead17 100644 --- a/dmp-frontend/src/app/dmps/dmp-listing.component.ts +++ b/dmp-frontend/src/app/dmps/dmp-listing.component.ts @@ -48,7 +48,7 @@ export class DataManagementPlanListingComponent implements OnInit { } rowClick(rowId: String) { - this.router.navigate(['/forms/' + rowId]); + this.router.navigate(['/dmp/' + rowId]); } getDefaultCriteria(): DataManagementPlanCriteria { diff --git a/dmp-frontend/src/app/dmps/editor/dmp-editor.component.html b/dmp-frontend/src/app/dmps/editor/dmp-editor.component.html index 7b94fcc67..8d767bfc7 100644 --- a/dmp-frontend/src/app/dmps/editor/dmp-editor.component.html +++ b/dmp-frontend/src/app/dmps/editor/dmp-editor.component.html @@ -1,8 +1,8 @@ -
+
{{'DMP-EDITOR.TITLE.NEW' | translate}} - {{'DMP-EDITOR.TITLE.EDIT' | translate}} {{project.label}} + {{'DMP-EDITOR.TITLE.EDIT' | translate}} {{dataManagementPlan.label}} diff --git a/dmp-frontend/src/app/dmps/editor/dmp-editor.component.scss b/dmp-frontend/src/app/dmps/editor/dmp-editor.component.scss index 31e8a8de3..4921ca203 100644 --- a/dmp-frontend/src/app/dmps/editor/dmp-editor.component.scss +++ b/dmp-frontend/src/app/dmps/editor/dmp-editor.component.scss @@ -10,7 +10,7 @@ background: rgba(0, 0, 0, 0.32); } -.project-editor { +.data-management-plan-editor { mat-form-field { width: 100%; padding: 3px; diff --git a/dmp-frontend/src/app/services/data-management-plan/data-management-plan.service.ts b/dmp-frontend/src/app/services/data-management-plan/data-management-plan.service.ts index ae411f7ef..78709affe 100644 --- a/dmp-frontend/src/app/services/data-management-plan/data-management-plan.service.ts +++ b/dmp-frontend/src/app/services/data-management-plan/data-management-plan.service.ts @@ -31,7 +31,7 @@ export class DataManagementPlanService { } getSingle(id: string): Observable { - return this.http.get(this.actionUrl + 'getSingle' + id, { headers: this.headers }); + return this.http.get(this.actionUrl + 'getSingle/' + id, { headers: this.headers }); } createDataManagementPlan(dataManagementPlanModel: DataManagementPlanModel): Observable { @@ -39,6 +39,6 @@ export class DataManagementPlanService { } inactivate(id: String): Observable { - return this.http.delete(this.actionUrl + 'inactivate' + id, { headers: this.headers }); + return this.http.delete(this.actionUrl + 'inactivate/' + id, { headers: this.headers }); } }