Commit 4e40f151 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Merge branch 'fix/members-tabs' into 'master'

Fix member tabs active state

See merge request !1181
parents f6d512dd 1abf5bee
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</li> </li>
{% endfor %} {% endfor %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link{% if filter == "old" %}active{% endif %}" <a class="nav-link{% if filter == "older" %}active{% endif %}"
href="{% url 'members:index' %}?filter=older{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory"> href="{% url 'members:index' %}?filter=older{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory">
{% trans "Older" %} {% trans "Older" %}
</a> </a>
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link{% if filter == "honor" %} active{% endif %}" <a class="nav-link{% if filter == "honorary" %} active{% endif %}"
href="{% url 'members:index' %}?filter=honorary{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory"> href="{% url 'members:index' %}?filter=honorary{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory">
{% trans "Honorary Members" %} {% trans "Honorary Members" %}
</a> </a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link{% if filter == "ex" %} active{% endif %}" <a class="nav-link{% if filter == "former" %} active{% endif %}"
href="{% url 'members:index' %}?filter=former{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory"> href="{% url 'members:index' %}?filter=former{% if keywords %}&keywords={{ keys }}{% endif %}{% if page %}&page={{ page }}{% endif %}#members-directory">
{% trans "Former Members" %} {% trans "Former Members" %}
</a> </a>
......
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