diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/qml/upgrade.qml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/components/kube/qml/upgrade.qml b/components/kube/qml/upgrade.qml index 8548b54d..3ce1c63b 100644 --- a/components/kube/qml/upgrade.qml +++ b/components/kube/qml/upgrade.qml | |||
@@ -37,11 +37,18 @@ Controls2.ApplicationWindow { | |||
37 | } | 37 | } |
38 | spacing: 0 | 38 | spacing: 0 |
39 | Kube.Heading { | 39 | Kube.Heading { |
40 | text: qsTr("Please wait while Kube is upgrading...") | 40 | text: !upgradeComplete ? qsTr("Please wait while Kube is upgrading...") : qsTr("Kube has upgraded the storage layer.") |
41 | color: Kube.Colors.highlightColor | 41 | color: Kube.Colors.highlightColor |
42 | } | 42 | } |
43 | Kube.Label { | 43 | Kube.Label { |
44 | text: qsTr("This might take a while.") | 44 | text: !upgradeComplete ? qsTr("This might take a while.") : qsTr("Please exit and restart Kube.") |
45 | } | ||
46 | Kube.Button { | ||
47 | anchors.topMargin: Kube.Units.largeSpacing | ||
48 | text: qsTr("Exit") | ||
49 | onClicked: { | ||
50 | app.close() | ||
51 | } | ||
45 | } | 52 | } |
46 | } | 53 | } |
47 | } | 54 | } |