Display message on empty horizontal list

This commit is contained in:
Roberto Rosario
2012-03-29 23:45:04 -04:00
parent 41facf623a
commit afac6e7667

View File

@@ -62,7 +62,11 @@
<div class="group navform wat-cf">
{% for object in object_list %}
{{ object }}
{% if object %}
{{ object }}
{% endif %}
{% empty %}
{% blocktrans with title|striptags as stripped_title %}There are no {{ stripped_title }}{% endblocktrans %}
{% endfor %}
</div>