style medias sociaux

This commit is contained in:
Tykayn 2025-07-13 18:04:30 +02:00 committed by tykayn
parent 21d3a5dfc7
commit 2572e045dc
2 changed files with 13 additions and 13 deletions

View file

@ -167,16 +167,16 @@
{% include 'public/edit/tags.html.twig' %}
<div class="mb-4">
<h4>Prévisualisation des tags OSM (texte à copier-coller)</h4>
{% set tags_for_textarea = {} %}
{% for k, v in commerce_overpass.tags_converted %}
{% if v is not empty %}
{% set tags_for_textarea = tags_for_textarea|merge({ (k): v }) %}
{% endif %}
{% endfor %}
{% include 'public/_tags_textarea.html.twig' with { 'tags': tags_for_textarea } %}
</div>
{# <div class="mb-4" id="previsualisation_tags">#}
{# <h4>Prévisualisation des tags OSM (texte à copier-coller)</h4>#}
{# {% set tags_for_textarea = {} %}#}
{# {% for k, v in commerce_overpass.tags_converted %}#}
{# {% if v is not empty %}#}
{# {% set tags_for_textarea = tags_for_textarea|merge({ (k): v }) %}#}
{# {% endif %}#}
{# {% endfor %}#}
{# {% include 'public/_tags_textarea.html.twig' with { 'tags': tags_for_textarea } %}#}
{# </div>#}
<div id="validation_messages" class="alert alert-danger d-none"></div>
<div class="d-grid gap-2 d-md-flex justify-content-md-end mt-4">

View file

@ -1,8 +1,8 @@
{# (medias sociaux TODO) #}
{% block social_medias %}
<fieldset class="mb-3">
<legend class="h6">Réseaux sociaux</legend>
<h2 class="mt-4">
Réseaux sociaux
</h2>
{% set social_medias = {
'mastodon': { 'icon': 'bi-mastodon', 'label': 'Mastodon' },