Tessier 4 jaren geleden
bovenliggende
commit
6674b8054d

File diff suppressed because it is too large
+ 112 - 0
web/app/themes/la_mine/src/assets/images/picto_transition.svg


+ 27 - 16
web/app/themes/la_mine/templates/single.twig

@@ -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>

Some files were not shown because too many files changed in this diff