reply thresholds

This commit is contained in:
rimu 2024-06-28 19:01:28 +08:00
parent b621a9072f
commit ad44a4dbc2

View file

@ -38,8 +38,8 @@ class SettingsForm(FlaskForm):
ignore_bots = BooleanField(_l('Hide posts by bots'))
nsfw = BooleanField(_l('Show NSFW posts'))
nsfl = BooleanField(_l('Show NSFL posts'))
reply_collapse_threshold = IntegerField(_l('Reply collapse threshold'))
reply_hide_threshold = IntegerField(_l('Reply hide threshold'))
reply_collapse_threshold = IntegerField(_l('Reply collapse threshold'), validators=[Optional()])
reply_hide_threshold = IntegerField(_l('Reply hide threshold'), validators=[Optional()])
markdown_editor = BooleanField(_l('Use markdown editor GUI when writing'))
searchable = BooleanField(_l('Show profile in user list'))
indexable = BooleanField(_l('My posts appear in search results'))