From 9bf4f2fae5eb71d1ee413e73ab1520f5820b8a0f Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 15 Jul 2013 19:09:17 -0400 Subject: [PATCH] Tweak layout --- app/views/layouts/default.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index eef5387eb..11ce6355b 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -8,7 +8,7 @@ - <% unless CurrentUser.user.blacklisted_tags.blank? %> + <% if CurrentUser.user.blacklisted_tags.present? %> "> <% end %> <% if flash[:notice] =~ /error/ %> @@ -19,9 +19,9 @@ <%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %> <%= stylesheet_link_tag "application", :media => "screen" %> - + <% if CurrentUser.user.custom_style.present? %> + + <% end %> <%= javascript_include_tag "application" %> <%= raw Danbooru.config.custom_html_header_content %> <%= yield :html_header %>