From e32cfba6ab05f46f795b23e6ed89dd82b12334e6 Mon Sep 17 00:00:00 2001 From: George Kalampokis Date: Tue, 18 Feb 2020 13:01:56 +0200 Subject: [PATCH] Improved DMP editor (expert) lock message styling and added message if the user is not allowed to edit the DMP in the first place --- .../ui/dmp/editor/dmp-editor.component.html | 30 +++++++++++-------- .../ui/dmp/editor/dmp-editor.component.scss | 5 ++++ dmp-frontend/src/assets/i18n/en.json | 3 +- 3 files changed, 24 insertions(+), 14 deletions(-) diff --git a/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html b/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html index 55edf8746..52b24dbb7 100644 --- a/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html +++ b/dmp-frontend/src/app/ui/dmp/editor/dmp-editor.component.html @@ -95,28 +95,32 @@ --> - - info_outlined -
{{'DMP-EDITOR.ACTIONS.LOCK' | translate}}
-
-
+
+ info_outlined +
{{'DMP-EDITOR.ACTIONS.LOCK' | translate}}
+
{{'DMP-EDITOR.ACTIONS.PERMISSION' | translate}}
+
+ +
+
+ +
+
+
-
- -
+
-