opigno-statistics-circle-indicator-value.html.twig in Opigno statistics 3.x
Same filename and directory in other branches
Default theme implementation to display the cicle indicator value.
Available variables:
- value: Value.
- label: The label of value.
1 theme call to opigno-statistics-circle-indicator-value.html.twig
- StatisticsPageTrait::buildValue in src/
StatisticsPageTrait.php - Builds value for the training progress block.
File
templates/opigno-statistics-circle-indicator-value.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display the cicle indicator value.
- *
- * Available variables:
- * - value: Value.
- * - label: The label of value.
- */
- #}
-
- <div class="value-wrapper">
- <span class="value {{ help_text ? 'p-relative'}}">
- {{ value }}
- {% if help_text %}
- <div class="popover-help"
- data-toggle="popover"
- data-content="{{ help_text }}">
- ?
- </div>
- {% endif %}
- </span>
- <span class="label">{{ label }}</span>
- </div>