This commit is contained in:
Tessier
2020-11-29 23:21:02 +01:00
parent a2852d3499
commit 6674b8054d
2 changed files with 144 additions and 16 deletions
+27 -16
View File
@@ -60,29 +60,40 @@
{{ post.meta('description') }}
</div>
<footer>
{% if group.piece_jointe %}
<div class="pj">
<h3>Pièce-jointe</h3>
<div>
<a download target="_blank" href="{{group.piece_jointe}}">Télécharger la pièce jointe</a>
</div>
</div>
{% endif %}
<div class="tarif">
<h3>Tarif</h3>
<p>{{group.type_tarif}}</p>
</div>
<div class="inscription">
{% if group.inscription %}
<h3>Inscription</h3>
{% for Items in group.inscription %}
{% for detail in Items %}
{% if detail.acf_fc_layout == 'en_libre_acces' %}
<p class="texte_details">{{ detail.texte }}</p>
{% endif %}
{% if detail.acf_fc_layout == 'lien_dinscription' %}
<div class="Btn group_link">
<a target="_blank" href="{{detail.url}}">{{detail.texte}}</a>
</div>
{% endif %}
{% endfor %}
{% for detail in Items.type_dinscription %}
{% endfor %}
{% if group.inscription %}
<h3>Inscription</h3>
{% for Items in group.inscription %}
{% for detail in Items %}
{% if detail.acf_fc_layout == 'en_libre_acces' %}
<p class="texte_details">{{ detail.texte }}</p>
{% endif %}
{% if detail.acf_fc_layout == 'lien_dinscription' %}
<div class="Btn group_link">
<a target="_blank" href="{{detail.url}}">{{detail.texte}}</a>
</div>
{% endif %}
{% endfor %}
{% endif %}
{% for detail in Items.type_dinscription %}
{% endfor %}
{% endfor %}
{% endif %}
</div>
<div class="Btn voir_event">
<a href="{{post.meta('voir_evenement_facebook').lien_facebook}}">{{post.meta('voir_evenement_facebook').texte}}</a>