truncate ratio

pull/29/head
Aevann1 2022-11-28 04:26:03 +02:00
parent 0fd8157fa6
commit 1911e97b83
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
<td>{{r[1]}}</td>
<td>{{r[2]}}</td>
<td>{{r[1]/r[2]}}</td>
{% set ratio = r[1]/r[2]|string %}
<td>{{ratio[:3]}}</td>
<td>{{r[3]}}</td>
</tr>
{% endfor %}