Merge "Fix `_data_table.html` weird conditional."

This commit is contained in:
Zuul 2021-03-19 08:47:04 +00:00 committed by Gerrit Code Review
commit 7db8cd46ad
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
{% endif %}
{% endblock table_breadcrumb %}
{% if table.footer and rows %}
{% if table.number_of_pages is defined %}
{% if table.number_of_pages is None %}
{% include "horizon/common/_data_table_pagination.html" %}
{% else %}
{% include "horizon/common/_data_table_pagination_with_pages.html" %}
@ -76,7 +76,7 @@
{% endfor %}
</tr>
{% endif %}
{% if table.number_of_pages is defined %}
{% if table.number_of_pages is None %}
{% include "horizon/common/_data_table_pagination.html" %}
{% else %}
{% include "horizon/common/_data_table_pagination_with_pages.html" %}