aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-09-16 01:09:07 -0700
committerJordan <me@jordan.im>2020-09-16 01:09:07 -0700
commit3401a3efba57b7948632b9fc96ace5db89e6b040 (patch)
tree94b7dc37251fddb4917477144c6e6d5be6f1b67a
parentae8f13ad3d2126c0fc65c8ce7a9bea20a01f6c80 (diff)
downloadallium-3401a3efba57b7948632b9fc96ace5db89e6b040.tar.gz
allium-3401a3efba57b7948632b9fc96ace5db89e6b040.zip
make dir address clickable, closes #5
-rw-r--r--tor-metrics/templates/relay-info.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tor-metrics/templates/relay-info.html b/tor-metrics/templates/relay-info.html
index 9b8eed1..666be11 100644
--- a/tor-metrics/templates/relay-info.html
+++ b/tor-metrics/templates/relay-info.html
@@ -24,7 +24,7 @@
<dt>Dir Address</dt>
{% if relay['dir_address'] %}
- <dd>{{ relay['dir_address']|escape }}</dd>
+ <dd><a href="http://{{ relay['dir_address']|escape }}">{{ relay['dir_address']|escape }}</a></dd>
{% else %}
<dd>none</dd>
{% endif %}