Skip to content

Commit 6e9252b

Browse files
committed
fix(installation): add message for app installation on selected node
1 parent 1061e66 commit 6e9252b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

core/ui/public/i18n/en/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,7 @@
10121012
"source_package": "Application image",
10131013
"app_installation": "Install {app}",
10141014
"choose_node_for_installation": "Select installation node for {app} {version}",
1015+
"install_app_on_selected_node": "{app} {version} will be installed on the selected node",
10151016
"select_node_volume_for_installation": "Select the volume on {node} to store application data",
10161017
"installing_on_node": "Installing on {node}",
10171018
"instance_installed_on_node": "{module_id} installed on {node}",

core/ui/src/components/software-center/InstallAppModal.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,22 @@
4343
:showCloseButton="false"
4444
/>
4545
<!-- node selection -->
46-
<div>
46+
<div v-if="clusterNodesCount > 1">
4747
{{
4848
$t("software_center.choose_node_for_installation", {
4949
app: app.name,
5050
version: appVersion,
5151
})
5252
}}
5353
</div>
54+
<div v-else>
55+
{{
56+
$t("software_center.install_app_on_selected_node", {
57+
app: app.name,
58+
version: appVersion,
59+
})
60+
}}
61+
</div>
5462
<NsInlineNotification
5563
v-if="error.getClusterStatus"
5664
kind="error"

0 commit comments

Comments
 (0)