more commas in leaderboard

master
Aevann1 2022-09-10 11:01:53 +02:00
parent 57247b2fbc
commit 5824385589
1 changed files with 26 additions and 26 deletions

View File

@ -130,7 +130,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td><a href="/@{{user.username}}/followers">{{user.stored_subscriber_count}}</a></td> <td><a href="/@{{user.username}}/followers">{{"{:,}".format(user.stored_subscriber_count)}}</a></td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos2 %} {% if pos2 %}
@ -141,7 +141,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td><a href="/@{{v.username}}/followers">{{v.stored_subscriber_count}}</a></td> <td><a href="/@{{v.username}}/followers">{{"{:,}".format(v.stored_subscriber_count)}}</a></td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -160,7 +160,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{user.post_count}}</td> <td>{{"{:,}".format(user.post_count)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos3 %} {% if pos3 %}
@ -171,7 +171,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{v.post_count}}</td> <td>{{"{:,}".format(v.post_count)}}</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -190,7 +190,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{user.comment_count}}</td> <td>{{"{:,}".format(user.comment_count)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos4 %} {% if pos4 %}
@ -201,7 +201,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{v.comment_count}}</td> <td>{{"{:,}".format(v.comment_count)}}</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -220,7 +220,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{user.received_award_count}}</td> <td>{{"{:,}".format(user.received_award_count)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos5 %} {% if pos5 %}
@ -231,7 +231,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{v.received_award_count}}</td> <td>{{"{:,}".format(v.received_award_count)}}</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -251,7 +251,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos9 and (pos9[0] > 25 or not pos9[1]) %} {% if pos9 and (pos9[0] > 25 or not pos9[1]) %}
@ -262,7 +262,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos9[1]}}</td> <td>{{"{:,}".format(pos9[1])}}</td>
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
@ -284,7 +284,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos11 and (pos11[0] > 25 or not pos11[1]) %} {% if pos11 and (pos11[0] > 25 or not pos11[1]) %}
@ -295,7 +295,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos11[1]}}</td> <td>{{"{:,}".format(pos11[1])}}</td>
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
@ -320,7 +320,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos12 and (pos12[0] > 25 or not pos12[1]) %} {% if pos12 and (pos12[0] > 25 or not pos12[1]) %}
@ -331,7 +331,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos12[1]}}</td> <td>{{"{:,}".format(pos12[1])}}</td>
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
@ -354,7 +354,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos13 and (pos13[0] > 25 or not pos13[1]) %} {% if pos13 and (pos13[0] > 25 or not pos13[1]) %}
@ -365,7 +365,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos13[1]}}</td> <td>{{"{:,}".format(pos13[1])}}</td>
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
@ -387,7 +387,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{user.winnings}}</td> <td>{{"{:,}".format(user.winnings)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos14 %} {% if pos14 %}
@ -398,7 +398,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{v.winnings}}</td> <td>{{"{:,}".format(v.winnings)}}</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -417,7 +417,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{user.winnings}}</td> <td>{{"{:,}".format(user.winnings)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos15 %} {% if pos15 %}
@ -428,7 +428,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{v.winnings}}</td> <td>{{"{:,}".format(v.winnings)}}</td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -447,7 +447,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td><a href="/blockers/{{user.id}}">{{num}}</a></td> <td><a href="/blockers/{{user.id}}">{{"{:,}".format(num)}}</a></td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos16 and (pos16[0] > 25 or not pos16[1]) %} {% if pos16 and (pos16[0] > 25 or not pos16[1]) %}
@ -458,7 +458,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td><a href="/blockers/{{v.id}}">{{pos16[1]}}</a></td> <td><a href="/blockers/{{v.id}}">{{"{:,}".format(pos16[1])}}</a></td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -478,7 +478,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos17 and (pos17[0] > 25 or not pos17[1]) %} {% if pos17 and (pos17[0] > 25 or not pos17[1]) %}
@ -489,7 +489,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos17[1]}}</a></td> <td>{{"{:,}".format(pos17[1])}}</a></td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
@ -508,7 +508,7 @@
<tr {% if v.id == user.id %}class="self"{% endif %}> <tr {% if v.id == user.id %}class="self"{% endif %}>
<td>{{loop.index}}</td> <td>{{loop.index}}</td>
<td>{% include "user_in_table.html" %}</td> <td>{% include "user_in_table.html" %}</td>
<td>{{num}}</td> <td>{{"{:,}".format(num)}}</td>
</tr> </tr>
{% endfor %} {% endfor %}
{% if pos18 and (pos18[0] > 25 or not pos18[1]) %} {% if pos18 and (pos18[0] > 25 or not pos18[1]) %}
@ -519,7 +519,7 @@
{% include "user_in_table.html" %} {% include "user_in_table.html" %}
{% endwith %} {% endwith %}
</td> </td>
<td>{{pos18[1]}}</a></td> <td>{{"{:,}".format(pos18[1])}}</a></td>
</tr> </tr>
{% endif %} {% endif %}
</table> </table>