diff --git a/files/templates/admins.html b/files/templates/admins.html index a0bd04237..fa6e7f97b 100644 --- a/files/templates/admins.html +++ b/files/templates/admins.html @@ -22,7 +22,7 @@ {{loop.index}} {% include "user_in_table.html" %} - {{user.truecoins}} + {{"{:,}".format(user.truecoins)}} {{user.modaction_num}} {% endfor %} diff --git a/files/templates/hats.html b/files/templates/hats.html index 225c77217..c9db786ab 100644 --- a/files/templates/hats.html +++ b/files/templates/hats.html @@ -19,8 +19,8 @@ hats banner
Number of hats you bought: {{v.num_of_owned_hats}}
Number of hats you designed: {{v.num_of_designed_hats}}
-
Coins you spent on hats: {{v.coins_spent_on_hats}}
-
Total hat sales: {{sales}}
+
Coins you spent on hats: {{"{:,}".format(v.coins_spent_on_hats)}}
+
Total hat sales: {{"{:,}".format(sales)}}
Number of hats: {{num_of_hats}}
{% endblock %} diff --git a/files/templates/leaderboard.html b/files/templates/leaderboard.html index 2903ce0ec..a3b7c4270 100644 --- a/files/templates/leaderboard.html +++ b/files/templates/leaderboard.html @@ -37,7 +37,7 @@ {{loop.index}} {% include "user_in_table.html" %} - {{user.coins}} + {{"{:,}".format(user.coins)}} {% endfor %} {% if pos1 %} @@ -48,7 +48,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{v.coins}} + {{"{:,}".format(v.coins)}} {% endif %} @@ -68,7 +68,7 @@ {{loop.index}} {% include "user_in_table.html" %} - {{user.coins_spent}} + {{"{:,}".format(user.coins_spent)}} {% endfor %} {% if pos7 %} @@ -79,7 +79,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{v.coins_spent}} + {{"{:,}".format(v.coins_spent)}} {% endif %} @@ -99,7 +99,7 @@ {{loop.index}} {% include "user_in_table.html" %} - {{user.truecoins}} + {{"{:,}".format(user.truecoins)}} {% endfor %} {% if pos10 %} @@ -110,7 +110,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{v.truecoins}} + {{"{:,}".format(v.truecoins)}} {% endif %} diff --git a/files/templates/loggedin.html b/files/templates/loggedin.html index 2545dcd68..f09acc039 100644 --- a/files/templates/loggedin.html +++ b/files/templates/loggedin.html @@ -13,7 +13,7 @@ {{loop.index}} {% include "user_in_table.html" %} - {{user.truecoins}} + {{"{:,}".format(user.truecoins)}} {% endfor %} diff --git a/files/templates/poll_votes.html b/files/templates/poll_votes.html index f3262ad93..fa1fdac84 100644 --- a/files/templates/poll_votes.html +++ b/files/templates/poll_votes.html @@ -31,7 +31,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{vote.user.truecoins}} + {{"{:,}".format(vote.user.truecoins)}} {% endfor %} diff --git a/files/templates/shop.html b/files/templates/shop.html index 0f57882ce..6f34e5193 100644 --- a/files/templates/shop.html +++ b/files/templates/shop.html @@ -24,12 +24,12 @@
shop banner

{{SHOP_FLAVOR}} Earn coins.

-
Total sales: {{sales}} coins
-
Coins spent by you: {{v.coins_spent}} coins
+
Total sales: {{"{:,}".format(sales)}} coins
+
Coins spent by you: {{"{:,}".format(v.coins_spent)}} coins
Lootboxes bought by you: {{v.lootboxes_bought}} lootbox{{'es' if v.lootboxes_bought != 1}}
-
Your current coins: {{v.coins}}
+
Your current coins: {{"{:,}".format(v.coins)}}
{% if FEATURES['PROCOINS'] %} -
Your current marseybux: {{v.procoins}}
+
Your current marseybux: {{"{:,}".format(v.procoins)}}
{% endif %}
Buy hats here!
diff --git a/files/templates/votes.html b/files/templates/votes.html index c36078ec5..562a31847 100644 --- a/files/templates/votes.html +++ b/files/templates/votes.html @@ -16,7 +16,7 @@

{{thing.permalink}}

Author: @{{thing.author.username}}

Author Created At:

-

Author Truescore: {{thing.author.truecoins}}

+

Author Truescore: {{"{:,}".format(thing.author.truecoins)}}

Upvotes: {{ups | length}}

Downvotes: {{downs | length}}

@@ -43,7 +43,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{vote.user.truecoins}} + {{"{:,}".format(vote.user.truecoins)}} {% endfor %} @@ -68,7 +68,7 @@ {% include "user_in_table.html" %} {% endwith %} - {{vote.user.truecoins}} + {{"{:,}".format(vote.user.truecoins)}} {% endfor %}