views-view-fields--les-intervenants.html.twig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {#
  2. /**
  3. * @file
  4. * Default view template to display all the fields in a row.
  5. *
  6. * Available variables:
  7. * - view: The view in use.
  8. * - fields: A list of fields, each one contains:
  9. * - content: The output of the field.
  10. * - raw: The raw data for the field, if it exists. This is NOT output safe.
  11. * - class: The safe class ID to use.
  12. * - handler: The Views field handler controlling this field.
  13. * - inline: Whether or not the field should be inline.
  14. * - wrapper_element: An HTML element for a wrapper.
  15. * - wrapper_attributes: List of attributes for wrapper element.
  16. * - separator: An optional separator that may appear before a field.
  17. * - label: The field's label text.
  18. * - label_element: An HTML element for a label wrapper.
  19. * - label_attributes: List of attributes for label wrapper.
  20. * - label_suffix: Colon after the label.
  21. * - element_type: An HTML element for the field content.
  22. * - element_attributes: List of attributes for HTML element for field content.
  23. * - has_label_colon: A boolean indicating whether to display a colon after
  24. * the label.
  25. * - element_type: An HTML element for the field content.
  26. * - element_attributes: List of attributes for HTML element for field content.
  27. * - row: The raw result from the query, with all data it fetched.
  28. *
  29. * @see template_preprocess_views_view_fields()
  30. *
  31. * @ingroup themeable
  32. */
  33. #}
  34. <article class="thumbnails_participants p-3">
  35. <a href="{{ fields.view_node.content }}">
  36. <figure>
  37. <div>
  38. {{fields.field_portrait.content}}
  39. </div>
  40. <figcaption class="__info">
  41. <div class="__name">{{ fields.field_prenom.content }} {{ fields.title.content }}</div>
  42. <div class="__qualite">{{ fields.field_qualite.content }}</div>
  43. </figcaption>
  44. </figure>
  45. </a>
  46. </article>