diff --git a/brutaldon/models.py b/brutaldon/models.py index 33847a1..b8cb58f 100644 --- a/brutaldon/models.py +++ b/brutaldon/models.py @@ -50,6 +50,11 @@ class Preference(models.Model): timezone = models.CharField( max_length=80, blank=True, null=True, choices=timezones, default="UTC" ) + preview_sensitive = models.BooleanField( + default=False, + help_text=_( + 'Show preview for media marked as "sensitive"')) + 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 abad8c7..2dfca7c 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -101,7 +101,7 @@