Ticket #22379: 0001-Remove-titles-from-the-family-members-entries.patch

File 0001-Remove-titles-from-the-family-members-entries.patch, 2.0 KB (added by cypherpunks, 7 months ago)
  • templates/details/router.html

    From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
    From: cypherpunks <cypherpunks@torproject.org>
    Date: Thu, 25 May 2017 12:09:59 +0000
    Subject: [PATCH] Remove titles from the family members entries
    
    The titles do not provide extra information other than the type of
    family member which is already in the header.
    
    Closes #22379.
    ---
     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 76b8ff6..4ee112e 100644
    a b  
    120120    <dt><span class="tip" title="Relays that are part of this relay's family and consider this relay to be part of their family.">Effective Family Members</span></dt>
    121121    <dd>
    122122        <pre><% if (relay.get('effective_family') !== null) { %><% _.each(relay.get('effective_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
    123 <% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" title="Effective family member"><% } %><%= member %><% if (valid) { %></a><% }}); %>
     123<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>"><% } %><%= member %><% if (valid) { %></a><% }}); %>
    124124<% } else { %>none<% } %></pre>
    125125    </dd>
    126126    <dt><span class="tip" title="Relays that are part of this relay's family but don't consider this relay to be part of their family.">Alleged Family Members</span></dt>
    127127    <dd>
    128128        <pre><% if (relay.get('alleged_family') !== null) { %><% _.each(relay.get('alleged_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
    129 <% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" title="Alleged family member" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %>
     129<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %>
    130130<% } else { %>none<% } %></pre>
    131131    </dd>
    132132