[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [atlas/master] Separated effective and alleged family members more clearly
commit 98ebb84d3971099970ce43f0700fd3cb9a56142a
Author: Raphael Bergmann <raphael@xxxxxxxxxx>
Date: Tue Jan 31 14:22:18 2017 +0100
Separated effective and alleged family members more clearly
---
templates/details/router.html | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/templates/details/router.html b/templates/details/router.html
index de68424..d3f80ed 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -96,10 +96,15 @@
<dd><%= relay.get('last_restarted') %></dd>
<dt><span class="tip" title="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}$")); %>
-<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" title="Alleged family member" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %><% } %></pre></dd>
+ <dd>
+ Effective family members:<br>
+ <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><% }}); %>
+<% } %></pre>
+ Alleged family members:<br>
+ <pre><% if (relay.get('alleged_family') !== null) { %><% _.each(relay.get('alleged_family'), function(member) { %><% var valid = member.match(RegExp("^\$[A-F0-9]{40}$")); %>
+<% if (valid) { %><a href="#details/<%= member.replace('$', '') %>" title="Alleged family member" class="alleged"><% } %><%= member %><% if (valid) { %></a><% }}); %><% } %></pre>
+ </dd>
<dt><span class="tip" title="Date and time when the relay last published a descriptor to the directory authorities." data-original-title="Descriptor published">Descriptor Published</span></dt>
<dd><%= relay.get('desc_published') %></dd>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits