mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-01 04:39:57 +00:00
task description: use 'Backup Job' if no id is set
We set the id for vzdump tasks only for single VM/CT backups, so if it's undefined we got a job for sure. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0545f1edb8
commit
41a786fc86
2
Utils.js
2
Utils.js
@ -614,7 +614,7 @@ Ext.define('Proxmox.Utils', { utilities: {
|
|||||||
imgdel: ['', gettext('Erase data') ],
|
imgdel: ['', gettext('Erase data') ],
|
||||||
unknownimgdel: ['', gettext('Destroy image from unknown guest') ],
|
unknownimgdel: ['', gettext('Destroy image from unknown guest') ],
|
||||||
download: ['', gettext('Download') ],
|
download: ['', gettext('Download') ],
|
||||||
vzdump: ['VM/CT', gettext('Backup') ],
|
vzdump: (type, id) => id ? `VM/CT ${id} - ${gettext('Backup')}` : gettext('Backup Job'),
|
||||||
aptupdate: ['', gettext('Update package database') ],
|
aptupdate: ['', gettext('Update package database') ],
|
||||||
startall: [ '', gettext('Start all VMs and Containers') ],
|
startall: [ '', gettext('Start all VMs and Containers') ],
|
||||||
stopall: [ '', gettext('Stop all VMs and Containers') ],
|
stopall: [ '', gettext('Stop all VMs and Containers') ],
|
||||||
|
Loading…
Reference in New Issue
Block a user