diff --git a/files/classes/user.py b/files/classes/user.py index 460af97bd..3a3bfbddb 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -535,6 +535,7 @@ class User(Base): return [x[0] for x in posts.offset(25 * (page - 1)).limit(26).all()] + @lazy def saved_comment_idlist(self): saved = [x[0] for x in g.db.query(SaveRelationship.comment_id).options(lazyload('*')).filter(SaveRelationship.user_id == self.id).all()] diff --git a/files/templates/authforms.html b/files/templates/authforms.html index f3cba1821..629fea8ce 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -15,11 +15,11 @@ {% if v %} - - {% if v.agendaposter %}{% elif v.css %}{% endif %} + + {% if v.agendaposter %}{% elif v.css %}{% endif %} {% else %} - + {% endif %} diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index fd5640fe5..026978b0f 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -1,4 +1,4 @@ - +