mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-04 17:04:53 +02:00
style medias sociaux
This commit is contained in:
parent
21d3a5dfc7
commit
2572e045dc
2 changed files with 13 additions and 13 deletions
|
@ -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">
|
||||
|
|
|
@ -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' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue