From aa42d7188094c92fbc1f7d2f9791fd4db1ad1fa2 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Mon, 27 Nov 2023 14:45:52 +0000 Subject: [PATCH] tweak blurb --- dashboard/pkg/epinio/l10n/en-us.yaml | 4 +++- dashboard/pkg/epinio/pages/c/_cluster/dashboard.vue | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dashboard/pkg/epinio/l10n/en-us.yaml b/dashboard/pkg/epinio/l10n/en-us.yaml index 562321c..c79975d 100644 --- a/dashboard/pkg/epinio/l10n/en-us.yaml +++ b/dashboard/pkg/epinio/l10n/en-us.yaml @@ -66,7 +66,9 @@ epinio: intro: dashboard: Dashboard welcome: Welcome to {epinio} - blurb: The Application Development Engine for Kubernetes #TODO: RC + blurb: + standalone: The Application Development Engine for Kubernetes + embedded: The Development Engine for Kubernetes description: "{epinio} takes your application from source code to deployment and enables Developers and Operators to work better together" learnMoreLink: https://epinio.io/ learnMore: Learn more diff --git a/dashboard/pkg/epinio/pages/c/_cluster/dashboard.vue b/dashboard/pkg/epinio/pages/c/_cluster/dashboard.vue index be8fa2b..e2543b3 100644 --- a/dashboard/pkg/epinio/pages/c/_cluster/dashboard.vue +++ b/dashboard/pkg/epinio/pages/c/_cluster/dashboard.vue @@ -14,6 +14,7 @@ import Banner from '@components/Banner/Banner.vue'; import { METRIC } from '@shell/config/types'; import { allHash } from '@shell/utils/promise'; import ProductName from '../../../mixins/product-name'; +import { isStandalone } from '../../../utils/utils'; type ComponentService = { name: string, @@ -82,7 +83,8 @@ export default Vue.extend({ aboutLink: !this.$store.getters['isSingleProduct'] ? createEpinioRoute('c-cluster-about', { cluster: this.$store.getters['clusterId'] }) : null, availableCpu: 100, availableMemory: 100, - showMetricsInfo: false + showMetricsInfo: false, + isStandalone: isStandalone(), }; }, @@ -228,7 +230,7 @@ export default Vue.extend({

- {{ t('epinio.intro.blurb') }} + {{ isStandalone ? t('epinio.intro.blurb.standalone') : t('epinio.intro.blurb.embedded') }}