From 88127d9a8b3b4417f8feca786d83a3bd8eb72cc9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 1 Sep 2021 21:45:34 +0200 Subject: [PATCH] gf --- files/routes/front.py | 4 +++- files/templates/award_leaderboard.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/files/routes/front.py b/files/routes/front.py index af13b8210..bf26c7432 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -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 diff --git a/files/templates/award_leaderboard.html b/files/templates/award_leaderboard.html index 00ec49102..94dd95d33 100644 --- a/files/templates/award_leaderboard.html +++ b/files/templates/award_leaderboard.html @@ -1,6 +1,6 @@ {% extends "settings2.html" %} -{% block pagetitle %}Leaderboard{% endblock %} +{% block pagetitle %}Leaderboard - awards received{% endblock %} {% block content %}

@@ -11,7 +11,7 @@
 	
 		#
 		Name
-		Coins
+		Awards
 	
 
 {% for user in users %}