chore(fallback): do not show registration count for team-only shifts
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1dc92cba19
commit
2bb564ebce
|
@ -73,7 +73,13 @@ Diese Schichtzuteilung wurde maschinell erstellt und ist auch ohne Unterschrift
|
|||
<td>{{ shift.start_at }}</td>
|
||||
<td>{{ shift.duration|duration }}</td>
|
||||
<td>{{ shift.room.name }} </td>
|
||||
<td>{{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}</td>
|
||||
<td>
|
||||
{% if assignment.restricted %}
|
||||
Nur Team
|
||||
{% else %}
|
||||
{{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% for fa in shift.fallbackassignment_set.all %}{% if fa.traded_to %}{{ fa.traded_to.name }}{% else %}{{ fa.team_member.name }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %}
|
||||
</td>
|
||||
|
|
Loading…
Reference in New Issue