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' %}
|
{% include 'public/edit/tags.html.twig' %}
|
||||||
|
|
||||||
<div class="mb-4">
|
{# <div class="mb-4" id="previsualisation_tags">#}
|
||||||
<h4>Prévisualisation des tags OSM (texte à copier-coller)</h4>
|
{# <h4>Prévisualisation des tags OSM (texte à copier-coller)</h4>#}
|
||||||
{% set tags_for_textarea = {} %}
|
{# {% set tags_for_textarea = {} %}#}
|
||||||
{% for k, v in commerce_overpass.tags_converted %}
|
{# {% for k, v in commerce_overpass.tags_converted %}#}
|
||||||
{% if v is not empty %}
|
{# {% if v is not empty %}#}
|
||||||
{% set tags_for_textarea = tags_for_textarea|merge({ (k): v }) %}
|
{# {% set tags_for_textarea = tags_for_textarea|merge({ (k): v }) %}#}
|
||||||
{% endif %}
|
{# {% endif %}#}
|
||||||
{% endfor %}
|
{# {% endfor %}#}
|
||||||
{% include 'public/_tags_textarea.html.twig' with { 'tags': tags_for_textarea } %}
|
{# {% include 'public/_tags_textarea.html.twig' with { 'tags': tags_for_textarea } %}#}
|
||||||
</div>
|
{# </div>#}
|
||||||
|
|
||||||
<div id="validation_messages" class="alert alert-danger d-none"></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">
|
<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 %}
|
{% block social_medias %}
|
||||||
<fieldset class="mb-3">
|
<fieldset class="mb-3">
|
||||||
<legend class="h6">Réseaux sociaux</legend>
|
<h2 class="mt-4">
|
||||||
|
Réseaux sociaux
|
||||||
|
</h2>
|
||||||
|
|
||||||
{% set social_medias = {
|
{% set social_medias = {
|
||||||
'mastodon': { 'icon': 'bi-mastodon', 'label': 'Mastodon' },
|
'mastodon': { 'icon': 'bi-mastodon', 'label': 'Mastodon' },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue