Skip to content

Commit ee74aef

Browse files
committed
Fix deafult tab
1 parent 8a5a2b9 commit ee74aef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/templates/clients/list.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ <h1 class="mt-4 mb-4">{{ request.user.username }}'s clients:</h1>
2929
<ul class="nav nav-tabs">
3030
{% if not user.is_agent %}
3131
<li class="nav-item">
32-
<a class="nav-link {% if type_client == 'unassigned' %} active {% endif %}" aria-current="page" href="?type=unassigned">Unassigned</a>
32+
<a class="nav-link {% if client_type == 'unassigned' %} active {% endif %}" aria-current="page" href="?type=unassigned">Unassigned</a>
3333
</li>
3434
{% endif %}
3535
<li class="nav-item">
36-
<a class="nav-link {% if type_client == 'assigned' %} active {% endif %}" href="?type=assigned">Assigned</a>
36+
<a class="nav-link {% if client_type == 'assigned' %} active {% endif %}" href="?type=assigned">Assigned</a>
3737
</li>
3838
<li class="nav-item">
39-
<a class="nav-link {% if type_client == 'converted' %} active {% endif %}" href="?type=converted">Converted</a>
39+
<a class="nav-link {% if client_type == 'converted' %} active {% endif %}" href="?type=converted">Converted</a>
4040
</li>
4141
</ul>
4242

0 commit comments

Comments
 (0)