mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-28 08:53:09 +00:00
ui: pool backup: adapt labels a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ab64886987
commit
a82afef0b9
@ -32,7 +32,7 @@ Ext.define('PVE.dc.BackupEdit', {
|
|||||||
['include', gettext('Include selected VMs')],
|
['include', gettext('Include selected VMs')],
|
||||||
['all', gettext('All')],
|
['all', gettext('All')],
|
||||||
['exclude', gettext('Exclude selected VMs')],
|
['exclude', gettext('Exclude selected VMs')],
|
||||||
['pool', gettext('Pool')]
|
['pool', gettext('Pool based')]
|
||||||
],
|
],
|
||||||
fieldLabel: gettext('Selection mode'),
|
fieldLabel: gettext('Selection mode'),
|
||||||
name: 'selMode',
|
name: 'selMode',
|
||||||
@ -128,7 +128,7 @@ Ext.define('PVE.dc.BackupEdit', {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var selPool = Ext.create('PVE.form.PoolSelector', {
|
var selPool = Ext.create('PVE.form.PoolSelector', {
|
||||||
fieldLabel: gettext('Pool'),
|
fieldLabel: gettext('Pool to backup'),
|
||||||
hidden: true,
|
hidden: true,
|
||||||
allowBlank: true,
|
allowBlank: true,
|
||||||
name: 'pool',
|
name: 'pool',
|
||||||
@ -552,7 +552,7 @@ Ext.define('PVE.dc.BackupView', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (record.data.pool) {
|
if (record.data.pool) {
|
||||||
return record.data.pool;
|
return "Pool '"+ record.data.pool + "'";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "-";
|
return "-";
|
||||||
|
Loading…
Reference in New Issue
Block a user