toodego: update decheterie attributes for new dataset (#44064)

This commit is contained in:
Frédéric Péters 2020-06-15 11:28:57 +02:00
parent 74746a5976
commit 4211f8c146
1 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@
<ul class="allowed-waste">
{% for waste in decheterie.properties.allowed_waste %}
<li>{{ waste|get:"http://schema.org/category" }}</li>
<li>{{ waste|get:"schema:category" }}</li>
{% endfor %}
</ul>
@ -40,11 +40,11 @@
<tbody>
{% for vehicle in decheterie.properties.allowed_vehicles %}
<tr>
<td>{{ vehicle|get:"http://schema.org/category" }}</td>
<td>{% if vehicle.pricePerDropoff|get:"http://schema.org/value" == 0 %}Gratuit
{% else %}{{ vehicle.pricePerDropoff|get:"http://schema.org/value" }}€{% endif %}</td>
<td>{{ vehicle|get:"schema:category" }}</td>
<td>{% if vehicle.pricePerDropoff|get:"schema:value" == 0 %}Gratuit
{% else %}{{ vehicle.pricePerDropoff|get:"schema:value" }}€{% endif %}</td>
<td>{% if not vehicle.monthlyAllowedDropoffs %}Illimité{% else %}
{{ vehicle.monthlyAllowedDropoffs|get:"http://schema.org/maxValue" }} passages{% endif %}</td>
{{ vehicle.monthlyAllowedDropoffs|get:"schema:maxValue" }} passages{% endif %}</td>
</tr>
{% endfor %}
</tbody>