diff --git a/plugins/Stats/StatsPlugin.py b/plugins/Stats/StatsPlugin.py
index 0dfdfd10..9a2db5a5 100644
--- a/plugins/Stats/StatsPlugin.py
+++ b/plugins/Stats/StatsPlugin.py
@@ -189,7 +189,7 @@ class UiRequestPlugin(object):
yield "
" % site.address
for sha512, peers in bigfiles.iteritems():
- yield "
- " + sha512 + "
"
+ yield "
- " + sha512 + " (hash id: %s)
" % site.content_manager.hashfield.getHashId(sha512)
yield "
"
for peer in peers:
yield "" + peer.key + " | " + peer.piecefields[sha512].tostring() + " |
"
@@ -201,15 +201,15 @@ class UiRequestPlugin(object):
yield "
Sent commands:
"
yield ""
for stat_key, stat in sorted(main.file_server.stat_sent.items(), lambda a, b: cmp(a[1]["bytes"], b[1]["bytes"]), reverse=True):
- yield "%s | x %s = | %.0fkB |
" % (stat_key, stat["num"], stat["bytes"] / 1024)
+ yield "%s | x %s = | %.0fkB |
" % (stat_key, stat["num"], stat["bytes"] / 1024)
yield "
"
yield ""
- yield ""
+ yield "
"
yield "
Received commands:
"
yield "
"
for stat_key, stat in sorted(main.file_server.stat_recv.items(), lambda a, b: cmp(a[1]["bytes"], b[1]["bytes"]), reverse=True):
- yield "%s | x %s = | %.0fkB |
" % (stat_key, stat["num"], stat["bytes"] / 1024)
+ yield "%s | x %s = | %.0fkB |
" % (stat_key, stat["num"], stat["bytes"] / 1024)
yield "
"
yield "
"
yield "
"