emptyText:'<div style="display:table; width:100%; height:100%;"><div style="display:table-cell; vertical-align: middle; text-align:center;"><b>'+gettext('Your system is up to date.')+'</div></div>'
},
tbar:[update_btn,upgrade_btn],
features:[groupingFeature,rowBodyFeature],
columns:[
{
header:gettext('Package'),
...
...
@@ -49,10 +99,21 @@ Ext.define('PVE.node.APT', {
dataIndex:'Package'
},
{
header:gettext('Version'),
width:100,
sortable:false,
dataIndex:'Version'
text:gettext('Version'),
columns:[
{
header:gettext('current'),
width:100,
sortable:false,
dataIndex:'OldVersion'
},
{
header:gettext('new'),
width:100,
sortable:false,
dataIndex:'Version'
}
]
},
{
header:gettext('Description'),
...
...
@@ -62,13 +123,7 @@ Ext.define('PVE.node.APT', {
}
],
listeners:{
show:function(){
// only load once (because this takes several seconds)