diff --git a/brutaldon/models.py b/brutaldon/models.py index b8cb58f..ebffb3f 100644 --- a/brutaldon/models.py +++ b/brutaldon/models.py @@ -54,7 +54,10 @@ class Preference(models.Model): default=False, help_text=_( 'Show preview for media marked as "sensitive"')) - + open_detail = models.BooleanField( + default=False, + help_text=_( + 'Open details (posts with subjects) by default')) no_javascript = models.BooleanField( default=False, help_text=_( diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 2dfca7c..a8954df 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -41,7 +41,11 @@ {% endif %}
{% if toot.spoiler_text %} -+ {{ form.preview_sensitive.help_text }} +
++ {{ form.open_detail.help_text }} +