forked from rDrama/rDrama
make winrate a percent
parent
fe0da05415
commit
c35d69ba06
|
@ -22,8 +22,8 @@
|
||||||
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
|
<td data-sort-key="{{user.username.lower() if user else ''}}">{%- include 'user_in_table.html' -%}</td>
|
||||||
<td>{{r[1]}}</td>
|
<td>{{r[1]}}</td>
|
||||||
<td>{{r[2]}}</td>
|
<td>{{r[2]}}</td>
|
||||||
{% set ratio = (r[1]/r[2])|string %}
|
{% set ratio = (r[1]/r[2]*100)|string %}
|
||||||
<td>{{ratio[:3]}}</td>
|
<td>{{ratio[:3]}}%</td>
|
||||||
<td>{{r[3]}}</td>
|
<td>{{r[3]}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue