2023-01-27 23:11:10 +00:00
|
|
|
{% if top_rated %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
2023-03-03 00:43:15 +00:00
|
|
|
<h3><i class="fa fa-trophy"></i>{{ _('Top Rating') }}</h3>
|
2023-01-27 23:11:10 +00:00
|
|
|
<div class="sidebox-content" style="padding: 0; border: 0">
|
|
|
|
<table class="table feed-table">
|
|
|
|
<tbody>
|
|
|
|
{% for user in top_rated %}
|
|
|
|
<tr>
|
|
|
|
<td style="padding: 7px 2px"><b>{{loop.index}}</b></td>
|
|
|
|
<td style="line-break: anywhere">{{link_user(user)}}</td>
|
|
|
|
<td>{{user.rating or '_'}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if top_scorer %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
2023-03-03 00:43:15 +00:00
|
|
|
<h3><i class="fa fa-trophy"></i>{{ _('Top Score') }}</h3>
|
2023-01-27 23:11:10 +00:00
|
|
|
<div class="sidebox-content" style="padding: 0; border: 0">
|
|
|
|
<table class="table feed-table">
|
|
|
|
<tbody>
|
|
|
|
{% for user in top_scorer %}
|
|
|
|
<tr>
|
|
|
|
<td style="padding: 7px 2px"><b>{{loop.index}}</b></td>
|
|
|
|
<td style="line-break: anywhere">{{link_user(user)}}</td>
|
|
|
|
<td>{{ user.performance_points|floatformat(0) }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-05-28 04:28:22 +00:00
|
|
|
{% endif %}
|