add the save path column to the grid
This commit is contained in:
parent
342001c642
commit
c3290b4ac2
|
@ -48,7 +48,7 @@ Deluge.Keys = {
|
||||||
'queue', 'name', 'total_size', 'state', 'progress', 'num_seeds',
|
'queue', 'name', 'total_size', 'state', 'progress', 'num_seeds',
|
||||||
'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
|
'total_seeds', 'num_peers', 'total_peers', 'download_payload_rate',
|
||||||
'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
|
'upload_payload_rate', 'eta', 'ratio', 'distributed_copies',
|
||||||
'is_auto_managed', 'time_added', 'tracker_host'
|
'is_auto_managed', 'time_added', 'tracker_host', 'save_path'
|
||||||
],
|
],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -113,7 +113,8 @@
|
||||||
{name: 'ratio', type: 'float'},
|
{name: 'ratio', type: 'float'},
|
||||||
{name: 'distributed_copies', type: 'float'},
|
{name: 'distributed_copies', type: 'float'},
|
||||||
{name: 'time_added', type: 'int'},
|
{name: 'time_added', type: 'int'},
|
||||||
{name: 'tracker_host'}
|
{name: 'tracker_host'},
|
||||||
|
{name: 'save_path'}
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
columns: [{
|
columns: [{
|
||||||
|
@ -196,6 +197,12 @@
|
||||||
sortable: true,
|
sortable: true,
|
||||||
renderer: trackerRenderer,
|
renderer: trackerRenderer,
|
||||||
dataIndex: 'tracker_host'
|
dataIndex: 'tracker_host'
|
||||||
|
}, {
|
||||||
|
header: _('Save Path'),
|
||||||
|
width: 120,
|
||||||
|
sortable: true,
|
||||||
|
renderer: fplain,
|
||||||
|
dataIndex: 'save_path'
|
||||||
}],
|
}],
|
||||||
region: 'center',
|
region: 'center',
|
||||||
cls: 'deluge-torrents',
|
cls: 'deluge-torrents',
|
||||||
|
|
Loading…
Reference in New Issue