[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [metrics-web/release] Pass metadata through for top relays
commit 391cbf5aefb323445108ab71db3862f58c23b45e
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date: Wed Aug 8 14:14:19 2018 +0100
Pass metadata through for top relays
Fixes: #27077
---
src/main/resources/web/js/rs/router.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/main/resources/web/js/rs/router.js b/src/main/resources/web/js/rs/router.js
index c67c4a1..213b01a 100644
--- a/src/main/resources/web/js/rs/router.js
+++ b/src/main/resources/web/js/rs/router.js
@@ -225,7 +225,12 @@ define([
doSearchView.collection.url = "https://onionoo.torproject.org/details?type=relay&order=-consensus_weight&limit=250&running=true";
doSearchView.collection.lookup({
- success: function(err){
+ success: function(err, onionooVersion, buildRevision,
+ relaysPublished, bridgesPublished){
+ doSearchView.onionooVersion = onionooVersion;
+ doSearchView.buildRevision = buildRevision;
+ doSearchView.relaysPublished = relaysPublished;
+ doSearchView.bridgesPublished = bridgesPublished;
doSearchView.relays = doSearchView.collection.models;
doSearchView.error = err;
doSearchView.render("");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits