{% load combo gnm l10n assets %} {% with mairie=json.features.0 is_place_page=page|is_place_page place_page=cell|place_page %} {% get_tile_picture_size page as size %}
{% if is_place_page %} {% placeholder "infos-pratiques" name="Infos pratiques" render=False %} {% placeholder "galerie" name="Galerie photos" render=False %}
{% else %}
{% endif %}

{{mairie.properties.nom}}

{% with producer=mairie.properties.address.addressLocality|as_producer %} {{ producer.label }} {% endwith %}
{% include "combo/dashboard_cell_icons.html" %} {% if is_place_page %}
{% include "combo/json/includes/share.html" with place=mairie url=cell|place_page_url %} {% placeholder "infos-pratiques" %} {% with commune_data=page.slug|as_commune %} {% if commune_data.gnm %} Accéder à tous les services de la commune {% endif %} {% endwith %}
{% include "combo/json/includes/adresse.html" with place=mairie %} {% if mairie.properties.telephone %}

Téléphone

{{mairie.properties.telephone}}
Appeler
{% endif %} {% include "combo/json/includes/horaires.html" with place=mairie %}
{% gnm_place_map mairie.geometry.coordinates.1 mairie.geometry.coordinates.0 %} {% placeholder "galerie" %}
{% else %}
{{mairie.properties|as_opening_hours_badge}}
{% localize off %} M'y rendre {% endlocalize %} {% if mairie.properties.telephone %} Appeler {% endif %} d'infos
{% endif %}
{% endwith %}