<li><a href="{% url teleforma-help %}" class="blue">{% trans "Help" %}</a></li>
{% endif %}
+ {% if user.is_staff or user.is_superuser %}
<li style="a.active{background-image:/static/telemeta/images/user_tr_bk.png; background-repeat: no-repeat; background-position: 1ex .5ex;}">
<a href="#accounts#" class="blue">{% if user.first_name and user.last_name %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}</a>
<ul>
<li><a href="{% url telemeta-logout %}">{% trans "Sign out" %}</a></li>
</ul>
</li>
+ {% else %}
+ <li><a href="{% url telemeta-profile-detail user.username %}" class="darkblue">{% trans "Profile" %}</a></li>
+ <li><a href="{% url telemeta-logout %}" class="black">{% trans "Sign out" %}</a></li>
+ {% endif %}
{% endif %}
{% endif %}