From 20c7d33eb9f60b1903702cf8b4754bb922ebb822 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Mon, 3 Jun 2024 17:36:51 +0100 Subject: [PATCH] feat: Rework Category and App Cards - MEED-6990 - Meeds-io/MIPs#139 (#99) --- .../locale/portlet/LayoutEditor_ar.properties | 2 +- .../portlet/LayoutEditor_aro.properties | 2 +- .../locale/portlet/LayoutEditor_az.properties | 2 +- .../locale/portlet/LayoutEditor_ca.properties | 2 +- .../portlet/LayoutEditor_ceb.properties | 2 +- .../locale/portlet/LayoutEditor_co.properties | 2 +- .../locale/portlet/LayoutEditor_cs.properties | 2 +- .../locale/portlet/LayoutEditor_de.properties | 2 +- .../locale/portlet/LayoutEditor_el.properties | 2 +- .../portlet/LayoutEditor_es_ES.properties | 2 +- .../locale/portlet/LayoutEditor_eu.properties | 2 +- .../locale/portlet/LayoutEditor_fa.properties | 2 +- .../locale/portlet/LayoutEditor_fi.properties | 2 +- .../portlet/LayoutEditor_fil.properties | 2 +- .../locale/portlet/LayoutEditor_fr.properties | 2 +- .../locale/portlet/LayoutEditor_hi.properties | 2 +- .../locale/portlet/LayoutEditor_hu.properties | 2 +- .../locale/portlet/LayoutEditor_id.properties | 2 +- .../locale/portlet/LayoutEditor_it.properties | 2 +- .../locale/portlet/LayoutEditor_ja.properties | 2 +- .../locale/portlet/LayoutEditor_ko.properties | 2 +- .../locale/portlet/LayoutEditor_lt.properties | 2 +- .../locale/portlet/LayoutEditor_ms.properties | 2 +- .../locale/portlet/LayoutEditor_nl.properties | 2 +- .../locale/portlet/LayoutEditor_no.properties | 2 +- .../portlet/LayoutEditor_pcm.properties | 2 +- .../locale/portlet/LayoutEditor_pl.properties | 2 +- .../portlet/LayoutEditor_pt_BR.properties | 2 +- .../portlet/LayoutEditor_pt_PT.properties | 2 +- .../locale/portlet/LayoutEditor_ro.properties | 2 +- .../locale/portlet/LayoutEditor_ru.properties | 2 +- .../locale/portlet/LayoutEditor_sk.properties | 2 +- .../locale/portlet/LayoutEditor_sl.properties | 2 +- .../portlet/LayoutEditor_sv_SE.properties | 2 +- .../locale/portlet/LayoutEditor_th.properties | 2 +- .../locale/portlet/LayoutEditor_tl.properties | 2 +- .../locale/portlet/LayoutEditor_tr.properties | 2 +- .../locale/portlet/LayoutEditor_uk.properties | 2 +- .../portlet/LayoutEditor_ur_IN.properties | 2 +- .../locale/portlet/LayoutEditor_vi.properties | 2 +- .../portlet/LayoutEditor_zh_CN.properties | 2 +- .../portlet/LayoutEditor_zh_TW.properties | 2 +- .../components/content/Content.vue | 5 +- .../content/common/ApplicationCard.vue | 46 +++++++------------ .../common/ApplicationCategoryCard.vue | 31 +++++++------ .../drawer/AddApplicationDrawer.vue | 2 +- .../SelectApplicationCategoryDrawer.vue | 4 +- 47 files changed, 81 insertions(+), 91 deletions(-) diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ar.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ar.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ar.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ar.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_aro.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_aro.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_aro.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_aro.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_az.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_az.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_az.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_az.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ca.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ca.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ca.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ca.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ceb.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ceb.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ceb.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ceb.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_co.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_co.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_co.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_co.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_cs.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_cs.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_cs.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_cs.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_de.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_de.properties index 98dd3fa1a..d5c8a31a0 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_de.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_de.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Container entfernen layout.addApplication=Anwendung hinzuf\u00fcgen layout.moveCell=Zelle verschieben layout.resizeCell=Zelle skalieren -layout.addApplicationFromCategoryTitle=Applikation hinzuf\u00fcgen + layout.editApplication=App bearbeiten layout.deleteApplication=App l\u00f6schen layout.editApplicationTitle=Bearbeiten: {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_el.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_el.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_el.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_el.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_es_ES.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_es_ES.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_es_ES.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_es_ES.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_eu.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_eu.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_eu.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_eu.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fa.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fa.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fa.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fa.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fi.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fi.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fi.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fi.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fil.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fil.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fil.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fil.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fr.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fr.properties index ddf5a66bf..31c1ac178 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fr.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_fr.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Supprimer le conteneur layout.addApplication=Ajouter une application layout.moveCell=D\u00e9placer la cellule layout.resizeCell=Redimensionner la cellule -layout.addApplicationFromCategoryTitle=Ajouter une application + layout.editApplication=Modifier layout.deleteApplication=Supprimer layout.editApplicationTitle=Modifier {0} ({1}) diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hi.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hi.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hi.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hi.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hu.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hu.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hu.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_hu.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_id.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_id.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_id.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_id.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_it.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_it.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_it.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_it.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ja.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ja.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ja.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ja.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ko.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ko.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ko.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ko.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_lt.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_lt.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_lt.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_lt.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ms.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ms.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ms.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ms.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_nl.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_nl.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_nl.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_nl.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_no.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_no.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_no.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_no.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pcm.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pcm.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pcm.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pcm.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pl.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pl.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pl.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pl.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_BR.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_BR.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_BR.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_BR.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_PT.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_PT.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_PT.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_pt_PT.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ro.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ro.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ro.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ro.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ru.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ru.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ru.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ru.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sk.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sk.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sk.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sk.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sl.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sl.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sl.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sl.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sv_SE.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sv_SE.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sv_SE.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_sv_SE.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_th.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_th.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_th.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_th.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tl.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tl.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tl.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tl.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tr.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tr.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tr.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_tr.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_uk.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_uk.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_uk.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_uk.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ur_IN.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ur_IN.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ur_IN.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_ur_IN.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_vi.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_vi.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_vi.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_vi.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_CN.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_CN.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_CN.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_CN.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_TW.properties b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_TW.properties index 971fc816f..7181976ff 100644 --- a/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_TW.properties +++ b/layout-webapp/src/main/resources/locale/portlet/LayoutEditor_zh_TW.properties @@ -20,7 +20,7 @@ layout.deleteContainer=Delete container layout.addApplication=Add Application layout.moveCell=Move cell layout.resizeCell=Resize cell -layout.addApplicationFromCategoryTitle=Add an application + layout.editApplication=Edit application layout.deleteApplication=Delete application layout.editApplicationTitle=Edit {0} {1} diff --git a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/Content.vue b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/Content.vue index 810533fe1..bf00906b5 100644 --- a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/Content.vue +++ b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/Content.vue @@ -200,9 +200,6 @@ export default { this.$refs.sectionEditDrawer.open(parentContainer.children[index], index, parentContainer.children.length); } }, - openApplicationDrawer(applications) { - this.$refs.applicationDrawer.open(applications); - }, openApplicationCategoryDrawer(sectionId, container) { this.$root.selectedSectionId = sectionId; this.$root.selectedCells = [container]; @@ -222,7 +219,7 @@ export default { this.$layoutUtils.isBetween(c.colIndex, selection.fromColIndex, selection.toColIndex) && this.$layoutUtils.isBetween(c.rowIndex, selection.fromRowIndex, selection.toRowIndex) ) || []; - this.$refs.applicationDrawer.open(); + this.$refs.applicationCategoryDrawer.open(); } else { console.warn(`Can't find section with id ${this.$root.selectedSectionId}`); // eslint-disable-line no-console } diff --git a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/common/ApplicationCard.vue b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/common/ApplicationCard.vue index 16cb609d9..7c043acd4 100644 --- a/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/common/ApplicationCard.vue +++ b/layout-webapp/src/main/webapp/vue-app/layout-editor/components/content/common/ApplicationCard.vue @@ -22,37 +22,25 @@ - - -
- - fa-plus - {{ $t('layout.add') }} - - - fa-search - {{ $t('layout.preview') }} - -
-
-
+ v-on="illustrationId && { + click: () => preview() + }" + @click="preview"> + + fa-plus +
-
+
{{ name }}