mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
details: complete the status tab
Fix the remaining data items so they display correctly and tweak the spacing to make the view a little more pleasant on the eye
This commit is contained in:
parent
4a43d6a635
commit
a91037843b
1 changed files with 5 additions and 3 deletions
|
@ -73,7 +73,8 @@ Ext.define('Deluge.details.StatusTab', {
|
||||||
items: [{
|
items: [{
|
||||||
defaults: {
|
defaults: {
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
width: 300
|
width: 300,
|
||||||
|
margins: '2 0 2 0'
|
||||||
},
|
},
|
||||||
items: [{
|
items: [{
|
||||||
label: _('Downloaded'),
|
label: _('Downloaded'),
|
||||||
|
@ -89,7 +90,7 @@ Ext.define('Deluge.details.StatusTab', {
|
||||||
dataIndex: 'announce'
|
dataIndex: 'announce'
|
||||||
}, {
|
}, {
|
||||||
label: _('Tracker Status'),
|
label: _('Tracker Status'),
|
||||||
dataIndex: 'tracker'
|
dataIndex: 'tracker_status'
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
defaults: {
|
defaults: {
|
||||||
|
@ -146,7 +147,7 @@ Ext.define('Deluge.details.StatusTab', {
|
||||||
dataIndex: 'seed_rank'
|
dataIndex: 'seed_rank'
|
||||||
}, {
|
}, {
|
||||||
label: _('Date Added'),
|
label: _('Date Added'),
|
||||||
dataIndex: 'time_rank'
|
dataIndex: 'time_added'
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
@ -180,6 +181,7 @@ Ext.define('Deluge.details.StatusTab', {
|
||||||
uploaded: fsize(torrent.total_uploaded, true),
|
uploaded: fsize(torrent.total_uploaded, true),
|
||||||
share: (torrent.ratio == -1) ? '∞' : torrent.ratio.toFixed(3),
|
share: (torrent.ratio == -1) ? '∞' : torrent.ratio.toFixed(3),
|
||||||
announce: ftime(torrent.next_announce),
|
announce: ftime(torrent.next_announce),
|
||||||
|
tracker_status: torrent.tracker_status,
|
||||||
tracker_torrent: torrent.tracker_torrent,
|
tracker_torrent: torrent.tracker_torrent,
|
||||||
downspeed: (torrent.download_payload_rate) ? fspeed(torrent.download_payload_rate) : '0.0 KiB/s',
|
downspeed: (torrent.download_payload_rate) ? fspeed(torrent.download_payload_rate) : '0.0 KiB/s',
|
||||||
upspeed: (torrent.upload_payload_rate) ? fspeed(torrent.upload_payload_rate) : '0.0 KiB/s',
|
upspeed: (torrent.upload_payload_rate) ? fspeed(torrent.upload_payload_rate) : '0.0 KiB/s',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue