added average song length to stats

This commit is contained in:
oslomp
2019-01-10 20:53:11 +01:00
parent 6a86cf1c0a
commit 274949c519
2 changed files with 10 additions and 5 deletions

View File

@ -76,7 +76,8 @@
<tr>
<th>#</th>
<th>User</th>
<th>Duration</th>
<th style="text-align: right;">Duration</th>
<th>Average</th>
</tr>
</thead>
<tbody>
@ -84,7 +85,8 @@
<tr>
<th>{{ forloop.counter }}</th>
<td>{{ stat.user__name }}</td>
<td>{{ stat.duration }}</td>
<td style="text-align: right;">{{ stat.duration }}</td>
<td>{{stat.avg_dur}}</td>
</tr>
{% endfor %}
</tbody>