From ebffc340d98051b7af559b2931b46c17387464ba Mon Sep 17 00:00:00 2001 From: James Player Date: Thu, 23 Jan 2025 16:47:52 +1300 Subject: [PATCH] fix(k8s): Changed 'Deploy from file' button text to 'Deploy from code' (#338) --- app/kubernetes/views/deploy/deploy.html | 2 +- .../ListView/ApplicationsDatatable/HelmInsightsBox.tsx | 2 +- app/react/kubernetes/components/CreateFromManifestButton.tsx | 2 +- .../HelmRepositoryDatatable/HelmRepositoryDatatable.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/kubernetes/views/deploy/deploy.html b/app/kubernetes/views/deploy/deploy.html index 7500f5ee4..35701b76c 100644 --- a/app/kubernetes/views/deploy/deploy.html +++ b/app/kubernetes/views/deploy/deploy.html @@ -1,4 +1,4 @@ - + diff --git a/app/react/kubernetes/applications/ListView/ApplicationsDatatable/HelmInsightsBox.tsx b/app/react/kubernetes/applications/ListView/ApplicationsDatatable/HelmInsightsBox.tsx index 532887520..46a3b0558 100644 --- a/app/react/kubernetes/applications/ListView/ApplicationsDatatable/HelmInsightsBox.tsx +++ b/app/react/kubernetes/applications/ListView/ApplicationsDatatable/HelmInsightsBox.tsx @@ -7,7 +7,7 @@ export function HelmInsightsBox() { content={ From 2.20 and on, the Helm menu sidebar option has moved to the{' '} - Create from file screen - accessed via the button + Create from code screen - accessed via the button above. } diff --git a/app/react/kubernetes/components/CreateFromManifestButton.tsx b/app/react/kubernetes/components/CreateFromManifestButton.tsx index de18918d3..13d9c7183 100644 --- a/app/react/kubernetes/components/CreateFromManifestButton.tsx +++ b/app/react/kubernetes/components/CreateFromManifestButton.tsx @@ -18,7 +18,7 @@ export function CreateFromManifestButton({ }} data-cy={dataCy} > - Create from file + Create from code ); } diff --git a/app/react/portainer/account/AccountView/HelmRepositoryDatatable/HelmRepositoryDatatable.tsx b/app/react/portainer/account/AccountView/HelmRepositoryDatatable/HelmRepositoryDatatable.tsx index d57966403..727c4f034 100644 --- a/app/react/portainer/account/AccountView/HelmRepositoryDatatable/HelmRepositoryDatatable.tsx +++ b/app/react/portainer/account/AccountView/HelmRepositoryDatatable/HelmRepositoryDatatable.tsx @@ -94,7 +94,7 @@ function HelmDatatableDescription({ isAdmin }: { isAdmin: boolean }) { ) : ( globally-set Helm repo )} - ) and shown in the Create from file screen's Helm charts list. + ) and shown in the Create from code screen's Helm charts list. ); }