src/cm/templates/site/layout/header.html
changeset 652 2484db74c150
parent 568 0a19e3214687
--- a/src/cm/templates/site/layout/header.html	Tue May 06 13:52:01 2014 +0200
+++ b/src/cm/templates/site/layout/header.html	Tue May 06 15:55:24 2014 +0200
@@ -4,9 +4,6 @@
 
 <div id="header_controls">
 
-{% if not DISABLE_TRACKING %}
-   <a id="hide-piwik-cookies-optout">{% blocktrans %}Privacy policy{% endblocktrans %} ▼ </a> ·
-{% endif %}
 {% if user.is_authenticated %}<b>{{ user.username }}</b> ·{% endif %} 
    <a title="{% blocktrans %}Home{% endblocktrans %}" href="{% url index %}">{% blocktrans %}Home{% endblocktrans %}</a>
    {% if can_create_text %}    
@@ -16,6 +13,9 @@
    {% endif %}
 {% if user.is_authenticated %}
  · <a title="{% blocktrans %}Profile{% endblocktrans %}" href="{% url profile %}">{% blocktrans %}Profile{% endblocktrans %}</a>
+{% if TRACKING_ID %}
+ ·  <a id="hide-piwik-cookies-optout">{% blocktrans %}Privacy policy{% endblocktrans %} </a> 
+{% endif %}
  · <a title="{% blocktrans %}Logout{% endblocktrans %}" href="{% url logout %}">{% blocktrans %}Logout{% endblocktrans %}</a>
 {% else%} 
  · <a title="{% blocktrans %}Login{% endblocktrans %}" href="{% url login %}">{% blocktrans %}Login{% endblocktrans %}</a>