(trunk web) #4273 "Display ratio in web client compact view" -- fixed.
This commit is contained in:
parent
e0410cd17b
commit
2d0a59954a
|
@ -275,7 +275,10 @@ TorrentRendererCompact.prototype =
|
||||||
return [ TorrentRendererHelper.formatDL(t),
|
return [ TorrentRendererHelper.formatDL(t),
|
||||||
TorrentRendererHelper.formatUL(t) ].join(' ');
|
TorrentRendererHelper.formatUL(t) ].join(' ');
|
||||||
if (t.isSeeding())
|
if (t.isSeeding())
|
||||||
return TorrentRendererHelper.formatUL(t);
|
return [ 'Ratio: ',
|
||||||
|
Transmission.fmt.ratioString(t.getUploadRatio()),
|
||||||
|
', ',
|
||||||
|
TorrentRendererHelper.formatUL(t) ].join('');
|
||||||
return t.getStateString();
|
return t.getStateString();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue