ui: traffic-control edit: send rates as stringified, auto-scaled size-unit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
ff344655e2
commit
f2c9da2349
@ -242,13 +242,17 @@ Ext.define('PBS.window.TrafficControlEdit', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pmxBandwidthField',
|
xtype: 'pmxBandwidthField',
|
||||||
fieldLabel: gettext('Rate In'),
|
|
||||||
name: 'rate-in',
|
name: 'rate-in',
|
||||||
|
fieldLabel: gettext('Rate In'),
|
||||||
|
emptyText: gettext('Unlimited'),
|
||||||
|
submitAutoScaledSizeUnit: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pmxBandwidthField',
|
xtype: 'pmxBandwidthField',
|
||||||
fieldLabel: gettext('Rate Out'),
|
|
||||||
name: 'rate-out',
|
name: 'rate-out',
|
||||||
|
fieldLabel: gettext('Rate Out'),
|
||||||
|
emptyText: gettext('Unlimited'),
|
||||||
|
submitAutoScaledSizeUnit: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -263,13 +267,17 @@ Ext.define('PBS.window.TrafficControlEdit', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pmxBandwidthField',
|
xtype: 'pmxBandwidthField',
|
||||||
fieldLabel: gettext('Burst In'),
|
|
||||||
name: 'burst-in',
|
name: 'burst-in',
|
||||||
|
fieldLabel: gettext('Burst In'),
|
||||||
|
emptyText: gettext('Same as Rate'),
|
||||||
|
submitAutoScaledSizeUnit: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pmxBandwidthField',
|
xtype: 'pmxBandwidthField',
|
||||||
fieldLabel: gettext('Burst Out'),
|
|
||||||
name: 'burst-out',
|
name: 'burst-out',
|
||||||
|
fieldLabel: gettext('Burst Out'),
|
||||||
|
emptyText: gettext('Same as Rate'),
|
||||||
|
submitAutoScaledSizeUnit: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user