[tor-bugs] #6355 [Metrics/Atlas]: Distinguish between running relays and non-running relays which last had the Running flag

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 2 17:49:23 UTC 2017


#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


More information about the tor-bugs mailing list