2022-05-28 04:28:22 +00:00
|
|
|
{% if top_rated %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
|
|
|
<h3>{{ _('Top Rating') }} <i class="fa fa-trophy"></i></h3>
|
|
|
|
<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>
|
2022-05-28 07:29:25 +00:00
|
|
|
<td style="line-break: anywhere">{{link_user(user)}}</td>
|
2022-05-28 08:54:12 +00:00
|
|
|
<td>{{user.rating or '_'}}</td>
|
2022-05-28 04:28:22 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if top_scorer %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
|
|
|
<h3>{{ _('Top Score') }} <i class="fa fa-trophy"></i></h3>
|
|
|
|
<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>
|
2022-05-28 07:33:37 +00:00
|
|
|
<td style="line-break: anywhere">{{link_user(user)}}</td>
|
2022-05-28 04:28:22 +00:00
|
|
|
<td>{{ user.performance_points|floatformat(0) }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|