Browse Source

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

changes/71/781771/1
Zuul 5 months ago
committed by Gerrit Code Review
parent
commit
7db8cd46ad
  1. 4
      horizon/templates/horizon/common/_data_table.html

4
horizon/templates/horizon/common/_data_table.html

@ -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" %}

Loading…
Cancel
Save