[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #21166 [Metrics/Atlas]: Missing equal sign in the router template



#21166: Missing equal sign in the router template
-------------------------------+-----------------
     Reporter:  cypherpunks    |      Owner:  irl
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Metrics/Atlas  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+-----------------
 The family members section on the router page is missing an equal sign
 before the class name.

 {{{
 diff --git a/templates/details/router.html b/templates/details/router.html
 index 50d0ccc..907f17d 100644
 --- a/templates/details/router.html
 +++ b/templates/details/router.html
 @@ -90,7 +90,7 @@
      <dt><span class="tip" data-content="Date and time when the relay was
 last (re-)started." data-original-title="Last restarted">Last
 Restarted</span></dt>
      <dd><%= relay.get('last_restarted') %></dd>

 -    <dt><span class"tip" data-content="Other family members of this
 relay." data-original-title="Family Members">Family Members</span></dt>
 +    <dt><span class="tip" data-content="Other family members of this
 relay." data-original-title="Family Members">Family Members</span></dt>
      <dd><pre><% if (relay.get('effective_family') !== null) { %><%
 _.each(relay.get('effective_family'), function(member) { %><% var valid =
 member.match(RegExp("^\$[A-F0-9]{40}$")); %>
  <% if (valid) { %><a href="#details/<%= member.replace('$', '') %>"
 title="Effective family member"><% } %><%= member %><% if (valid) {
 %></a><% }}); %><% } %>
  <% if (relay.get('alleged_family') !== null) { %><%
 _.each(relay.get('alleged_family'), function(member) { %><% var valid =
 member.match(RegExp("^\$[A-F0-9]{40}$")); %>
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21166>
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