Speaker and talk count in caption on the top of the table

This commit is contained in:
numahell 2016-10-21 23:50:23 +02:00
parent 933d468dcb
commit 519dff70c3
2 changed files with 3 additions and 10 deletions

View File

@ -41,6 +41,8 @@
</div>
<table class="table table-bordered table-hover">
<caption>{% trans "Total:" %} {{ speaker_list|length }} {% trans "speaker" %}{{ speaker_list|length|pluralize }}
</caption>
<thead>
<tr>
<th class="text-center">{% trans "Username" %}</th>
@ -95,11 +97,6 @@
</tbody>
{% endif %}
{% endfor %}
<tfoot>
<tr>
<th colspan="5">{% trans "Total:" %} {{ speaker_list|length }} {% trans "speaker" %}{{ speaker_list|length|pluralize }}</th>
</tr>
</tfoot>
</table>
{% endblock %}

View File

@ -38,6 +38,7 @@
<form action="" method="post">
<table class="table table-bordered table-hover">
<caption>{% trans "Total:" %} {{ talk_list|length }} {% trans "talk" %}{{ talk_list|length|pluralize }}</caption>
<thead>
<tr>
<th></th>
@ -87,11 +88,6 @@
</tbody>
{% endif %}
{% endfor %}
<tfoot>
<tr>
<th colspan="5">{% trans "Total:" %} {{ talk_list|length }} {% trans "talk" %}{{ talk_list|length|pluralize }}</th>
</tr>
</tfoot>
</table>
{% if action_form %}