manager: use <th> for header cells in user import tables (#34241)

This commit is contained in:
Frédéric Péters 2019-06-23 10:02:38 +02:00
parent 446adabcd2
commit a78e5cd070
3 changed files with 13 additions and 13 deletions

View File

@ -47,10 +47,10 @@
<table class="main">
<thead>
<tr>
<td>{% trans "Creation date" %}</td>
<td>{% trans "State" %}</td>
<td>{% trans "Imported" %}</td>
<td></td>
<th>{% trans "Creation date" %}</th>
<th>{% trans "State" %}</th>
<th>{% trans "Imported" %}</th>
<th></th>
</tr>
</thead>
<tbody>

View File

@ -88,9 +88,9 @@
<table id="import-report-table" class="main">
<thead>
<tr>
<td>{% trans "Line" %}</td>
<th>{% trans "Line" %}</th>
{% for header in importer.headers %}
<td
<th
{% if header.flags %}
title="flags: {% for flag in header.flags %}{{ flag }} {% endfor %}"
{% endif %}
@ -99,9 +99,9 @@
{% for flag in header.flags %}
<span class="header-flag-{{ flag }}"></span>
{% endfor %}
</td>
</th>
{% endfor %}
<td>{% trans "Action" %}</td>
<th>{% trans "Action" %}</th>
</tr>
</thead>
<tbody>

View File

@ -25,11 +25,11 @@
<table class="main">
<thead>
<tr>
<td>{% trans "Filename" %}</td>
<td>{% trans "Creation date" %}</td>
<td>{% trans "By" %}</td>
<td>{% trans "Rows" %}</td>
<td></td>
<th>{% trans "Filename" %}</th>
<th>{% trans "Creation date" %}</th>
<th>{% trans "By" %}</th>
<th>{% trans "Rows" %}</th>
<th></th>
</tr>
</thead>
<tbody>