templates: fix colspan and add a class to empty table row (#22596)

This commit is contained in:
Frédéric Péters 2018-03-17 13:19:25 +01:00
parent 43666f7ac9
commit 47f0ac02b4
1 changed files with 4 additions and 0 deletions

View File

@ -52,5 +52,9 @@
{% endif %}
{% endblock table.tbody.row %}
{% block table.tbody.empty_text %}
<tr class="empty"><td colspan="{{ table.columns|length|add:3 }}">{{ table.empty_text }}</td></tr>
{% endblock %}
{% block pagination.cardinality %}
{% endblock %}