From 4211f8c146fa56cf36a83b3a3ccb647f3247655c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 15 Jun 2020 11:28:57 +0200 Subject: [PATCH] toodego: update decheterie attributes for new dataset (#44064) --- templates/variants/toodego/combo/json/decheterie.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/variants/toodego/combo/json/decheterie.html b/templates/variants/toodego/combo/json/decheterie.html index 674fb1c6..52d04990 100644 --- a/templates/variants/toodego/combo/json/decheterie.html +++ b/templates/variants/toodego/combo/json/decheterie.html @@ -28,7 +28,7 @@ @@ -40,11 +40,11 @@ {% for vehicle in decheterie.properties.allowed_vehicles %} - {{ vehicle|get:"http://schema.org/category" }} - {% if vehicle.pricePerDropoff|get:"http://schema.org/value" == 0 %}Gratuit - {% else %}{{ vehicle.pricePerDropoff|get:"http://schema.org/value" }}€{% endif %} + {{ vehicle|get:"schema:category" }} + {% if vehicle.pricePerDropoff|get:"schema:value" == 0 %}Gratuit + {% else %}{{ vehicle.pricePerDropoff|get:"schema:value" }}€{% endif %} {% if not vehicle.monthlyAllowedDropoffs %}Illimité{% else %} - {{ vehicle.monthlyAllowedDropoffs|get:"http://schema.org/maxValue" }} passages{% endif %} + {{ vehicle.monthlyAllowedDropoffs|get:"schema:maxValue" }} passages{% endif %} {% endfor %}