Show 'no results' on empty list.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
{% extends 'appearance/base.html' %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% load navigation_tags %}
|
||||
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
@@ -14,6 +16,8 @@
|
||||
{% with 'navigation/large_button_link.html' as link_template %}
|
||||
{% for object_navigation_links in resolved_links %}
|
||||
{% include 'navigation/generic_navigation.html' %}
|
||||
{% empty %}
|
||||
<p class="text-center" colspan=99>{% trans 'No results' %}</p>
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user