mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
torrent-index no - , mimic gtk ui and use 0 or ''
This commit is contained in:
parent
1c33177a63
commit
eee68666ef
@ -104,24 +104,24 @@ $for torrent in torrent_list:
|
||||
$if torrent.total_seeds != -1:
|
||||
$torrent.num_seeds ($torrent.total_seeds)
|
||||
$else:
|
||||
-
|
||||
0
|
||||
</td>
|
||||
<td>
|
||||
$if torrent.total_peers != -1:
|
||||
$torrent.num_peers ($torrent.total_peers)</td>
|
||||
$else:
|
||||
-
|
||||
0
|
||||
<td>
|
||||
$if (torrent.download_rate):
|
||||
$fspeed(torrent.download_rate)
|
||||
$else:
|
||||
-
|
||||
|
||||
</td>
|
||||
<td>
|
||||
$if (torrent.upload_rate):
|
||||
$fspeed(torrent.upload_rate)
|
||||
$else:
|
||||
-
|
||||
|
||||
</td>
|
||||
<td>$ftime(torrent.eta)</td>
|
||||
<td>$("%.3f" % torrent.distributed_copies)</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user