diff options
author | Damien Churchill <damoxc@gmail.com> | 2011-11-24 17:11:08 +0000 |
---|---|---|
committer | Damien Churchill <damoxc@gmail.com> | 2011-11-24 17:11:08 +0000 |
commit | a91037843ba88d11930ac80b9570825422ccbcdc (patch) | |
tree | 6ce0abcb89347b7b635f05f29152bf40751e27b2 | |
parent | 4a43d6a63529ae33add9ec03959c160ba8a2ebd4 (diff) | |
download | deluge-a91037843ba88d11930ac80b9570825422ccbcdc.tar.gz deluge-a91037843ba88d11930ac80b9570825422ccbcdc.tar.bz2 deluge-a91037843ba88d11930ac80b9570825422ccbcdc.zip |
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
-rw-r--r-- | deluge/ui/web/js/deluge-all/details/StatusTab.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deluge/ui/web/js/deluge-all/details/StatusTab.js b/deluge/ui/web/js/deluge-all/details/StatusTab.js index 674387d16..593e2de7f 100644 --- a/deluge/ui/web/js/deluge-all/details/StatusTab.js +++ b/deluge/ui/web/js/deluge-all/details/StatusTab.js @@ -73,7 +73,8 @@ Ext.define('Deluge.details.StatusTab', { items: [{ defaults: { labelWidth: 100, - width: 300 + width: 300, + margins: '2 0 2 0' }, items: [{ label: _('Downloaded'), @@ -89,7 +90,7 @@ Ext.define('Deluge.details.StatusTab', { dataIndex: 'announce' }, { label: _('Tracker Status'), - dataIndex: 'tracker' + dataIndex: 'tracker_status' }] }, { defaults: { @@ -146,7 +147,7 @@ Ext.define('Deluge.details.StatusTab', { dataIndex: 'seed_rank' }, { label: _('Date Added'), - dataIndex: 'time_rank' + dataIndex: 'time_added' }] }] }); @@ -180,6 +181,7 @@ Ext.define('Deluge.details.StatusTab', { uploaded: fsize(torrent.total_uploaded, true), share: (torrent.ratio == -1) ? '∞' : torrent.ratio.toFixed(3), announce: ftime(torrent.next_announce), + tracker_status: torrent.tracker_status, tracker_torrent: torrent.tracker_torrent, 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', |