mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 03:25:43 +00:00
ui: node status: small code size reduction
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4b832488aa
commit
2f79184cc0
@ -113,7 +113,7 @@ Ext.define('PVE.node.StatusView', {
|
|||||||
{
|
{
|
||||||
iconCls: 'fa fa-fw fa-hdd-o',
|
iconCls: 'fa fa-fw fa-hdd-o',
|
||||||
itemId: 'rootfs',
|
itemId: 'rootfs',
|
||||||
title: gettext('HD space') + '(root)',
|
title: '/ ' + gettext('HD space'),
|
||||||
valueField: 'rootfs',
|
valueField: 'rootfs',
|
||||||
maxField: 'rootfs',
|
maxField: 'rootfs',
|
||||||
renderer: Proxmox.Utils.render_node_size_usage,
|
renderer: Proxmox.Utils.render_node_size_usage,
|
||||||
@ -162,10 +162,8 @@ Ext.define('PVE.node.StatusView', {
|
|||||||
colspan: 2,
|
colspan: 2,
|
||||||
printBar: false,
|
printBar: false,
|
||||||
title: gettext('Repository Status'),
|
title: gettext('Repository Status'),
|
||||||
// for bind
|
setValue: function(value) { // for binding below
|
||||||
setValue: function(value) {
|
this.updateValue(value);
|
||||||
let me = this;
|
|
||||||
me.updateValue(value);
|
|
||||||
},
|
},
|
||||||
bind: {
|
bind: {
|
||||||
value: '{repoStatusMessage}',
|
value: '{repoStatusMessage}',
|
||||||
|
Loading…
Reference in New Issue
Block a user