Merge branch 'feature/show-statistics-rank' into 'master'

Show rank of users in statistics.

See merge request !5
This commit is contained in:
Jim Driessen
2017-05-09 13:53:57 +02:00

View File

@ -10,6 +10,7 @@
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>User</th>
<th># Songs</th>
</tr>
@ -17,6 +18,7 @@
<tbody>
{% for stat in upload_stats %}
<tr>
<th>{{ forloop.counter }}</th>
<td>{{ stat.user__name }}</td>
<td>{{ stat.total }}</td>
</tr>
@ -29,6 +31,7 @@
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>User</th>
<th># Requests</th>
</tr>
@ -36,6 +39,7 @@
<tbody>
{% for stat in request_stats %}
<tr>
<th>{{ forloop.counter }}</th>
<td>{{ stat.user__name }}</td>
<td>{{ stat.total }}</td>
</tr>