2025-05-26 12:57:10 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Hello AdminController!{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<style>
|
|
|
|
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
|
|
|
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<div class="example-wrapper">
|
|
|
|
<h1>Labourage fait sur la zone "{{ zone }}" ✅</h1>
|
|
|
|
|
2025-05-26 23:51:46 +02:00
|
|
|
<p>
|
|
|
|
lieux trouvés en plus: {{ results|length }}
|
|
|
|
</p>
|
|
|
|
|
2025-05-26 12:57:10 +02:00
|
|
|
{# {{ dump(results) }} #}
|
2025-05-26 23:51:46 +02:00
|
|
|
<hr>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
commerces existants disposant d'un moyen de contact mail: {{ commerces|length }}
|
|
|
|
</p>
|
|
|
|
{# {{ dump(commerces[0]) }} #}
|
|
|
|
<ul>
|
|
|
|
{% for commerce in commerces %}
|
|
|
|
<li>
|
|
|
|
{% if commerce.name is not null %}
|
|
|
|
{{ commerce.name }},
|
|
|
|
{% else %}
|
|
|
|
un lieu sans nom
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{# {{ commerce.note }},
|
|
|
|
{{ commerce.has_address }},
|
|
|
|
{{ commerce.has_website }},
|
|
|
|
{{ commerce.has_wheelchair }},
|
|
|
|
{{ commerce.has_note }} #}
|
|
|
|
|
|
|
|
<a href="https://www.openstreetmap.org/{{ commerce.getOsmKind() }}/{{ commerce.getOsmId() }}" target="_blank">voir sur osm</a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
2025-05-26 12:57:10 +02:00
|
|
|
{% endfor %}
|
2025-05-26 23:51:46 +02:00
|
|
|
</ul>
|
2025-05-26 12:57:10 +02:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|