|
|
|
@ -754,6 +754,7 @@ var TorrentsTable = new Class({
@@ -754,6 +754,7 @@ var TorrentsTable = new Class({
|
|
|
|
|
this.newColumn('downloaded_session', '', 'QBT_TR(Session Download)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('uploaded_session', '', 'QBT_TR(Session Upload)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('amount_left', '', 'QBT_TR(Remaining)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('time_active', '', 'QBT_TR(Time Active)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('save_path', '', 'QBT_TR(Save path)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('completed', '', 'QBT_TR(Completed)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
|
this.newColumn('ratio_limit', '', 'QBT_TR(Ratio Limit)QBT_TR[CONTEXT=TorrentModel]', 100, false); |
|
|
|
@ -1021,6 +1022,12 @@ var TorrentsTable = new Class({
@@ -1021,6 +1022,12 @@ var TorrentsTable = new Class({
|
|
|
|
|
else |
|
|
|
|
td.set('html', 'QBT_TR(%1 ago)QBT_TR[CONTEXT=TransferListDelegate]'.replace('%1', friendlyDuration((new Date()) / 1000 - val, true))); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
// time active
|
|
|
|
|
this.columns['time_active'].updateTd = function (td, row) { |
|
|
|
|
var time = this.getRowValue(row); |
|
|
|
|
td.set('html', friendlyDuration(time)); |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
applyFilter : function (row, filterName, categoryHash) { |
|
|
|
|