{# One number, how it moved, and the window behind it as a sparkline. The value uses the font's proportional figures rather than tabular ones: a large standalone number set in tabular figures gives every digit the width of a zero, which reads as loose at this size. Tabular figures belong in columns. #} {% set card = card.context %} {% set series = card.series %}
{% if card.icon %} {% endif %} {{ _(card.title) }}
{{ series.total }} {% include "dashboard/_delta.html" %} {# A sparkline of nothing is a flat rule, which is exactly what a chart that failed to draw looks like. Said in words instead. #} {% if series.empty %} {{ _("Nothing in the last {days} days", days=series.bars|length) }} {% else %} {% endif %}