You are here

status-report-counter.html.twig in Drupal 10

Default theme implementation for the status report counter.

Available variables:

  • amount: The number shown on counter.
  • text: The text shown on counter.
  • severity: The severity of the counter.

File

core/modules/system/templates/status-report-counter.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the status report counter.
  5. *
  6. * Available variables:
  7. * - amount: The number shown on counter.
  8. * - text: The text shown on counter.
  9. * - severity: The severity of the counter.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <span class="system-status-counter__status-icon system-status-counter__status-icon--{{ severity }}"></span>
  15. <span>{{ amount }} {{ text }}</span>
  16. <a href="#{{ severity }}"><span class="visually-hidden">{{ text }} </span>Details</a>

Related topics