templates/articles/agenda.html.twig line 1

  1. {% extends "base.html.twig" %}
  2. {# extension.excerpt #}
  3. {% block style %}
  4. {{ parent() }}
  5. {% include "articles/styles/base-css-logic.html.twig" %}
  6. {% if content.form is defined and content.form is not empty %}
  7. {% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'agenda_form_css'} %}
  8. {% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'loader_css'} %}
  9. {% endif %}
  10. {% endblock %}
  11. {% block content %}
  12. {% set values = "" %}
  13. {% set values = ['Actualités', 'Agenda'] %}
  14. {% include "articles-blocks/breadcrumb.html.twig" with {titles : values} %}
  15. <section class="single-article-container mb-20px" id="agenda">
  16. <article>
  17. <section>
  18. <div class="mlr-1em">
  19. {% include "articles-blocks/header.html.twig" %}
  20. <div class="dflex jcsb lh28 fwwrap">
  21. <div>
  22. {% include "articles-blocks/contributors.html.twig" %}
  23. {% include "articles-blocks/publish-date.html.twig" %}
  24. </div>
  25. <div class="taright">
  26. {% include "articles-blocks/readtime.html.twig" %}
  27. {% include "articles-blocks/share-buttons.html.twig" %}
  28. </div>
  29. </div>
  30. {% if extension.excerpt.categories is defined and extension.excerpt.categories is not empty %}
  31. {% set categories = extension.excerpt.categories %}
  32. {% include "blocks/previews-from-controller/blocks/categories.html.twig" %}
  33. {% endif %}
  34. {% if content.chapo is defined and content.chapo is not empty %}
  35. <div class="fw500 lh28 fs20 text cgrey mt-40px mb-20px">{{ content.chapo|raw }}</div>
  36. {% endif %}
  37. </div>
  38. </section>
  39. {% if content.title is defined and content.title is not empty %}
  40. <div class="mb-3em mt-40px">
  41. <div class="mlr-1em fs18">
  42. <div class="pb1em">
  43. <h2>Informations pratiques</h2>
  44. </div>
  45. {% if content.organisator is defined and content.organisator is not empty %}
  46. <div class="container-infos-pratiques">
  47. <div class="icon-ctnr">
  48. <img src="/resources/img/user-offre-icon.svg" alt="Profil" class="mr-1em">
  49. </div>
  50. <span>
  51. Organisateur :
  52. {{ (content.organisator | raw) == "pqna" ? "PQN-A" : "Externe - " ~ content.organisator_attendants | raw }}
  53. </span>
  54. </div>
  55. {% endif %}
  56. {% if content.date is defined and content.date is not empty %}
  57. <div class="container-infos-pratiques">
  58. <div class="icon-ctnr">
  59. <img src="/resources/img/calendar-icon.svg" alt="Calendrier" class="mr-1em">
  60. </div>
  61. <span>
  62. {% if content.endDate is defined and content.endDate is not empty and content.endDate != content.date %}
  63. Du
  64. {% endif %}
  65. {{ content.date|format_datetime('full', 'none', locale='fr')|split(' ', 2)[1] }}
  66. {% if content.endDate is defined and content.endDate is not empty and content.endDate != content.date %}
  67. au
  68. {{ content.endDate|format_datetime('full', 'none', locale='fr')|split(' ', 2)[1] }}
  69. {% endif %}
  70. </span>
  71. <div class="icon-ctnr ml-1em">
  72. <img src="/resources/img/clock-icon.svg" alt="Calendrier" class="mr-1em">
  73. </div>
  74. <span>
  75. {% if content.time is defined and content.time is not empty %}
  76. {{ content.time }}
  77. {% endif %}
  78. </span>
  79. </div>
  80. {% endif %}
  81. {% if content.place_text is defined and content.place_text is not empty or
  82. content.place_link is defined and content.place_link is not empty %}
  83. <div class="container-infos-pratiques">
  84. <div class="icon-ctnr">
  85. <img src="/resources/img/pin-icon.svg" alt="Structure" class="mr-1em">
  86. </div>
  87. <span>
  88. {% if content.place_select == "texte" %}
  89. {{ content.place_text }}
  90. {% else %}
  91. <a href="{{ content.place_link }}" target="_blank">{{ content.place_link }}</a>
  92. {% endif %}
  93. </span>
  94. </div>
  95. {% endif %}
  96. <div class="container-infos-pratiques">
  97. <div class="icon-ctnr">
  98. <img src="/resources/img/cash-icon.svg" alt="Location" class="mr-1em">
  99. </div>
  100. {% if content.prices is defined and content.prices is not empty %}
  101. <span>
  102. {% if content.prices|length > 0 %}
  103. {% set finalPrice = 0 %}
  104. {% for price in content.prices %}
  105. {% if price.price is defined and price.price is not empty %}
  106. {% set finalPrice = finalPrice + price.price %}
  107. {% endif %}
  108. {% endfor %}
  109. {% if finalPrice > 0 %}
  110. De 0€ à
  111. {{ finalPrice|format_number(locale='fr') }}€
  112. {% else %}
  113. Gratuit
  114. {% endif %}
  115. {% endif %}
  116. </span>
  117. {% else %}
  118. Gratuit
  119. {% endif %}
  120. </div>
  121. {% if content.form %}
  122. <div id="form-info-container">
  123. {% include "articles/blocks/noscript.html.twig" %}
  124. {% if app.request.get('Erreur') is not null and app.request.get('Erreur') == 00000 or app.request.get('send') == true %}
  125. <p class="primary mt-1em">Vous êtes inscrit.e à cet événement. Pour vous désinscrire, veuillez contacter l'administrateur du site.</p>
  126. {% elseif app.request.get('Erreur') is not null and app.request.get('Erreur') == 00001 %}
  127. <p class="danger mt-1em">Vous avez annulé votre paiement. Veuillez patienter quelques secondes.</p>
  128. <meta http-equiv="refresh" content="15;URL={{sulu_content_root_path() ~ content.routePath}}">
  129. {% else %}
  130. {% if app.user and app.user.contact in content.participants and check_dynamic_entry(uuid, app.user.contact.id) is not null %}
  131. <p class="danger mt-1em">Une erreur s'est produite lors de la validation de votre inscription. Veuillez contacter l'administrateur du site.</p>
  132. {% elseif app.user and app.user.contact in content.participants %}
  133. <p class="primary mt-1em">Vous êtes inscrit.e à cet événement. Pour vous désinscrire, veuillez contacter l'administrateur du site.</p>
  134. {% endif %}
  135. {% endif %}
  136. </div>
  137. {% if not (app.user and app.user.contact in content.participants) or app.user is empty %}
  138. {% set referer = app.request.server.get('HTTP_REFERER') %}
  139. {% set PBX_SITE = app.request.server.get('PBX_SITE') %}
  140. {% set PBX_RANG = app.request.server.get('PBX_RANG') %}
  141. {% set PBX_IDENTIFIANT = app.request.server.get('PBX_IDENTIFIANT') %}
  142. {% set PBX_TOTAL = "%p%" %}
  143. {% set PBX_DEVISE = "978" %}
  144. {% if app.user %}
  145. {% set PBX_CMD = uuid ~ "_" ~ app.user.contact.id ~ "_" ~ "now"|date("U") %}
  146. {% set PBX_PORTEUR = app.user.email %}
  147. {% else %}
  148. {% set PBX_CMD = uuid ~ "_" ~ "now"|date("U") %}
  149. {% set PBX_PORTEUR = "%r%" %}
  150. {% endif %}
  151. {% set PBX_RETOUR = "Mt:M;Ref:R;Auto:A;Erreur:E;" %}
  152. {% set PBX_EFFECTUE = sulu_content_root_path() ~ content.routePath %}
  153. {% set PBX_REFUSE = sulu_content_root_path() ~ content.routePath %}
  154. {% set PBX_ANNULE = sulu_content_root_path() ~ content.routePath %}
  155. {% set PBX_ATTENTE = sulu_content_root_path() ~ content.routePath %}
  156. {% set PBX_HASH = "SHA512" %}
  157. {% set PBX_TIME = "now"|date("Y-m-d\\TH:i:sP") %}
  158. {% set PBX_REPONDRE_A = sulu_content_root_path() ~ "/paybox/payment/events" %}
  159. {% set hmac = app.request.server.get('HMAC_SITE') %}
  160. {% set msg = "PBX_SITE=" ~ PBX_SITE ~
  161. "&PBX_RANG=" ~ PBX_RANG ~
  162. "&PBX_IDENTIFIANT=" ~ PBX_IDENTIFIANT ~
  163. "&PBX_TOTAL=" ~ PBX_TOTAL ~
  164. "&PBX_DEVISE=" ~ PBX_DEVISE ~
  165. "&PBX_CMD=" ~ PBX_CMD ~
  166. "&PBX_PORTEUR=" ~ PBX_PORTEUR ~
  167. "&PBX_RETOUR=" ~ PBX_RETOUR ~
  168. "&PBX_EFFECTUE=" ~ PBX_EFFECTUE ~
  169. "&PBX_REFUSE=" ~ PBX_REFUSE ~
  170. "&PBX_ANNULE=" ~ PBX_ANNULE ~
  171. "&PBX_ATTENTE=" ~ PBX_ATTENTE ~
  172. "&PBX_HASH=" ~ PBX_HASH ~
  173. "&PBX_TIME=" ~ PBX_TIME ~
  174. "&PBX_REPONDRE_A=" ~ PBX_REPONDRE_A %}
  175. {% set form_id = content.form.vars['id'] %}
  176. {% set form_type = content.form.vars['value'].type %}
  177. {% set form_type_id = content.form.vars['value'].typeId %}
  178. {% set form_locale = content.form.vars['value'].locale %}
  179. {% set form_formId = content.form.children['formId'].vars['value'] %}
  180. {% set form_formName = content.form.children['formName'].vars['value'] %}
  181. {% set form_checksum = content.form.children['checksum'].vars['value'] %}
  182. {% if not app.user %}
  183. <button class="mt-1em CTA" id="show-registration-links">Je m'inscris</button>
  184. <p class="mt-2em dnone" id="registration-links">
  185. <a href="{{ path('sulu_community.registration') }}" class="cblue fw600">Créez vous un compte</a>
  186. ou
  187. <a href="{{ path('sulu_community.login') }}" class="cblue fw600">connectez-vous</a>
  188. afin de faciliter votre inscription
  189. {% if content.form_visible %}
  190. ou
  191. <span id="show-event-form" class="cblue fw600" tabindex="0">poursuivez sans compte</span>
  192. {% endif %}.
  193. </p>
  194. {% endif %}
  195. {% if (not app.user and content.form_visible) or (app.user is defined and app.user is not empty) %}
  196. <div {% if not app.user %} class="hidden" {% endif %} id="event-form-container">
  197. {{ form_start(content.form, {"attr": {"id": "sulu-agenda-form", "class": "dflex fdc prelative", "data-id": form_type_id}}) }}
  198. <div class="w100 h100 pabsolute with-loader">
  199. <div class="lds-dual-ring pabsolute form-loader" id="loader"></div>
  200. </div>
  201. {% set excludedValues = ['firstName', 'lastName', 'email', 'locale', 'type', 'typeId', 'formId', 'formName', 'checksum', 'text', 'text1', 'text2'] %}
  202. {% if app.user %}
  203. <input type="hidden" id="{{form_id ~ "_firstName" }}" name="{{form_id ~ "[firstName]"}}" value="{{ app.user.firstName }}">
  204. <input type="hidden" id="{{form_id ~ "_lastName" }}" name="{{form_id ~ "[lastName]"}}" value="{{ app.user.lastName }}">
  205. <input type="hidden" id="{{form_id ~ "_email" }}" name="{{form_id ~ "[email]"}}" value="{{ app.user.email }}">
  206. <input type="hidden" id="{{form_id ~ "_text2" }}" name="{{form_id ~ "[text2]"}}" value="{{ app.user.contact.structure }}">
  207. {% else %}
  208. {% if content.form.firstName is defined and content.form.firstName is not null %}
  209. <label for="{{form_id ~ "_firstName" }}" class="fw400 fs16 lh20 mb-8px mt-1em">Prénom *</label>
  210. <input type="text" id="{{form_id ~ "_firstName" }}" name="{{form_id ~ "[firstName]"}}" required="">
  211. {% endif %}
  212. {% if content.form.lastName is defined and content.form.lastName is not null %}
  213. <label for="{{form_id ~ "_lastName" }}" class="fw400 fs16 lh20 mb-8px mt-1em">Nom *</label>
  214. <input type="text" id="{{form_id ~ "_lastName" }}" name="{{form_id ~ "[lastName]" }}" required="">
  215. {% endif %}
  216. {% if content.form.email is defined and content.form.email is not null %}
  217. <label for="{{form_id ~ "_email" }}" class="fw400 fs16 lh20 mb-8px mt-1em">Email *</label>
  218. <input type="text" id="{{form_id ~ "_email" }}" name="{{form_id ~ "[email]" }}" required="">
  219. {% endif %}
  220. {% if content.form.text2 is defined and content.form.text2 is not null %}
  221. <label for="{{form_id ~ "_text2" }}" class="fw400 fs16 lh20 mb-8px mt-1em">Structure *</label>
  222. <input type="text" id="{{form_id ~ "_text2" }}" name="{{form_id ~ "[text2]" }}" required="">
  223. {% endif %}
  224. {% endif %}
  225. <input type="hidden" id="{{form_id ~ "_locale" }}" name="{{form_id ~ "[locale]"}}" value="{{ form_locale }}">
  226. <input type="hidden" id="{{form_id ~ "_type" }}" name="{{form_id ~ "[type]"}}" value="{{ form_type }}">
  227. <input type="hidden" id="{{form_id ~ "_typeId" }}" name="{{form_id ~ "[typeId]"}}" value="{{ form_type_id }}">
  228. <input type="hidden" id="{{form_id ~ "_formId" }}" name="{{form_id ~ "[formId]"}}" value="{{ form_formId }}">
  229. <input type="hidden" id="{{form_id ~ "_formName" }}" name="{{form_id ~ "[formName]"}}" value="{{ form_formName }}">
  230. <input type="hidden" id="{{form_id ~ "_checksum" }}" name="{{form_id ~ "[checksum]"}}" value="{{ form_checksum }}">
  231. <input type="hidden" id="{{form_id ~ "_text" }}" name="{{form_id ~ "[text]"}}" value="{{ PBX_CMD }}">
  232. <input type="hidden" id="{{form_id ~ "_text1" }}" name="{{form_id ~ "[text1]"}}" value="">
  233. {% for i, child in content.form.children|keys %}
  234. {% if child not in excludedValues %}
  235. {% set newChild = attribute(content.form, child) %}
  236. {% if "textarea" in child and "pqna description" in newChild.vars.label %}
  237. <input type="hidden" id="{{form_id ~ "_" ~ child }}" name="{{form_id ~ "[" ~ child ~ "]"}}">
  238. {% elseif "dropdown" in child and "Département" in newChild.vars.label %}
  239. {% if app.user.contact.departement is defined and app.user.contact.departement is not null %}
  240. {% set contact_dpmt = app.user.contact.departement.translations[0].translation %}
  241. {% else %}
  242. {% set contact_dpmt = "" %}
  243. {% endif %}
  244. <div class="mt-1em dflex fdc">
  245. <label class="fw400 fs16 lh20" for="{{ form_id ~ "_" ~ child }}" label_html="true">{{ field_label(content.form.children[child]) }}</label>
  246. <select name="{{ field_name(content.form.children[child]) }}" class="form-control" id="{{ form_id ~ "_" ~ child }}" {% if content.form.children[child].vars.required %} required {% endif %}>
  247. <option value=""></option>
  248. {% for label, value in field_choices(content.form.children[child]) %}
  249. {% set selected = (value == contact_dpmt) ? 'selected' : '' %}
  250. <option value="{{ value }}" {{ selected }}>{{ label }}</option>
  251. {% endfor %}
  252. </select>
  253. </div>
  254. {% elseif "dropdown" in child and "Fonction" in newChild.vars.label %}
  255. {% set contact_dpmt = "" %}
  256. {% if app.user %}
  257. {% if app.user.fonction is defined and app.user.fonction is not null %}
  258. {% set contact_dpmt = app.user.fonction %}
  259. {% elseif 'opérateur' in app.user.typologieActeurValue|lower or 'partenaires' in app.user.typologieActeurValue|lower or app.user.typologieActeurValue|lower == 'autres' %}
  260. {% set contact_dpmt = app.user.typologieActeurValue %}
  261. {% if app.user.typologieActeurValue|lower == 'partenaires' %}
  262. {% set contact_dpmt = 'Partenaire' %}
  263. {% endif %}
  264. {% if app.user.typologieActeurValue|lower == 'opérateurs' %}
  265. {% set contact_dpmt = 'Opérateur' %}
  266. {% endif %}
  267. {% else %}
  268. {% set contact_dpmt = "" %}
  269. {% endif %}
  270. {% endif %}
  271. <div class="mt-1em dflex fdc">
  272. <label class="fw400 fs16 lh20" for="{{ form_id ~ "_" ~ child }}" label_html="true">{{ field_label(content.form.children[child]) }}</label>
  273. <select name="{{ field_name(content.form.children[child]) }}" class="form-control" id="{{ form_id ~ "_" ~ child }}" {% if content.form.children[child].vars.required %} required {% endif %}>
  274. <option value=""></option>
  275. {% for label, value in field_choices(content.form.children[child]) %}
  276. {% set selected = (value == contact_dpmt) ? 'selected' : '' %}
  277. <option value="{{ value }}" {{ selected }}>{{ label }}</option>
  278. {% endfor %}
  279. </select>
  280. {# {% if contact_dpmt is not empty %}
  281. <input type="hidden" name="{{ field_name(content.form.children[child]) }}" value="{{ contact_dpmt }}">
  282. {% endif %} #}
  283. </div>
  284. {% elseif "salutation" in child %}
  285. <div class="mt-1em dflex fdc">
  286. <label class="fw400 fs16 lh20" for="{{ form_id ~ "_" ~ child }}" label_html="true">{{ field_label(content.form.children[child]) }}</label>
  287. <select name="{{ field_name(content.form.children[child]) }}" class="form-control" id="{{ form_id ~ "_" ~ child }}" {% if content.form.children[child].vars.required %} required {% endif %}>
  288. <option value=""></option>
  289. {% for label, value in field_choices(content.form.children[child]) %}
  290. <option value="{{ value }}">{{ label }}</option>
  291. {% endfor %}
  292. </select>
  293. </div>
  294. {% elseif child == "submit" %}
  295. {% if content.prices|length > 0 %}
  296. <div class="mt-1em dflex fdc" id="prices_checkbox_container">
  297. {% for i, price in content.prices %}
  298. {% set true_price = price.price %}
  299. {% if true_price is null %}
  300. {% set true_price = 0 %}
  301. {% endif %}
  302. {% set id = true_price ~ "_" ~ i %}
  303. <div class="dflex mt-8px">
  304. <input type="checkbox" class="price_checkboxes" id="{{id}}" value="{{ true_price }}">
  305. {# NE PAS TOUCHER A LA LIGNE EN DESSOUS SOUS PEINE DE NE PLUS FAIRE FONCTIONNE LE CODE JS ASSOCIER A CE DERNIER #}
  306. <label for="{{ id }}" class="fw400 fs16 lh20">{{ price.label }} - {{ true_price|format_number(locale='fr') }}€</label>
  307. </div>
  308. {% endfor %}
  309. </div>
  310. {% endif %}
  311. <div class="mt-1em dflex fdc">
  312. {{ form_label(newChild, {'attr': {'class': 'fw400 fs16 lh20'}, 'label_html': true}) }}
  313. {{ form_widget(newChild, {'attr': {'class': 'CTA nodeco diblock mt-1em lh28'}}) }}
  314. </div>
  315. {% elseif "checkbox" in child and "checkboxMultiple" not in child %}
  316. <div class="mt-1em checkbox dflex mb-8px">
  317. {{ form_widget(newChild, {'attr': {'class': 'mr-0p5em'}}) }}
  318. {{ form_label(newChild, '', {'label_attr': {'class': 'fw400 fs16 lh20'}, 'label_html': true}) }}
  319. </div>
  320. {% elseif "checkboxMultiple" in child or "radio" in child %}
  321. <div class="mt-1em{% if " checkboxmultiple" in child %} checkboxmultiple{% endif %}{% if " radio" in child %} radio{% endif %} mb-8px">
  322. {{form_label(newChild, '', {'label_attr': {'class': 'fw400 fs16 lh20 mb-1em dblock'}, 'label_html': true}) }}
  323. {% for subChild in newChild %}
  324. {% set margin = ' mb-8px' %}
  325. {% if "radio" in child %}
  326. {% set margin = '' %}
  327. {% endif %}
  328. <div class="mt-0p5em dflex{{ margin }}">
  329. {{ form_widget(subChild, {'attr': {'class': 'fw400 fs16 lh20 mr-0p5em' ~ margin}}) }}
  330. {{ form_label(subChild, '', {'label_attr': {'class': 'fw400 fs16 lh20' ~ margin}, 'label_html': true}) }}
  331. </div>
  332. {% endfor %}
  333. </div>
  334. {% elseif "please_fill_me" in child %}
  335. {%- block honeypot_row -%}
  336. <div class="dnone">
  337. {{ form_widget(newChild) }}
  338. </div>
  339. {%- endblock -%}
  340. {% elseif "dropdownMultiple" in child %}
  341. <div class="mt-1em dflex fdc checkboxMultiple">
  342. {{ form_label(newChild, '', {'label_attr': {'class': 'fw400 fs16 lh20 mb-8px'}, 'label_html': true}) }}
  343. <ul>
  344. {% for choice in newChild.vars.choices %}
  345. <li class="dflex jcsb aic">
  346. <div class="mt-0p5em dflex aic mb-8px">
  347. <input type="checkbox" id="{{ choice.value }}" value="{{ choice.value }}" name="{{ form_id ~ "[" ~ child ~ "]" }}[]" class="fw400 fs16 lh20 mr-0p5em mb-8px">
  348. <label for="{{ choice.value }}" class="fw400 fs16 lh20 mr-0p5em mb-8px">{{ choice.label|raw|trim }}</label>
  349. </div>
  350. </li>
  351. {% endfor %}
  352. </ul>
  353. </div>
  354. {% else %}
  355. <div class="mt-1em dflex fdc">
  356. {{ form_label(newChild, '', {'label_attr': {'class': 'fw400 fs16 lh20 mb-8px'}, 'label_html': true}) }}
  357. {{ form_widget(newChild) }}
  358. </div>
  359. {% endif %}
  360. {% endif %}
  361. {% endfor %}
  362. {{ form_end(content.form, {render_rest: false}) }}
  363. </div>
  364. <form id="paybox-form" action="{{ app.request.server.get('PBX_URL') }}" method="POST">
  365. <input type="hidden" name="PBX_SITE" value="{{ PBX_SITE }}">
  366. <input type="hidden" name="PBX_RANG" value="{{ PBX_RANG }}">
  367. <input type="hidden" name="PBX_IDENTIFIANT" value="{{ PBX_IDENTIFIANT }}">
  368. <input type="hidden" name="PBX_TOTAL" value="{{ PBX_TOTAL }}">
  369. <input type="hidden" name="PBX_DEVISE" value="{{ PBX_DEVISE }}">
  370. <input type="hidden" name="PBX_CMD" value="{{ PBX_CMD }}">
  371. <input type="hidden" name="PBX_PORTEUR" value="{{ PBX_PORTEUR }}">
  372. <input type="hidden" name="PBX_RETOUR" value="{{ PBX_RETOUR }}">
  373. <input type="hidden" name="PBX_EFFECTUE" value="{{ PBX_EFFECTUE }}">
  374. <input type="hidden" name="PBX_REFUSE" value="{{ PBX_REFUSE }}">
  375. <input type="hidden" name="PBX_ANNULE" value="{{ PBX_ANNULE }}">
  376. <input type="hidden" name="PBX_ATTENTE" value="{{ PBX_ATTENTE }}">
  377. <input type="hidden" name="PBX_HASH" value="{{ PBX_HASH }}">
  378. <input type="hidden" name="PBX_TIME" value="{{ PBX_TIME }}">
  379. <input type="hidden" name="PBX_REPONDRE_A" value="{{ PBX_REPONDRE_A }}">
  380. <input type="hidden" name="PBX_HMAC" value="{{ hash_hmac('sha512', msg, hmac)}}">
  381. </form>
  382. {% endif %}
  383. {% endif %}
  384. {% endif %}
  385. </div>
  386. </div>
  387. {% endif %}
  388. {% if content.main_content is defined and content.main_content is not empty and content.main_content|length > 0 %}
  389. {% for data in content.main_content %}
  390. {% if data.type == "sub_content" %}
  391. {% include "articles-blocks/articles-content.html.twig" %}
  392. {% endif %}
  393. {% if data.type == "linked_with" %}
  394. {% include "articles-blocks/linked-with.html.twig" %}
  395. {% endif %}
  396. {% if data.type == "iframe" %}
  397. {% include "blocks/iframe.html.twig" with {block: data} %}
  398. {% endif %}
  399. {% if data.type == "see_more" %}
  400. {% include "articles-blocks/see-more.html.twig" %}
  401. {% endif %}
  402. {% endfor %}
  403. {% endif %}
  404. </article>
  405. </section>{% endblock %}{% block javascripts %}
  406. {% include "articles/javascripts/base-article-js.html.twig" %}
  407. {{ encore_entry_script_tags('paybox') }}
  408. {{ parent() }}{% endblock %}