mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-16 00:09:05 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user