{% load i18n %} {% if section.card_delta %} {% if section.card_delta_tone == 'danger' %} {% translate 'Снижение' %} {% elif section.card_delta_tone == 'success' %} {% translate 'Рост' %} {% else %} {% translate 'Без изменений' %} {% endif %} {{ section.card_delta }} {% if section.card_delta_tone == 'danger' %} {% elif section.card_delta_tone == 'success' %} {% else %} {% endif %} {% endif %}