{% load vantage i18n %}{% comment %} One pinned stat card. Decision 15's sixth state applies per card, not per strip: a stat whose callable blew up renders as an errored card and its neighbours still show their numbers. Destroying four working figures because the fifth failed is the behaviour being avoided. {% endcomment %}
{{ stat.label }}
{% if stat.error %}

{% translate "Could not be computed." %}

{% else %}
{{ stat.display }}
{% if stat.trend %} {% if stat.trend.direction == "up" %}{% icon "trending-up" %} {% elif stat.trend.direction == "down" %}{% icon "trending-down" %}{% endif %} {{ stat.trend.delta_display }} {% if stat.trend.percent_display %} {{ stat.trend.percent_display }} {% endif %} {% translate "versus the preceding period" %} {% endif %} {% if stat.description %}

{{ stat.description }}

{% endif %} {% endif %}