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

[tor-commits] [atlas/master] Adding family list to detail view, linking to other relays



commit b99774eb4c9f687c06de901e886b9da53bfb06a5
Author: Michael Zeltner <m@xxxxxxxx>
Date:   Mon Feb 20 01:55:04 2012 +0100

    Adding family list to detail view, linking to other relays
---
 templates/details/main.html |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/templates/details/main.html b/templates/details/main.html
index f03decd..14bdaa7 100644
--- a/templates/details/main.html
+++ b/templates/details/main.html
@@ -62,6 +62,10 @@
     <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>
+    <dd><pre><% _.each(relay.get('family'), function(member) { %>
+<% member = member.replace("$", "")%><a href="#details/<%= member %>"><%= member %></a><% }); %></pre></dd>
+
     <dt><span class="tip" data-content="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