Comment Hiding

This commit adds the ability hide comments on torrent pages, and a user
preferences tab to allow registered users to make this the default
behavior.
This commit is contained in:
doge
2018-07-31 12:29:39 -05:00
committed by Nicolas F
parent 18bdf465f7
commit 3190394eea
5 changed files with 99 additions and 36 deletions

View File

@@ -204,6 +204,10 @@ class ProfileForm(FlaskForm):
])
password_confirm = PasswordField('Repeat New Password')
hide_comments = BooleanField('Hide comments by default')
authorized_submit = SubmitField('Update')
submit_settings = SubmitField('Update')
# Classes for a SelectField that can be set to disable options (id, name, disabled)