commit b891c7a470e530b433bc028d817385882feb39a5 Author: Iain R. Learmonth irl@fsfe.org Date: Sun Nov 26 15:47:23 2017 +0000
Removes link to broken search page from full aggregation --- templates/aggregate/search.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/templates/aggregate/search.html b/templates/aggregate/search.html index 5c3973c..d76ed16 100644 --- a/templates/aggregate/search.html +++ b/templates/aggregate/search.html @@ -84,7 +84,11 @@ <td data-order="<%= aggregate.middle_probability %>"><%= (aggregate.middle_probability * 100).toFixed(4) %>%</td> <td data-order="<%= aggregate.exit_probability %>"><%= (aggregate.exit_probability * 100).toFixed(4) %>%</td> <td> - <a href="#search/<% if ((typeof aggregate.as) == "string" && query.indexOf("as:") == -1) { %>as:<%= aggregate.as %> <% } if ((typeof aggregate.country) == "string" && query.indexOf("country:") == -1) { %>country:<%= aggregate.country %> <% } %><%= (query) ? query + " " : "" %>"><%= aggregate.relays %></a></td> + <% if ((typeof aggregate.as) == "string" || (typeof aggregate.country) == "string") { %> + <a href="#search/<% if ((typeof aggregate.as) == "string" && query.indexOf("as:") == -1) { %>as:<%= aggregate.as %> <% } if ((typeof aggregate.country) == "string" && query.indexOf("country:") == -1) { %>country:<%= aggregate.country %> <% } %><%= (query) ? query + " " : "" %>"><%= aggregate.relays %></a> + <% } else { %> + <%= aggregate.relays %> + <% } %> </td> <td> <% if (aggregate.guards > 0) { %>
tor-commits@lists.torproject.org