forked from rDrama/rDrama
master
parent
38eaced40e
commit
88127d9a8b
|
@ -58,7 +58,9 @@ def notifications(v):
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
for x in notifications:
|
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
|
x.read = True
|
||||||
g.db.add(x)
|
g.db.add(x)
|
||||||
i += 1
|
i += 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends "settings2.html" %}
|
{% extends "settings2.html" %}
|
||||||
|
|
||||||
{% block pagetitle %}Leaderboard{% endblock %}
|
{% block pagetitle %}Leaderboard - awards received{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<pre class="d-none d-md-inline-block"></pre>
|
<pre class="d-none d-md-inline-block"></pre>
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<th style="font-weight:bold;">#</th>
|
<th style="font-weight:bold;">#</th>
|
||||||
<th style="font-weight:bold;">Name</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>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
|
|
Loading…
Reference in New Issue