{#
/**
 * @file
 * Reusable cache health card.
 *
 * Available variables:
 * - item: Cache health item payload.
 */
#}

<article class="no-cache-health__card no-cache-health__card--{{ item.status|default('ok') }}">
  <div class="no-cache-health__label">{{ item.label }}</div>
  <div class="no-cache-health__value">{{ item.value }}</div>

  {% if item.hint is defined and item.hint %}
    <div class="no-cache-health__hint">{{ item.hint }}</div>
  {% endif %}
</article>
