mirror of https://github.com/apache/cloudstack.git
UI: Change notification title when resizing volume (#6502)
* fixes resize volume message * Update ui/public/locales/en.json Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> * Update ui/src/views/storage/ResizeVolume.vue Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
This commit is contained in:
parent
dd3bd21fab
commit
739be5d002
|
|
@ -3348,6 +3348,7 @@
|
|||
"message.reset.vpn.connection": "Please confirm that you want to reset VPN connection.",
|
||||
"message.linstor.resourcegroup.description": "Linstor resource group to use for primary storage.",
|
||||
"message.resize.volume.failed": "Failed to resize volume.",
|
||||
"message.resize.volume.processing": "Volume resize is in progress",
|
||||
"message.resource.not.found": "Resource not found.",
|
||||
"message.restart.mgmt.server": "Please restart your management server(s) for your new settings to take effect.",
|
||||
"message.restart.mgmt.usage.server": "Please restart your management server(s) and usage server(s) for your new settings to take effect.",
|
||||
|
|
|
|||
|
|
@ -72,7 +72,8 @@ export default {
|
|||
return {
|
||||
offerings: [],
|
||||
customDiskOffering: false,
|
||||
loading: false
|
||||
loading: false,
|
||||
customDiskOfferingIops: false
|
||||
}
|
||||
},
|
||||
created () {
|
||||
|
|
@ -98,6 +99,7 @@ export default {
|
|||
this.offerings = json.listdiskofferingsresponse.diskoffering || []
|
||||
this.form.diskofferingid = this.offerings[0].id || ''
|
||||
this.customDiskOffering = this.offerings[0].iscustomized || false
|
||||
this.customDiskOfferingIops = this.offerings[0].iscustomizediops || false
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
})
|
||||
|
|
@ -112,7 +114,7 @@ export default {
|
|||
api('resizeVolume', values).then(response => {
|
||||
this.$pollJob({
|
||||
jobId: response.resizevolumeresponse.jobid,
|
||||
title: this.$t('message.success.resize.volume'),
|
||||
title: this.$t('label.action.resize.volume'),
|
||||
description: values.name,
|
||||
successMessage: this.$t('message.success.resize.volume'),
|
||||
successMethod: () => {},
|
||||
|
|
@ -120,7 +122,7 @@ export default {
|
|||
errorMethod: () => {
|
||||
this.closeModal()
|
||||
},
|
||||
loadingMessage: `Volume resize is in progress`,
|
||||
loadingMessage: this.$t('message.resize.volume.processing'),
|
||||
catchMessage: this.$t('error.fetching.async.job.result'),
|
||||
catchMethod: () => {
|
||||
this.loading = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue