Commit 527d3f56 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

fix tab activation

parent 1e685275
......@@ -10,16 +10,16 @@
{% endblock %}
{% block page.nav.items %}
<li class="{% if tab == "profile" %}active{% endif %}">
<li class="{% if tab == "im/profile" %}active{% endif %}">
<a href="{% url astakos.im.views.edit_profile %}">Profile</a>
</li>
<li class="{% if not tab %}active{% endif %}">
<a href="{% url django.contrib.auth.views.password_change %}">Change password</a>
</li>
<li class="{% if tab == "invitations" %}active{% endif %}">
<li class="{% if tab == "im/invitations" %}active{% endif %}">
<a href="{% url astakos.im.views.invite %}">Invitations</a>
</li>
<li class="{% if tab == "feedback" %}active{% endif %}">
<li class="{% if tab == "im/feedback" %}active{% endif %}">
<a href="{% url astakos.im.views.send_feedback %}">Send feedback</a>
</li>
{% endblock %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment