publik-base-theme/templates/variants/toodego/combo/json/taxi.html

24 lines
1.0 KiB
HTML

{% load assets combo gnm l10n %}
{% with station=json.features.0 %}
<div class="tile taxi" data-tile-cache="300">
<div class="tile-picture" style="background-image: url({% asset_url "picture:taxi" %})"></div>
<div class="tile-head">
<div class="tile-title">
<h2>Station de taxi {{station.properties.adresse}}</h2>
<span class="producer" style="background-image: url({% asset_url "logo:grandlyon" %})">Grand Lyon</span>
</div>
</div>
{% include "combo/dashboard_cell_icons.html" %}
<div class="tile-content">
<div class="misc">
<span>{{station.properties.nbemplacements}} emplacement{{station.properties.nbemplacements|pluralize}}</span>
</div>
</div>
<div class="tile-actions">
{% localize off %}
<a class="action-goto" data-lat="{{station.geometry.coordinates.1}}" data-lng="{{station.geometry.coordinates.0}}" href="/m-y-rendre/?to={{cell.id}}">M'y rendre</a>
{% endlocalize %}
</div>
</div>
{% endwith %}