You are here

opigno-statistics-circle-indicator-value.html.twig in Opigno statistics 8

Same filename and directory in other branches
  1. 3.x templates/opigno-statistics-circle-indicator-value.html.twig

Default theme implementation to display the cicle indicator value.

Available variables:

  • value: Value.
  • help_text: The popover text.
  • label: The label of value.

File

templates/opigno-statistics-circle-indicator-value.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the cicle indicator value.
  5. *
  6. * Available variables:
  7. * - value: Value.
  8. * - help_text: The popover text.
  9. * - label: The label of value.
  10. */
  11. #}
  12. <div class="value-wrapper">
  13. <span class="value {{ help_text ? 'p-relative'}}">
  14. {{ value }}
  15. {% if help_text %}
  16. <div class="popover-help"
  17. data-toggle="popover"
  18. data-content="{{ help_text }}">
  19. ?
  20. </div>
  21. {% endif %}
  22. </span>
  23. <span class="label">{{ label }}</span>
  24. </div>