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

[tor-commits] [atlas/master] Do not show flag labels in tooltips on relay pages



commit f81916a9816461d76a547b0c572b0cceb10c90c9
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Wed Feb 1 12:23:00 2017 +0000

    Do not show flag labels in tooltips on relay pages
    
    The same labels are already next the flag icons.
    
    Closes #21364.
---
 templates/details/bridge.html | 2 +-
 templates/details/router.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/details/bridge.html b/templates/details/bridge.html
index d06cd21..c436522 100644
--- a/templates/details/bridge.html
+++ b/templates/details/bridge.html
@@ -44,7 +44,7 @@
 
     <dt><span class="tip" title="Flags that the directory authorities assigned to this bridge." data-original-title="Bridge flags">Flags</span></dt>
     <dd><% _.each(relay.get('flags'), function(flag) { %>
-    <span class="flags" title="<%= flag[0] %><br /><%= flag[2] %>">
+    <span class="flags" title="<%= flag[2] %>">
         <img class="inline" alt="" src="img/flags/<%= flag[1] %>.png"/>
         <span class="inline"><%= flag[0] %></span>
     </span>
diff --git a/templates/details/router.html b/templates/details/router.html
index d3f80ed..208f31a 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -76,7 +76,7 @@
 
     <dt><span class="tip" title="Flags that the directory authorities assigned to this relay." data-original-title="Relay flags">Flags</span></dt>
     <dd><% _.each(relay.get('flags'), function(flag) { %>
-        <span class="flags" title="<%= flag[0] %><br /><%= flag[2] %>">
+        <span class="flags" title="<%= flag[2] %>">
             <img class="inline" alt="" src="img/flags/<%= flag[1] %>.png"/>
             <span class="inline"><%= flag[0] %></span>
         </span>



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