Correction nb événements d'un lieu
This commit is contained in:
parent
e71d65f04f
commit
970c6d7a3c
@ -38,8 +38,7 @@
|
||||
<ul>
|
||||
<li><strong>Adresse :</strong> {{ object.address }}, {{ object.city }}</li>
|
||||
<li><strong>Coordonnée GPS :</strong> <a href="geo:{{ object.location }}">{{ object.location }}</a></li>
|
||||
|
||||
{% with place.nb_events_future as nb %}
|
||||
{% with object.nb_events_future as nb %}
|
||||
{% if nb > 0 %}
|
||||
<li>{{ nb }} événement{{ nb|pluralize }} à venir</li>
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user