From cdacbb3c4c80c32b5845d3f1492c207ac3481375 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 16 Apr 2019 14:48:46 -0500 Subject: Add option to remove filtered roar placeholder gap. --- app/views/layouts/application.html.haml | 4 ++++ app/views/settings/preferences/show.html.haml | 3 +++ 2 files changed, 7 insertions(+) (limited to 'app/views') diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 01ae25389..00d8af13a 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -77,5 +77,9 @@ :css .drawer { min-width: 400px !important } + - if current_account&.user&.setting_remove_filtered + :css + .status__wrapper--filtered { display: none !important; } + %body{ class: body_classes } = content_for?(:content) ? yield(:content) : yield diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index 945384204..bd5e8c532 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -62,6 +62,9 @@ = f.input :setting_larger_buttons, as: :boolean, wrapper: :with_label = f.input :setting_larger_drawer, as: :boolean, wrapper: :with_label + .fields-group + = f.input :setting_remove_filtered, as: :boolean, wrapper: :with_label + .fields-group = f.input :setting_unfollow_modal, as: :boolean, wrapper: :with_label = f.input :setting_boost_modal, as: :boolean, wrapper: :with_label -- cgit