2
0
Fork 0

dont show teammembers on dashboard if shift was full

This commit is contained in:
Andreas (@xAndy) Zimmermann 2023-05-20 16:17:03 +02:00
parent b41d18c152
commit f16e6f15a5
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<tr>
<td>{{ shift.room.name }}</td>
<td>{{ shift.start_at }}</td>
<td>{% for fa in shift.fallbackassignment_set.all %}{{ fa.team_member.name }}{% if not forloop.last %}, {% endif %}{% endfor %}</td>
<td>{% for fa in shift.fallbackassignment_set.all %}{% if not fa.was_full %}{{ fa.team_member.name }}{% if not forloop.last %}, {% endif %}{% endif %}{% endfor %}</td>
</tr>
{% empty %}
<tr>