diff --git a/files/routes/users.py b/files/routes/users.py index 9afd4182a..0ae6223a4 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -442,7 +442,7 @@ def all_upvoters_downvoters(v, username, vote_dir, is_who_simps_hates): received_given = 'given' if is_who_simps_hates else 'received' if total_items == 1: vote_str = vote_str[:-1] # we want to unpluralize if only 1 vote - total_items = f'{total_items} {vote_str} {received_given}' + total_items = f'{commas(total_items)} {vote_str} {received_given}' name2 = f'Who @{username} {simps_haters}' if is_who_simps_hates else f"@{username}'s {simps_haters}" diff --git a/files/templates/userpage/voters.html b/files/templates/userpage/voters.html index 6f8a2aa4e..79600fce0 100644 --- a/files/templates/userpage/voters.html +++ b/files/templates/userpage/voters.html @@ -17,7 +17,7 @@ {{loop.index+PAGE_SIZE*(page-1)}} {% include "user_in_table.html" %} - {{num}} + {{num|commas}} {% endfor %} {% if pos and (pos[0] > 25 or not pos[1]) %}