{% load i18n l10n %}
{% if stat.value is None %}—{% elif b.aggregate == 'avg' %}{{ stat.value|floatformat:2 }}{% else %}{{ stat.value|floatformat:"-2" }}{% endif %}

{{ b.title }}

{% if b.subtitle %}

{{ b.subtitle }}

{% endif %} {% if b.compare_field %}

{% if stat.change is None %}{% trans 'No previous period to compare with' %} {% elif stat.change >= 0 %} {{ stat.change|unlocalize }}% {% trans 'from the previous period' %} {% else %} {{ stat.change|unlocalize }}% {% trans 'from the previous period' %}{% endif %}

{% endif %}