forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-18 18:43:24 +02:00
parent 1df5675f3a
commit 3c5899eb59
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ users15 = []
for user in users14:
users15.append((user, votes3[user.id]-user.post_count-user.comment_count))
users15 = sorted(users15, key=lambda x: x[1], reverse=True)[:25]
userss15 = users15[:10]
userss15 = users15[:25]
db.close()

View File

@ -408,7 +408,7 @@
<td style="font-weight: bold">{{user[1]}}</td>
</tr>
{% endfor %}
{% if pos15 and pos15[0] > 10 %}
{% if pos15 and pos15[0] > 25 %}
<tr style="border-top:2px solid var(--primary)">
<td style="font-weight:bold;">{{pos15[0]}}</td>
<td><a style="color:#{{v.namecolor}}; font-weight:bold;" href="/@{{v.username}}"><img alt="@{{v.username}}'s profile picture" loading="lazy" src="{{v.profile_url}}" class="pp20"><span {% if v.patron %}class="patron" style="background-color:#{{v.namecolor}}"{% endif %}>{{v.username}}</span></a></td>