about summary refs log tree commit diff
path: root/app/views/layouts/application.html.haml
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-08-01 21:29:59 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:17 -0500
commit8fea4f74ed1e98db835f35be3cbb3735233e0346 (patch)
tree833656de1c89d234bb36b7720adf68d349f9665a /app/views/layouts/application.html.haml
parent041243a3c94c0bb72e3dfccd98e16ab5de9ec2f1 (diff)
[Feature, UI] Add settings to customize CSS of profile pages and web app
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rwxr-xr-xapp/views/layouts/application.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index aa3c560cb..f3f29f43e 100755
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -39,6 +39,9 @@
 
     - if Setting.custom_css.present?
       = stylesheet_link_tag custom_css_path, media: 'all'
+    
+    - if current_account&.user&.setting_style_css_webapp.present?
+      = stylesheet_link_tag user_webapp_css_path(current_account.id), media: 'all'
 
     - if current_account&.user&.setting_style_dashed_nest
       :css
@@ -63,6 +66,8 @@
         {
           text-decoration: none;          
         }
+    
+    = yield :header_overrides
 
   %body{ class: body_classes }
     = content_for?(:content) ? yield(:content) : yield