diff options
author | Jordan <me@jordan.im> | 2020-09-20 23:40:16 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2020-09-20 23:40:16 -0700 |
commit | 3af4f2023be71ec0fb6ec564515dcaae6a9947a8 (patch) | |
tree | 8b0093ec78ac3b8ef0a64daf4235f1bf4e4911a6 /allium/templates/platform.html | |
parent | e76473531d770279961a84272f14e1930919194c (diff) | |
download | allium-3af4f2023be71ec0fb6ec564515dcaae6a9947a8.tar.gz allium-3af4f2023be71ec0fb6ec564515dcaae6a9947a8.zip |
improve readability of templates (as much as one can)
Diffstat (limited to 'allium/templates/platform.html')
-rw-r--r-- | allium/templates/platform.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/allium/templates/platform.html b/allium/templates/platform.html index b2832fd..4f6d941 100644 --- a/allium/templates/platform.html +++ b/allium/templates/platform.html @@ -2,4 +2,8 @@ {% set platform = relays.json['relay_subset'][0]['platform']|escape %} {% block title %}Tor Relays :: {{ platform }}{% endblock %} {% block header %}<a href="../../">Home</a> :: {{ platform }}{% endblock %} -{% block description %}{{ platform }} systems are responsible for ~{{ bandwidth }} MB/s of traffic, with {% 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 %} +{% block description %}{{ platform }} systems are responsible for ~{{ bandwidth +}} MB/s of traffic, with {% 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 %} |