add local mapbox script, update objects

This commit is contained in:
Tykayn 2025-06-04 00:16:56 +02:00 committed by tykayn
parent c6e05463b1
commit b1f6433b7d
13 changed files with 309 additions and 182 deletions

View file

@ -4,7 +4,6 @@
{% block stylesheets %}
{{ parent() }}
{# <link href='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css' rel='stylesheet' /> #}
{% endblock %}
{% block body %}
@ -32,18 +31,8 @@
<br>
<a href="{{ path('app_public_index') }}">Retour à la page d'accueil</a>
</div>
{# <h2>Tags</h2> #}
{# {{dump(commerce)}} #}
{# {% if commerce.tags_converted."contact:email" is defined %}
<a class="btn btn-primary" href="mailto:{{ commerce.tags_converted."contact:email" }}">C'est mon commerce, le modifier</a>
{% else %}
<a class="btn btn-primary" href="{{ path('app_public_index') }}">C'est mon commerce, pour le modifier je souhaite ajouter mon email de contact</a>
{% endif %} #}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{# <script src='https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js'></script> #}
{% endblock %}