[tor-commits] [metrics-web/master] Makes flags in details view clickable
karsten at torproject.org
karsten at torproject.org
Mon Jul 9 13:36:16 UTC 2018
commit 12d98872c6aaf03f21726bedcd712373359fd807
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Mon Jul 9 13:06:23 2018 +0100
Makes flags in details view clickable
Fixes: #25533
---
src/main/resources/web/templates/rs/details/bridge.html | 2 +-
src/main/resources/web/templates/rs/details/router.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/web/templates/rs/details/bridge.html b/src/main/resources/web/templates/rs/details/bridge.html
index 6eb7dcf..05f4d7b 100644
--- a/src/main/resources/web/templates/rs/details/bridge.html
+++ b/src/main/resources/web/templates/rs/details/bridge.html
@@ -51,7 +51,7 @@
<dd><% _.each(relay.get('flags'), function(flag) { %>
<span class="tip flags" title="<%= flag[2] %>">
<img class="inline" alt="" src="/images/flags/<%= flag[1] %>.png"/>
- <span class="inline"><%= flag[0] %></span>
+ <a href="#search/flag:<%= flag[1] %>"><span class="inline"><%= flag[0] %></span></a>
</span>
<% }); %>
</dd>
diff --git a/src/main/resources/web/templates/rs/details/router.html b/src/main/resources/web/templates/rs/details/router.html
index e1ffe37..29924cf 100644
--- a/src/main/resources/web/templates/rs/details/router.html
+++ b/src/main/resources/web/templates/rs/details/router.html
@@ -126,7 +126,7 @@ should update it as soon as possible.</div>
<dd><% _.each(relay.get('flags'), function(flag) { %>
<span class="tip flags" title="<%= flag[2] %>">
<img class="inline" alt="" src="/images/flags/<%= flag[1] %>.png"/>
- <span class="inline"><%= flag[0] %></span>
+ <a href="#search/flag:<%= flag[1] %>"><span class="inline"><%= flag[0] %></span></a>
</span>
<% }); %>
</dd>
More information about the tor-commits
mailing list