aboutsummaryrefslogtreecommitdiff
path: root/allium/templates/country.html
diff options
context:
space:
mode:
Diffstat (limited to 'allium/templates/country.html')
-rw-r--r--allium/templates/country.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/allium/templates/country.html b/allium/templates/country.html
new file mode 100644
index 0000000..ab55af3
--- /dev/null
+++ b/allium/templates/country.html
@@ -0,0 +1,11 @@
+{% extends "relay-list.html" %}
+{% set country_orig = relays.json['relay_subset'][0]['country_name']|escape %}
+{% set country_abbr = relays.json['relay_subset'][0]['country']|escape %}
+{% if country_orig in sp_countries %}
+ {% set country_name = 'The ' + country_orig %}
+{% else %}
+ {% set country_name = country_orig %}
+{% 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 %}