From 45e7deedb7eeb7c08517eedc0f9a5b35396e15b3 Mon Sep 17 00:00:00 2001 From: gkolokythas Date: Thu, 9 Jan 2020 15:45:37 +0200 Subject: [PATCH] Adds version indicator on DMP listing items. --- .../dmp/listing/listing-item/dmp-listing-item.component.html | 5 ++++- .../listing-item/explore-dmp-listing-item.component.html | 3 +++ dmp-frontend/src/assets/i18n/en.json | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) 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 eef507cea..bb2d6c8eb 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 @@ -49,9 +49,12 @@
-
+

{{dmp.description}}

+
+

{{'DMP-LISTING.COLUMNS.VERSION' | translate}} : {{dmp.version}}

+
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 1668731ed..b036ef35c 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 @@ -22,6 +22,9 @@

{{dmp.description}}

+
+

{{'DMP-LISTING.COLUMNS.VERSION' | translate}} : {{dmp.version}}

+
diff --git a/dmp-frontend/src/assets/i18n/en.json b/dmp-frontend/src/assets/i18n/en.json index 077b38c1b..121132dd9 100644 --- a/dmp-frontend/src/assets/i18n/en.json +++ b/dmp-frontend/src/assets/i18n/en.json @@ -377,7 +377,8 @@ "ACTIONS": "Actions", "DATASETS": "Dataset Descriptions", "STATUS": "Status", - "PEOPLE": "People" + "PEOPLE": "People", + "VERSION": "Version" }, "ACTIONS": { "NEW": "New DMP",