Projet

Général

Profil

0001-templates-fix-colspan-and-add-a-class-to-empty-table.patch

Frédéric Péters, 17 mars 2018 13:20

Télécharger (825 octets)

Voir les différences:

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

 fargo/templates/fargo/table.html | 4 ++++
 1 file changed, 4 insertions(+)
fargo/templates/fargo/table.html
52 52
  {% endif %}
53 53
{% endblock table.tbody.row %}
54 54

  
55
{% block table.tbody.empty_text %}
56
<tr class="empty"><td colspan="{{ table.columns|length|add:3 }}">{{ table.empty_text }}</td></tr>
57
{% endblock %}
58

  
55 59
{% block pagination.cardinality %}
56 60
{% endblock %}
57
-