[tor-commits] [atlas/master] Makes primary IP address and nickname searchable on details page (Fixes: #24533)
irl at torproject.org
irl at torproject.org
Mon Dec 11 15:13:51 UTC 2017
commit 699a39ff77879c6a7fe79874edfae9015795953b
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Mon Dec 11 15:02:44 2017 +0000
Makes primary IP address and nickname searchable on details page (Fixes: #24533)
---
templates/details/router.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/details/router.html b/templates/details/router.html
index 89edf81..2aea6b2 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -17,10 +17,10 @@
<div class="col-md-6">
<h3>Configuration</h3>
<dl>
- <dt><span class="tip" title="This is the nickname that the Tor relay operator chose.">Nickname</span></dt>
+ <dt><span class="tip" title="This is the nickname that the Tor relay operator chose.">Nickname</span> <a href="#search/<%= _.escape(relay.get('nickname')) %>"><i class="fa fa-search"></i></a></dt>
<dd><%= _.escape(relay.get('nickname')) %></dd>
- <dt><span class="tip" title="Addresses and ports where the relay listens for incoming connections from clients and other relays.">OR Addresses</span></dt>
+ <dt><span class="tip" title="Addresses and ports where the relay listens for incoming connections from clients and other relays.">OR Addresses</span> <a href="#search/<%= relay.get('or_addresses')[0].split(":")[0] %>"><i class="fa fa-search"></i></a></dt>
<dd><%= relay.get('or_addresses') %></dd>
<dt><span class="tip" title="These are the contact details of the Tor relay operator">Contact</span></dt>
More information about the tor-commits
mailing list