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

[tor-commits] [atlas/master] Adds an alert to suggest updating Tor version on outdated relays



commit 2177b5dadc3f34d7d45ad68b0a2a59e227825885
Author: Iain R. Learmonth <irl@xxxxxxxx>
Date:   Mon Oct 9 03:08:29 2017 +0100

    Adds an alert to suggest updating Tor version on outdated relays
---
 templates/details/router.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/templates/details/router.html b/templates/details/router.html
index bd7d302..3cab9b2 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -10,7 +10,9 @@
 <div class="page-header">
 <h2>General <small>Overall information on the Tor relay</small></h2>
 </div>
-
+<% if (relay.get('recommended_version') === false) { %>
+<div class="alert alert-danger">This relay is running an outdated Tor version and should be updated to a recent release of Tor that may contain important fixes.</div>
+<% } %>
 <div class="row">
     <div class="span6">
     <h3>Configuration</h3>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits