templates: show subscriptions list only if there is one

This commit is contained in:
Benjamin Dauvergne 2013-06-18 18:06:54 +02:00
parent a1e218dd3b
commit a3e8270bf7
1 changed files with 2 additions and 0 deletions

View File

@ -9,4 +9,6 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</dl> </dl>
{% if subscriptions %}
<p>{% trans "Subscriptions" %}: {{ subscriptions|join:", " }}</p> <p>{% trans "Subscriptions" %}: {{ subscriptions|join:", " }}</p>
{% endif %}