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 %} -
+
{{ toot.spoiler_text }}
{{ toot.content | relink_toot | fix_emojos:toot.emojis | strip_html | safe }} diff --git a/brutaldon/templates/setup/settings.html b/brutaldon/templates/setup/settings.html index 3c37240..d074381 100644 --- a/brutaldon/templates/setup/settings.html +++ b/brutaldon/templates/setup/settings.html @@ -37,6 +37,24 @@ {% render_field form.preview_sensitive class+="checkbox" %} {{ form.preview_sensitive.label }} +
+
+

+ {{ form.preview_sensitive.help_text }} +

+
+ +
+
+ +
+
+

+ {{ form.open_detail.help_text }} +

Timeline Options