From 8e074c4ca08b574dce0089a7ab1bd6b2232f7eae Mon Sep 17 00:00:00 2001 From: apapachristou Date: Tue, 17 Nov 2020 13:16:06 +0200 Subject: [PATCH] Show more actions on cards of listings (max 4 actions) --- .../app/ui/dashboard/drafts/drafts.component.html | 5 ++++- .../recent-edited-activity.component.html | 14 ++++++++++---- .../recent-edited-dataset-activity.component.html | 5 ++++- .../recent-edited-dmp-activity.component.html | 7 +++++-- .../dataset-listing-item.component.html | 5 ++++- .../listing-item/dmp-listing-item.component.html | 7 +++++-- 6 files changed, 32 insertions(+), 11 deletions(-) diff --git a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html index cabe660dd..2778fb5bb 100644 --- a/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html +++ b/dmp-frontend/src/app/ui/dashboard/drafts/drafts.component.html @@ -47,7 +47,10 @@
open_in_new{{'DATASET-LISTING.ACTIONS.EXPORT' | translate}} group_add{{'DATASET-LISTING.ACTIONS.INVITE-SHORT' | translate}} - more_horiz + file_copy{{'DATASET-WIZARD.ACTIONS.COPY-DATASET' | translate}} + delete{{ 'DATASET-WIZARD.ACTIONS.DELETE' | translate }} + +
diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html index e6539d9ea..19dc7757f 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html @@ -61,7 +61,10 @@ add{{'DMP-LISTING.ACTIONS.ADD-DATASET-SHORT' | translate}} group_add{{'DMP-LISTING.ACTIONS.INVITE-SHORT' | translate}} filter_none{{'DMP-LISTING.ACTIONS.CLONE' | translate}} - more_horiz + library_books{{'DMP-LISTING.ACTIONS.VIEW-VERSION' | translate}} + + delete{{ 'DMP-LISTING.ACTIONS.DELETE' | translate }} + more_horiz @@ -89,7 +92,7 @@ - @@ -125,8 +128,11 @@ diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-dataset-activity/recent-edited-dataset-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-dataset-activity/recent-edited-dataset-activity.component.html index 7b939d657..978476ec9 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-dataset-activity/recent-edited-dataset-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-dataset-activity/recent-edited-dataset-activity.component.html @@ -50,7 +50,10 @@ diff --git a/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html b/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html index fbee89771..46680c012 100644 --- a/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html +++ b/dmp-frontend/src/app/ui/dashboard/recent-edited-dmp-activity/recent-edited-dmp-activity.component.html @@ -55,7 +55,10 @@ add{{'DMP-LISTING.ACTIONS.ADD-DATASET-SHORT' | translate}} group_add{{'DMP-LISTING.ACTIONS.INVITE-SHORT' | translate}} filter_none{{'DMP-LISTING.ACTIONS.CLONE' | translate}} - more_horiz + library_books{{'DMP-LISTING.ACTIONS.VIEW-VERSION' | translate}} + + delete{{ 'DMP-LISTING.ACTIONS.DELETE' | translate }} + more_horiz @@ -83,7 +86,7 @@ - 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 88a81e196..b5bea4415 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 @@ -27,7 +27,10 @@ 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 fc341a3ad..e83c9cb4d 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 @@ -32,7 +32,10 @@ add{{'DMP-LISTING.ACTIONS.ADD-DATASET-SHORT' | translate}} group_add{{'DMP-LISTING.ACTIONS.INVITE-SHORT' | translate}} filter_none{{'DMP-LISTING.ACTIONS.CLONE' | translate}} - more_horiz + library_books{{'DMP-LISTING.ACTIONS.VIEW-VERSION' | translate}} + + delete{{ 'DMP-LISTING.ACTIONS.DELETE' | translate }} + more_horiz @@ -60,7 +63,7 @@ -