[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6355 [Metrics/Atlas]: Distinguish between running relays and non-running relays which last had the Running flag
#6355: Distinguish between running relays and non-running relays which last had
the Running flag
---------------------------+------------------------------
Reporter: karsten | Owner: phw
Type: enhancement | Status: needs_review
Priority: High | Milestone:
Component: Metrics/Atlas | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------------
Comment (by cypherpunks):
See the inline patch for the idea i had in comment:12.
{{{
diff --git a/templates/search/do.html b/templates/search/do.html
index cd07a61..e58cf73 100644
--- a/templates/search/do.html
+++ b/templates/search/do.html
@@ -78,6 +78,7 @@
<a href="#details/<%= relay.get('fingerprint') %>">
<%= _.escape(relay.get('nickname')) %>
</a>
+ <% if (relay.get('running') === false) { %><span class="label
label-important">Offline</span><% } %>
</td>
<td><span data-filter="<%= relay.get('bandwidth')
%>"><%= relay.get('bandwidth_hr') %></td>
<td>
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6355#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs