From 844ac467f66d63f22b319a8a4a04cb4edc52e882 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Thu, 18 Jul 2019 12:50:51 +0300 Subject: [PATCH] Adds tool tips in every listing View and changes position of the existing ones. --- .../dataset-listing-item.component.html | 12 +++++----- .../dmp-listing-item.component.html | 14 +++++------- .../dmp/overview/dmp-overview.component.html | 10 ++++----- ...xplore-dataset-listing-item.component.html | 10 ++++----- .../explore-dmp-listing-item.component.html | 6 ++--- .../explore-dmp-listing-item.component.scss | 5 +++++ dmp-frontend/src/assets/i18n/en.json | 22 ++++++++++++++++--- 7 files changed, 47 insertions(+), 32 deletions(-) diff --git a/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html b/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html index 769a7d985..09e3da5ba 100644 --- a/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html +++ b/dmp-frontend/src/app/ui/dataset/listing/listing-item/dataset-listing-item.component.html @@ -11,12 +11,10 @@
- + bookmark - + bookmark

@@ -33,18 +31,18 @@
- + assignment
diff --git a/dmp-frontend/src/app/ui/dmp/listing/listing-item/dmp-listing-item.component.html b/dmp-frontend/src/app/ui/dmp/listing/listing-item/dmp-listing-item.component.html index f87b9e213..4f8155e6e 100644 --- a/dmp-frontend/src/app/ui/dmp/listing/listing-item/dmp-listing-item.component.html +++ b/dmp-frontend/src/app/ui/dmp/listing/listing-item/dmp-listing-item.component.html @@ -28,14 +28,13 @@
- + lock - + lock - + radio_button_checked

@@ -50,21 +49,20 @@

- + settings

{{roleDisplay(dmp.users).toUpperCase()}}

- + storage

{{dmp.datasets.length}}

- assignment + assignment
{{profile.label}}
diff --git a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html index 72675e34e..b4d205185 100644 --- a/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html +++ b/dmp-frontend/src/app/ui/dmp/overview/dmp-overview.component.html @@ -14,7 +14,7 @@ more_horiz -
- storage + storage

{{ dataset.dmp }}

- work_outline + work_outline

{{ dataset.project }}

- assignment + assignment
{{ dataset.profile }}
diff --git a/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.html b/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.html index 42642e966..f2b46debe 100644 --- a/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.html +++ b/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.html @@ -7,7 +7,7 @@
- lock + radio_button_checked

{{dmp.label}}

@@ -21,10 +21,10 @@ - storage + storage

{{dmp.datasets.length}}

- assignment + assignment
{{profile.label}}
diff --git a/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.scss b/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.scss index 6b85ca964..b7f62992f 100644 --- a/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.scss +++ b/dmp-frontend/src/app/ui/explore-dmp/listing-item/explore-dmp-listing-item.component.scss @@ -45,6 +45,11 @@ color: #aaaaaa; } +.published-icon { + padding-top: 1px; + color: #92d050; +} + // .explore-dmp-listing-item { // margin-top: 2em; // margin-bottom: 2em; diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 471da681d..af33868e7 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -315,7 +315,12 @@ "TITLE": "Published Dataset Managment Plans", "OWNER": "Owner", "MEMBER": "Member", - "VIEW-ONLY": "View Only" + "VIEW-ONLY": "View Only", + "TOOLTIP": { + "PUBLISHED": "Public access - Closed DMP", + "INVOLVED-DATASETS": "Involved Dataset Descriptions", + "TEMPLATES-INVOLVED": "Dataset Templates Involved" + } }, "DMP-UPLOAD": { "TITLE": "Import Data Managment Plan", @@ -379,7 +384,12 @@ } }, "DMP-OVERVIEW": { - "RESEARCHERS": "Researchers" + "RESEARCHERS": "Researchers", + "TOOLTIP": { + "LEVEL-OF-ACCESS": "Level of Access", + "INVOLVED-DATASETS": "Involved Dataset Descriptions", + "TEMPLATES-INVOLVED": "Dataset Templates Involved" + } }, "DATASET-LISTING": { "TITLE": "Dataset Descriptions", @@ -419,7 +429,13 @@ } }, "DATASET-PUBLIC-LISTING": { - "TITLE": "Published Dataset Descriptions" + "TITLE": "Published Dataset Descriptions", + "TOOLTIP": { + "FINALIZED": "Private access - Closed Dataset Description", + "DMP": "DMP", + "PROJECT": "Project", + "TEMPLATES-INVOLVED": "Dataset Template" + } }, "DATASET-PROFILE-LISTING": { "TITLE": "Dataset Templates",