{% load i18n %}
{# Direction of a count across the last two post-sync reconciliations. #}
{# "Has this number moved?" was only answerable by comparing screenshots #}
{# taken days apart, and a customer read a static count as a growing one. #}
{# Renders nothing when there is no prior run to compare against, because #}
{# an unknown trend must not look like a flat one. #}
{% if trend %}
{% if trend.delta > 0 %}
▲ +{{ trend.delta }}
{% elif trend.delta < 0 %}
▼ {{ trend.delta }}
{% else %}
{% trans "unchanged" %}
{% endif %}
{% endif %}