Skip to content
Snippets Groups Projects
Commit 81337591 authored by Roang's avatar Roang
Browse files

Fix TeamListView for staff members_count

Incorrect check for staff status on the user object.
parent f64980a4
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@
<a href="{% url 'backoffice:team' uuid=team.uuid %}">{{ team.name }}</a>
</td>
<td>{{ team.get_visibility_display }}</td>
{% if user.is_staff %}<td>{{ team.members_count }}</td>{% endif %}
{% if conferencemember.is_staff %}<td>{{ team.members_count }}</td>{% endif %}
<td>
{% if team.is_member %}
{{ team.is_manager|yesno }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment