details: add the missing items to the details tab
The web interface was missing the Owner and Shared items that have been added to the gtk ui. Add these to bring the web interface up to scratch.
This commit is contained in:
parent
a91037843b
commit
fa08f7de43
|
@ -88,7 +88,7 @@ Deluge.Keys = {
|
|||
*/
|
||||
Details: [
|
||||
'name', 'save_path', 'total_size', 'num_files', 'message',
|
||||
'tracker', 'comment'
|
||||
'tracker', 'comment', 'owner', 'shared'
|
||||
],
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,6 +35,7 @@ Ext.define('Deluge.details.DetailsTab', {
|
|||
extend: 'Ext.Panel',
|
||||
|
||||
title: _('Details'),
|
||||
autoScroll: true,
|
||||
fields: {},
|
||||
queuedItems: {},
|
||||
oldData: {},
|
||||
|
@ -49,6 +50,8 @@ Ext.define('Deluge.details.DetailsTab', {
|
|||
this.addItem('comment', _('Comment'));
|
||||
this.addItem('status', _('Status'));
|
||||
this.addItem('tracker', _('Tracker'));
|
||||
this.addItem('owner', _('Owner'));
|
||||
this.addItem('shared', _('Shared'));
|
||||
},
|
||||
|
||||
onRender: function(ct, position) {
|
||||
|
@ -100,7 +103,9 @@ Ext.define('Deluge.details.DetailsTab', {
|
|||
files: torrent.num_files,
|
||||
status: torrent.message,
|
||||
tracker: torrent.tracker,
|
||||
comment: torrent.comment
|
||||
comment: torrent.comment,
|
||||
owner: torrent.owner,
|
||||
shared: torrent.shared
|
||||
};
|
||||
|
||||
for (var field in this.fields) {
|
||||
|
|
Loading…
Reference in New Issue