1
0
Fork 0

Uses {% empty %} instead of if statements

This commit is contained in:
Mouse Reeve 2023-08-06 19:35:50 -07:00
parent e8949bbffd
commit 185486c6fc
3 changed files with 4 additions and 7 deletions

View file

@ -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>