Fix pluralisation

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent 2837447159
commit 484d18bc3a

View file

@ -99,7 +99,9 @@ products:
<p>
{{ product.description }}
{% if product.remainingPlaces %}
{% if product.remainingPlaces == 1 %}
<strong>1 place remaining!</strong>
{% elseif product.remainingPlaces > 1 %}
<strong>{{ product.remainingPlaces }} places remaining!</strong>
{% elseif product.isLimited %}
<strong>Limited places available!</strong>