about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-16 14:48:46 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitcdacbb3c4c80c32b5845d3f1492c207ac3481375 (patch)
treed783934dd7e51f15967aef7ebf00d8edb34309cc /app/views
parent50fae175fd4286837af59c91a76bab49ed5e2556 (diff)
Add option to remove filtered roar placeholder gap.
Diffstat (limited to 'app/views')
-rwxr-xr-xapp/views/layouts/application.html.haml4
-rw-r--r--app/views/settings/preferences/show.html.haml3
2 files changed, 7 insertions, 0 deletions
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
@@ -63,6 +63,9 @@
     = 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
     = f.input :setting_favourite_modal, as: :boolean, wrapper: :with_label