dont show teammembers on dashboard if shift was full
This commit is contained in:
parent
b41d18c152
commit
f16e6f15a5
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue