Percentages

This commit is contained in:
Olaf Slomp
2019-02-28 17:22:40 +01:00
committed by Gerdriaan Mulder
parent 0f6a69626b
commit 2d721bf51a
2 changed files with 6 additions and 4 deletions

View File

@ -35,7 +35,7 @@
<th>{{ forloop.counter }}</th>
<td>{{ stat.user__name }}</td>
<td style="text-align: right;">{{ stat.total }}</td>
<td>({% widthratio stat.total stats.total_uploads 100 %}%)</td>
<td>({% widthratio stat.total stats.total_uploads_perc 100 %}%)</td>
</tr>
{% endfor %}
</tbody>
@ -61,7 +61,7 @@
<th>{{ forloop.counter }}</th>
<td>{{ stat.user__name }}</td>
<td style="text-align: right;">{{ stat.total }}</td>
<td>({% widthratio stat.total stats.total_requests 100 %}%)</td>
<td>({% widthratio stat.total stats.total_requests_perc 100 %}%)</td>
</tr>
{% endfor %}
</tbody>
@ -98,7 +98,7 @@
</div>
<div class="col-md-6">
<h2>Unique requests</h2>
<p>In total <strong> {{stats.total_unique_requests.total}}</strong> different songs
<p>In total <strong> {{stats.total_unique_requests}}</strong> different songs
have been requested. The {{ stats.stats_top_count }} people that have requested the largest number of
different songs are shown below.
<div class="table-responsive">