From 4ee4cd77ed57bb8037f9e43661206e8d370faddf Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Thu, 16 Jan 2025 11:07:29 +0100 Subject: [PATCH] feat: Allow to save a Site as Template - MEED-8092 - Meeds-io/MIPs#173 (#292) --- .../content/common/ApplicationCard.vue | 2 +- .../portlets/drawer/InstancesDrawer.vue | 2 +- .../components/SiteManagement.vue | 1 + .../site-management/components/main/Item.vue | 5 +++- .../site-management/components/main/Menu.vue | 24 ++++++++++++++++--- .../site-template/components/main/Item.vue | 5 +++- 6 files changed, 32 insertions(+), 7 deletions(-) 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 122053d96..4273d0393 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 @@ -53,7 +53,7 @@ v-if="description" v-sanitized-html="description" :title="$utils.htmlToText(description)" - class="flex-grow-0 flex-shrink-0 subtitle-2 text-truncate-2 pt-0 text-sub-title"> + class="flex-grow-0 flex-shrink-0 text-truncate-2 pt-0 text-subtitle">
- + diff --git a/layout-webapp/src/main/webapp/vue-app/site-management/components/main/Item.vue b/layout-webapp/src/main/webapp/vue-app/site-management/components/main/Item.vue index 6f95143ca..356c7622b 100644 --- a/layout-webapp/src/main/webapp/vue-app/site-management/components/main/Item.vue +++ b/layout-webapp/src/main/webapp/vue-app/site-management/components/main/Item.vue @@ -23,7 +23,10 @@ - +
{{ $t('siteManagement.label.manageAccess') }} + + + + fa-columns + + + + {{ $t('sites.saveAsSiteTemplate') }} + + \ No newline at end of file diff --git a/layout-webapp/src/main/webapp/vue-app/site-template/components/main/Item.vue b/layout-webapp/src/main/webapp/vue-app/site-template/components/main/Item.vue index 449c590fe..877ded174 100644 --- a/layout-webapp/src/main/webapp/vue-app/site-template/components/main/Item.vue +++ b/layout-webapp/src/main/webapp/vue-app/site-template/components/main/Item.vue @@ -23,7 +23,10 @@ - +