diff options
author | Jordan <me@jordan.im> | 2023-01-25 21:11:28 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2023-01-25 21:11:28 -0700 |
commit | 7f6a05fc2bd7e611c2f9e11dc5960868df482d3c (patch) | |
tree | 97ebb63388abf54948f071905cce40e572bc480a /allium/templates/country.html | |
parent | 76eaf7138df8e9f27d294a988ca109f32201300a (diff) | |
download | allium-7f6a05fc2bd7e611c2f9e11dc5960868df482d3c.tar.gz allium-7f6a05fc2bd7e611c2f9e11dc5960868df482d3c.zip |
templates: make them human-readable, housekeeping
Diffstat (limited to 'allium/templates/country.html')
-rw-r--r-- | allium/templates/country.html | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/allium/templates/country.html b/allium/templates/country.html index 77c3d51..46273fc 100644 --- a/allium/templates/country.html +++ b/allium/templates/country.html @@ -8,8 +8,19 @@ {% endif %} {% block title %}Tor Relays :: {{ country_orig }}{% endblock %} {% block header %}<a href="../../">Home</a> :: {{ country_name }}{% endblock %} -{% block description %}{{ country_name }} ({{ country_abbr }}) is 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 %} + {{ country_name }} ({{ country_abbr }}) is 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 %} |