diff options
author | Jordan <me@jordan.im> | 2020-03-27 12:47:54 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2020-03-27 12:47:54 -0700 |
commit | 7b5448942cb7501aac960e98f73b7ee11a434517 (patch) | |
tree | ae4d1ca15141c34d72ddcb0873b44e68dd7904be /tor-metrics/templates/as.html | |
parent | 47c83a7c5a8b861d2205dc0076a120f1e74ce271 (diff) | |
download | allium-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.html | 2 |
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 %} |