You are here

opigno-statistics-user-metrics.html.twig in Opigno statistics 8

Same filename and directory in other branches
  1. 3.x templates/opigno-statistics-user-metrics.html.twig

Default theme implementation to display the metric items.

Available variables:

  • elements['#help_text']: Popover text.
  • elements.

File

templates/opigno-statistics-user-metrics.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the metric items.
  5. *
  6. * Available variables:
  7. * - elements['#help_text']: Popover text.
  8. * - elements.
  9. */
  10. #}
  11. <div class="user-metrics">
  12. <h3 class="user-metrics-title">
  13. {{ 'Users metrics'|t }}
  14. {% if elements['#help_text'] %}
  15. <div class="popover-help"
  16. data-toggle="popover"
  17. data-content="{{ elements['#help_text'] }}">
  18. ?
  19. </div>
  20. {% endif %}
  21. </h3>
  22. <div class="user-metrics-content">
  23. {{ elements }}
  24. </div>
  25. </div>