dont show teammembers on dashboard if shift was full

pull/1/head
parent b41d18c152
commit f16e6f15a5

@ -17,7 +17,7 @@
<tr> <tr>
<td>{{ shift.room.name }}</td> <td>{{ shift.room.name }}</td>
<td>{{ shift.start_at }}</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> </tr>
{% empty %} {% empty %}
<tr> <tr>

Loading…
Cancel
Save