From 87098ff954bdf0cd05479fd15f10c3fea63b782a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 12 Dec 2021 21:20:57 +0200 Subject: [PATCH 1/6] n word --- files/classes/user.py | 2 +- files/templates/authforms.html | 4 ++-- files/templates/default.html | 4 ++-- files/templates/emoji_modal.html | 4 ++-- files/templates/log.html | 4 ++-- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 4 ++-- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submit.html | 4 ++-- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 645dbce378..1a9075c0de 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -477,7 +477,7 @@ class User(Base): def json(self): data = self.json_core - data["badges"] = [x.json_core for x in self.badges] + data["badges"] = [x.json for x in self.badges] data['coins'] = self.coins data['post_count'] = self.post_count data['comment_count'] = self.comment_count diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 1976410374..b2f253f9c2 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -14,11 +14,11 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/default.html b/files/templates/default.html index 5ecb1cc323..b958018bf6 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -6,12 +6,12 @@ {% if v %} - + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 50b0fa2741..232ac9e0cd 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -1,6 +1,6 @@