[pve-devel] [PATCH manager 1/3] make enabled column a checkcolumn in backupview

Dominik Csapak d.csapak at proxmox.com
Wed Apr 6 14:34:55 CEST 2016


it is nicer than 'true' and 'false',
also this was not translated before

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/dc/Backup.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 5b059b6..32abc89 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -408,7 +408,11 @@ Ext.define('PVE.dc.BackupView', {
 		    header: gettext('Enabled'),
 		    width: 50,
 		    dataIndex: 'enabled',
+		    xtype: 'checkcolumn',
 		    sortable: true,
+		    disabled: true,
+		    disabledCls: 'x-item-enabled',
+		    stopSelection: false,
 		},
 		{
 		    header: gettext('Node'),
-- 
2.1.4





More information about the pve-devel mailing list