aboutsummaryrefslogtreecommitdiff
path: root/tor-metrics/templates/as.html
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-03-27 12:47:54 -0700
committerJordan <me@jordan.im>2020-03-27 12:47:54 -0700
commit7b5448942cb7501aac960e98f73b7ee11a434517 (patch)
treeae4d1ca15141c34d72ddcb0873b44e68dd7904be /tor-metrics/templates/as.html
parent47c83a7c5a8b861d2205dc0076a120f1e74ce271 (diff)
downloadallium-7b5448942cb7501aac960e98f73b7ee11a434517.tar.gz
allium-7b5448942cb7501aac960e98f73b7ee11a434517.zip
add per-key middle/exit count to header
Diffstat (limited to 'tor-metrics/templates/as.html')
-rw-r--r--tor-metrics/templates/as.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tor-metrics/templates/as.html b/tor-metrics/templates/as.html
index c27c0ac..b2d6f90 100644
--- a/tor-metrics/templates/as.html
+++ b/tor-metrics/templates/as.html
@@ -3,4 +3,4 @@
{% set as_name = relays.json['relay_subset'][0]['as_name']|escape %}
{% block title %}Tor Relays :: {{ as_number }}{% endblock %}
{% block header %}<a href="../../">Home</a> :: {{ as_number }}{% endblock %}
-{% block description %}{{ as_number }} ({{ as_name }}) is responsible for ~{{ bandwidth }} MB/s of traffic.{% endblock %}
+{% block description %}{{ as_number }} ({{ as_name }}) is responsible for ~{{ bandwidth }} MB/s of traffic, consisting of {% if middle_count > 0 %}{{ middle_count }} middle relay{% if middle_count > 1 %}s{% endif %}{% if exit_count > 0 %} and {% endif %}{% endif %}{% if exit_count > 0 %}{{ exit_count }} exit relay{% if exit_count > 1 %}s{% endif %}{% endif %}.{% endblock %}