templates: Fix invalid <td> inside <tfoot> (missing <tr>).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-05 17:14:21 -07:00
committed by Tim Abbott
parent 460d63c4dc
commit ce43111b03
2 changed files with 10 additions and 6 deletions

View File

@@ -33,9 +33,11 @@
</tbody>
{% if data.totals %}
<tfoot class="activity-foot">
{% for total in data.totals %}
<td>{{ total }}</td>
{% endfor %}
<tr>
{% for total in data.totals %}
<td>{{ total }}</td>
{% endfor %}
</tr>
</tfoot>
{% endif %}
</table>

View File

@@ -143,8 +143,10 @@
{% endfor %}
</tbody>
<tfoot class="activity-foot">
{% for total in totals %}
<td>{{ total }}</td>
{% endfor %}
<tr>
{% for total in totals %}
<td>{{ total }}</td>
{% endfor %}
</tr>
</tfoot>
</table>