From eee68666efcd77146ad1be9887dc78037e281ab8 Mon Sep 17 00:00:00 2001 From: Martijn Voncken Date: Fri, 8 Feb 2008 18:56:35 +0000 Subject: [PATCH] torrent-index no - , mimic gtk ui and use 0 or '' --- .../ui/webui/webui_plugin/templates/advanced/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deluge/ui/webui/webui_plugin/templates/advanced/index.html b/deluge/ui/webui/webui_plugin/templates/advanced/index.html index 49d549185..a77d31073 100644 --- a/deluge/ui/webui/webui_plugin/templates/advanced/index.html +++ b/deluge/ui/webui/webui_plugin/templates/advanced/index.html @@ -104,24 +104,24 @@ $for torrent in torrent_list: $if torrent.total_seeds != -1: $torrent.num_seeds ($torrent.total_seeds) $else: - - + 0 $if torrent.total_peers != -1: $torrent.num_peers ($torrent.total_peers) $else: - - + 0 $if (torrent.download_rate): $fspeed(torrent.download_rate) $else: - - +   $if (torrent.upload_rate): $fspeed(torrent.upload_rate) $else: - - +   $ftime(torrent.eta) $("%.3f" % torrent.distributed_copies)