Fix typo on variable name.

Regression by 6980522d81
This commit is contained in:
Santiago Lamora 2020-01-23 16:14:18 +01:00
parent d05c61deff
commit a71654cc5c

View file

@ -66,9 +66,9 @@
<p class="card-text"><i class="fas fa-envelope fa-3x"></i></p>
<p class="card-text text-dark">
{{ domain.mails|length }} {% trans "mail addresses created" %}
{% if domain.address_left.alert_level %}
{% if domain.addresses_left.alert_level %}
<br/>
<span class="text-{{ domain.address_left.alert_level }}">{{ domain.address_left.count }} mail address left</span>
<span class="text-{{ domain.addresses_left.alert_level }}">{{ domain.addresses_left.count }} mail address left</span>
{% endif %}
</p>
<a class="stretched-link" href="{% url 'musician:mails' %}?domain={{ domain.id }}"></a>