Changeset - de6652eaf965
[Not reviewed]
default
0 3 0
Dennis Fink - 10 years ago 2014-12-14 11:51:36
dennis.fink@c3l.lu
Use configuration variables for onion addresses, as these are more prone to change
3 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/base.html
Show inline comments
 
@@ -34,7 +34,7 @@
 
      <ul class="nav navbar-nav navbar-left">
 
        <li>
 
          {% if '.onion' in request.url_root %}
 
            <a href="//qzz2cvotstk357oj.onion/doku.php?id=news">News</a>
 
            <a href="//{{ config['ENNSTATUS_WIKI_ONION_ADDRESS']}}/doku.php?id=news">News</a>
 
          {% else %}
 
            <a href="//wiki.enn.lu/doku.php?id=news">News</a>
 
          {% endif %}
 
@@ -74,7 +74,7 @@
 
        </li>
 
        <li>
 
          {% if '.onion' in request.url_root %}
 
            <a href="//qzz2cvotstk357oj.onion">Wiki</a>
 
            <a href="//{{ config['ENNSTATUS_WIKI_ONION_ADDRESS'] }}">Wiki</a>
 
          {% else %}
 
            <a href="//wiki.enn.lu">Wiki</a>
 
          {% endif %}
ennstatus/templates/root/contact.html
Show inline comments
 
@@ -30,7 +30,7 @@
 
              {{ address['country'] }}<br>
 
              <br>
 
      <abbr title="E-Mail"><span class="glyphicon glyphicon-envelope"></span></abbr> : <a href="mailto:info@enn.lu">info@enn.lu</a> <span class="glyphicon glyphicon-lock"></span> GPG: <a href="http://keyserver.cypherpunk.lu:11371/pks/lookup?search=info@enn.lu&op=vindex" target="_blank">0x02225522</a><br>
 
      <abbr title="Website"><span class="glyphicon glyphicon-cloud"></span></abbr> : <a href="//enn.lu/">enn.lu/</a> <strong>or</strong> <a href="//wwjewp6ca4rkudyj.onion/" target="_blank">wwjewp6ca4rkudyj.onion</a><br>
 
      <abbr title="Website"><span class="glyphicon glyphicon-cloud"></span></abbr> : <a href="//enn.lu/">enn.lu/</a> <strong>or</strong> <a href="//{{ config['ENNSTATUS_ONION_ADDRESS'] }}/" target="_blank">{{ config['ENNSTATUS_ONION_ADDRESS'] }}</a><br>
 
      <abbr title="Phone"><span class="glyphicon glyphicon-earphone"></span></abbr> : +352-691-71-77-44<br>
 
      <abbr title="Fax"><span class="glyphicon glyphicon-phone-alt"></span></abbr> : +352-20-21-18-60
 
    </address>
ennstatus/templates/status/macros.html
Show inline comments
 
@@ -30,7 +30,7 @@
 
    {% set url_type = 'bridge' %}
 
  {% endif %}
 
  {% if '.onion' in request.url_root %}
 
    {% set url_root = '//ji3yb2tncy6naj7b.onion' %}
 
    {% set url_root = '//%s' % config['ENNSTATUS_GLOBE_ONION_ADDRESS'] %}
 
  {% else %}
 
    {% set url_root = '//globe.enn.lu' %}
 
  {% endif %}
0 comments (0 inline, 0 general)