1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk web) #4273 "Display ratio in web client compact view" -- fixed.

This commit is contained in:
Jordan Lee 2011-08-24 19:20:59 +00:00
parent e0410cd17b
commit 2d0a59954a

View file

@ -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();
},