diff --git a/brutaldon/models.py b/brutaldon/models.py index 69b8b21..e540e98 100644 --- a/brutaldon/models.py +++ b/brutaldon/models.py @@ -30,9 +30,12 @@ class Preference(models.Model): filter_boosts = models.BooleanField(default=False) timezone = models.CharField(max_length=80, blank=True, null=True, choices=timezones, default='UTC') - no_javascript = models.BooleanField(default=False) - notifications = models.BooleanField(default=True) - click_to_load = models.BooleanField(default=False) + no_javascript = models.BooleanField(default=False, + help_text="""Disable all JavaScript. Overrides all other JavaScript options.""") + notifications = models.BooleanField(default=True, + help_text="""Display live notifications in header.""") + click_to_load = models.BooleanField(default=False, + help_text="""Click to load more toots in the same page, rather than using pagination.""") class Account(models.Model): username = models.EmailField(unique=True) diff --git a/brutaldon/static/css/brutaldon-dark.css b/brutaldon/static/css/brutaldon-dark.css index 7e3fb69..c72598b 100644 --- a/brutaldon/static/css/brutaldon-dark.css +++ b/brutaldon/static/css/brutaldon-dark.css @@ -202,3 +202,9 @@ emoji-link { margin-left: 50%; } + +.preferences-help +{ + max-width: 30em; + display: inline-block; +} diff --git a/brutaldon/static/css/brutaldon.css b/brutaldon/static/css/brutaldon.css index 6c6fbe0..5ee102a 100644 --- a/brutaldon/static/css/brutaldon.css +++ b/brutaldon/static/css/brutaldon.css @@ -173,3 +173,9 @@ emoji-link { margin-left: 50%; } + +.preferences-help +{ + max-width: 30em; + display: inline-block; +} diff --git a/brutaldon/templates/setup/settings.html b/brutaldon/templates/setup/settings.html index f3421ca..21d8fb7 100644 --- a/brutaldon/templates/setup/settings.html +++ b/brutaldon/templates/setup/settings.html @@ -6,6 +6,8 @@