mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 22:12:22 +01:00
Merge branch 'feature/show-statistics-rank' into 'master'
Show rank of users in statistics. See merge request !5
This commit is contained in:
@ -10,6 +10,7 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>#</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th># Songs</th>
|
<th># Songs</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -17,6 +18,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for stat in upload_stats %}
|
{% for stat in upload_stats %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>{{ forloop.counter }}</th>
|
||||||
<td>{{ stat.user__name }}</td>
|
<td>{{ stat.user__name }}</td>
|
||||||
<td>{{ stat.total }}</td>
|
<td>{{ stat.total }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -29,6 +31,7 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>#</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th># Requests</th>
|
<th># Requests</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -36,6 +39,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for stat in request_stats %}
|
{% for stat in request_stats %}
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>{{ forloop.counter }}</th>
|
||||||
<td>{{ stat.user__name }}</td>
|
<td>{{ stat.user__name }}</td>
|
||||||
<td>{{ stat.total }}</td>
|
<td>{{ stat.total }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user