only display help button on team fallback page if shift is not full
This commit is contained in:
parent
a1c1e93ef7
commit
fcff581d33
|
@ -49,7 +49,9 @@ Diese Schichtzuteilung wurde maschinell erstellt und ist auch ohne Unterschrift
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
{% if shift.registration_count < shift.required_helpers|default:shift.room.required_helpers %}
|
||||||
<a class="button is-primary is-small mr-0" href="{% url 'shift' shift.id %}">Mithelfen</a>
|
<a class="button is-primary is-small mr-0" href="{% url 'shift' shift.id %}">Mithelfen</a>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue