fix: pluralize "Teami(s)"
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8157c85363
commit
5076d24dac
|
@ -14,11 +14,13 @@
|
||||||
({{ night }})
|
({{ night }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% with shift.required_helpers|default:shift.room.required_helpers as required_helpers %}
|
||||||
{% if shift.event.calendar.restricted %}
|
{% if shift.event.calendar.restricted %}
|
||||||
({{ shift.required_helpers|default:shift.room.required_helpers }} Teamis)
|
({{ required_helpers }} Teami{{ required_helpers|pluralize }})
|
||||||
{% else %}
|
{% else %}
|
||||||
({{ shift.registration_count }}/{{ shift.required_helpers|default:shift.room.required_helpers }})
|
({{ shift.registration_count }}/{{ required_helpers }})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endwith %}
|
||||||
</h3>
|
</h3>
|
||||||
{% if shift.room.description %}
|
{% if shift.room.description %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
Loading…
Reference in New Issue