|
@@ -1,34 +1,25 @@
|
|
-{% if form %}
|
|
|
|
-{% include '/components/formulaire.twig' %}
|
|
|
|
-{% endif %}
|
|
|
|
-{{dump(post)}}
|
|
|
|
|
|
|
|
-{% if name == 'benevole' %}
|
|
|
|
-<div class="colonne_gauche">
|
|
|
|
- <section class="article-content">
|
|
|
|
- <h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
|
|
|
- <div class="article_body">
|
|
|
|
- <!-- {{dump(post)}} -->
|
|
|
|
- {{ post.meta('paragraphe_bloc') }}
|
|
|
|
- </div>
|
|
|
|
- </section>
|
|
|
|
-
|
|
|
|
- <div class = "bouttons" >
|
|
|
|
- {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
|
|
- {% include '/components/buttons/bouton_contact.html.twig' %}
|
|
|
|
- </div>
|
|
|
|
-</div><!-- /colonne_gauche -->
|
|
|
|
-<!-- cleaner le code + condition bouton pour asso voir pour condition bouton dans le wordpress -->
|
|
|
|
-{% endif %}
|
|
|
|
|
|
+ <!-- cleaner le code + condition bouton pour asso voir pour condition bouton dans le wordpress -->
|
|
|
|
|
|
-{{dump(post)}}
|
|
|
|
<div class="colonne_gauche">
|
|
<div class="colonne_gauche">
|
|
<section class="article-content">
|
|
<section class="article-content">
|
|
-
|
|
|
|
|
|
+ {% if name == 'collecte' %}
|
|
|
|
+ {#{% include '/components/formulaire.twig' %}#}
|
|
|
|
+ {% endif %}
|
|
{% if name == 'association' %}
|
|
{% if name == 'association' %}
|
|
<div class="article_body">
|
|
<div class="article_body">
|
|
<h1 class="titre_bloc">{{ post.meta('titre') }}</h1>
|
|
<h1 class="titre_bloc">{{ post.meta('titre') }}</h1>
|
|
- {{ post.meta('file') }}
|
|
|
|
|
|
+ <ul>
|
|
|
|
+ {% for item in post.meta('documents') %}
|
|
|
|
+ <li>
|
|
|
|
+ <a href="{{item.document.document.url}}" download>{{item.document.nom_doc}}</a>
|
|
|
|
+ </li>
|
|
|
|
+ {% endfor %}
|
|
|
|
+ </ul>
|
|
|
|
+ <div class="liste_doc"> {{ post.meta('file') }}</div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class = "bouttons" >
|
|
|
|
+ {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
</div>
|
|
</div>
|
|
{% elseif name == 'benevole' %}
|
|
{% elseif name == 'benevole' %}
|
|
<h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
|
<h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
|
@@ -36,10 +27,11 @@
|
|
<!-- {{dump(post)}} -->
|
|
<!-- {{dump(post)}} -->
|
|
{{ post.meta('paragraphe_bloc') }}
|
|
{{ post.meta('paragraphe_bloc') }}
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class = "bouttons" >
|
|
|
|
+ {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
|
|
+ {% include '/components/buttons/bouton_contact.html.twig' %}
|
|
|
|
+ </div>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
|
|
</section>
|
|
</section>
|
|
- <div class = "bouttons" >
|
|
|
|
- {% include '/components/buttons/bouton_asso.html.twig' %}
|
|
|
|
- </div>
|
|
|
|
</div><!-- /colonne_gauche -->
|
|
</div><!-- /colonne_gauche -->
|