fsd
This commit is contained in:
parent
6be565da9e
commit
beccbe2f25
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue