Show 'no results' on empty list.

This commit is contained in:
Roberto Rosario
2015-10-19 02:09:40 -04:00
parent 64faa0ca15
commit 3f8b23d751

View File

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