commit 38f4d99f9f441716e99f9b5ae984c9db06ebd8c3
Author: Iain R. Learmonth <i...@fsfe.org>
Date:   Sun Nov 6 23:41:59 2016 +0000

    Strikethrough uptime if it's actually downtime in search results (#19956)
---
 templates/search/do.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/search/do.html b/templates/search/do.html
index ebce483..eac2abe 100644
--- a/templates/search/do.html
+++ b/templates/search/do.html
@@ -82,7 +82,7 @@
                        <td><span data-filter="<%= relay.get('bandwidth') 
%>"><%= relay.get('bandwidth_hr') %></td>
                        <td>
             <span data-hidden="<%= relay.get('last_restarted') %>" title="<%= 
relay.get('uptime_hrfull') %>" data-filter="<%= relay.get('uptime') %>" 
class="uptime">
-            <%= relay.get('uptime_hr') %>
+            <% if (relay.get('running') === false) { %><s><% } %><%= 
relay.get('uptime_hr') %><% if (relay.get('running') === false) { %></s><% } %>
             </span>
             </td>
                        <td>



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

Reply via email to