Uses {% empty %} instead of if statements
This commit is contained in:
parent
e8949bbffd
commit
185486c6fc
3 changed files with 4 additions and 7 deletions
|
@ -46,8 +46,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% if not lists or not lists.exists %}
|
||||
{% empty %}
|
||||
<p class="column"><em>{% trans "No lists found." %}</em></p>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue