Changeset - 365524643d78
[Not reviewed]
default
0 2 0
Dennis Fink - 10 years ago 2014-12-13 14:20:09
dennis.fink@c3l.lu
Added onion addresses for wiki and globe
2 files changed with 14 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/base.html
Show inline comments
 
@@ -33,7 +33,11 @@
 
    <div class="navbar-collapse collapse">
 
      <ul class="nav navbar-nav navbar-left">
 
        <li>
 
          {% if '.onion' in request.url_root %}
 
            <a href="qzz2cvotstk357oj.onion/doku.php?id=news">News</a>
 
          {% else %}
 
          <a href="http://wiki.enn.lu/doku.php?id=news">News</a>
 
          {% endif %}
 
        </li>
 
        <li>
 
          <a href="{{ url_for('root.about') }}">About</a>
 
@@ -69,7 +73,11 @@
 
          <a href="{{ url_for('root.abuse') }}">Abuse</a>
 
        </li>
 
        <li>
 
          {% if '.onion' in request.url_root %}
 
            <a href="qzz2cvotstk357oj.onion">Wiki</a>
 
          {% else %}
 
          <a href="http://wiki.enn.lu">Wiki</a>
 
          {% endif %}
 
        </li>
 
        <li class="dropdown">
 
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Servers <b class="caret"></b></a>
ennstatus/templates/status/macros.html
Show inline comments
 
@@ -29,7 +29,12 @@
 
  {% else %}
 
    {% set url_type = 'bridge' %}
 
  {% endif %}
 
  <a href="http://globe.enn.lu/#/{{ url_type }}/{{ fingerprint }}">{{ fingerprint|upper}}</a>
 
  {% if '.onion' in request.url_root %}
 
    {% 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) %}
0 comments (0 inline, 0 general)