[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [atlas/master] Adds links to descriptors on details page (Fixes: #25239)
commit 2c383c653101777220bd888600ce7abecb715a61
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date: Wed Mar 21 14:24:42 2018 +0000
Adds links to descriptors on details page (Fixes: #25239)
---
templates/details/router.html | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/templates/details/router.html b/templates/details/router.html
index 3b66315..b523ff4 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -286,6 +286,17 @@
</div>
</div>
+<% if (relay.get('dir_address')) { %>
+<h3>Advanced</h3>
+<p>
+<a href="http://<%= relay.get('dir_address') %>/tor/server/authority"
+ class="btn btn-info">Latest server descriptor</a>
+
+<a href="http://<%= relay.get('dir_address') %>/tor/extra/authority"
+ class="btn btn-info">Latest extra-info descriptor</a>
+</p>
+<% } %>
+
</div><!-- container-fluid -->
<p>Information for relays was published: <%= relay.get('relaysPublished') %> UTC.</p>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits