remotes/1693045480750635534/spooky-22
Aevann1 2021-09-01 21:45:34 +02:00
parent 38eaced40e
commit 88127d9a8b
2 changed files with 5 additions and 3 deletions

View File

@ -58,7 +58,9 @@ def notifications(v):
i = 0
for x in notifications:
if not x.read: comments[i].unread = True
if not x.read:
try: comments[i].unread = True
except: pass
x.read = True
g.db.add(x)
i += 1

View File

@ -1,6 +1,6 @@
{% extends "settings2.html" %}
{% block pagetitle %}Leaderboard{% endblock %}
{% block pagetitle %}Leaderboard - awards received{% endblock %}
{% block content %}
<pre class="d-none d-md-inline-block"></pre>
@ -11,7 +11,7 @@
<tr>
<th style="font-weight:bold;">#</th>
<th style="font-weight:bold;">Name</th>
<th style="font-weight:bold; text-align:right;">Coins</th>
<th style="font-weight:bold; text-align:right;">Awards</th>
</tr>
</thead>
{% for user in users %}