diff --git a/files/classes/comment.py b/files/classes/comment.py index 0e08b2d24..0d147612a 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -35,7 +35,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing): created_utc = Column(Integer, default=0) edited_utc = Column(Integer, default=0) is_banned = Column(Boolean, default=False) - bannedforit = Column(Boolean) + bannedfor = Column(Boolean) shadowbanned = Column(Boolean, default=False) distinguish_level = Column(Integer, default=0) deleted_utc = Column(Integer, default=0) diff --git a/files/classes/submission.py b/files/classes/submission.py index aa73fe7d6..b85cf5240 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -42,7 +42,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): created_utc = Column(BigInteger, default=0) thumburl = Column(String) is_banned = Column(Boolean, default=False) - bannedforit = Column(Boolean) + bannedfor = Column(Boolean) views = Column(Integer, default=0) deleted_utc = Column(Integer, default=0) distinguish_level = Column(Integer, default=0) diff --git a/files/templates/comments.html b/files/templates/comments.html index 97231639f..d83a73360 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -117,7 +117,7 @@ {% endfor %} {% endif %} - {% if c.bannedforit %} + {% if c.bannedfor %} {% endif %} diff --git a/files/templates/submission.html b/files/templates/submission.html index a943c4f4a..afa2fc3de 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -207,7 +207,7 @@