mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(trunk web) #4273 "Display ratio in web client compact view" -- fixed.
This commit is contained in:
parent
e0410cd17b
commit
2d0a59954a
1 changed files with 4 additions and 1 deletions
|
@ -275,7 +275,10 @@ TorrentRendererCompact.prototype =
|
|||
return [ TorrentRendererHelper.formatDL(t),
|
||||
TorrentRendererHelper.formatUL(t) ].join(' ');
|
||||
if (t.isSeeding())
|
||||
return TorrentRendererHelper.formatUL(t);
|
||||
return [ 'Ratio: ',
|
||||
Transmission.fmt.ratioString(t.getUploadRatio()),
|
||||
', ',
|
||||
TorrentRendererHelper.formatUL(t) ].join('');
|
||||
return t.getStateString();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue