Changeset - d94a16abb872
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2014-12-13 15:09:22
dennis.fink@c3l.lu
Fixed onion address for globe
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/status/macros.html
Show inline comments
 
@@ -21,25 +21,25 @@
 
{% macro create_country(country) %}
 
  {% set country_class = "flag-" + country|lower|replace(' ', '-') %}
 
  <i class={{ country_class }}></i> {{ country|title }}
 
{% endmacro %}
 

	
 
{% macro create_fingerprint(fingerprint, server_type) %}
 
  {% if server_type in ('Exit', 'Relay') %}
 
    {% set url_type = 'relay' %}
 
  {% else %}
 
    {% set url_type = 'bridge' %}
 
  {% endif %}
 
  {% if '.onion' in request.url_root %}
 
    {% set url_root = 'ji3yb2tncy6naj7b.onion' %}
 
    {% set url_root = '//ji3yb2tncy6naj7b.onion' %}
 
  {% else %}
 
    {% set url_root = 'http://globe.enn.lu' %}
 
  {% endif %}
 
  <a href="{{ url_root }}/#/{{ url_type }}/{{ fingerprint }}">{{ fingerprint|upper}}</a>
 
{% endmacro %}
 

	
 
{% macro create_name(name) %}
 
  <a href="http://{{ name|lower }}.enn.lu">{{ name }}</a>
 
{% endmacro %}
 

	
 
{% macro create_server_table(server_type, servers) %}
 
  {% if server_type in ('Exit', 'Relay') %}
0 comments (0 inline, 0 general)