Tweak layout
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<meta name="current-user-name" content="<%= CurrentUser.name %>">
|
<meta name="current-user-name" content="<%= CurrentUser.name %>">
|
||||||
<meta name="current-user-id" content="<%= CurrentUser.id %>">
|
<meta name="current-user-id" content="<%= CurrentUser.id %>">
|
||||||
<meta name="user-comment-threshold" content="<%= CurrentUser.comment_threshold %>">
|
<meta name="user-comment-threshold" content="<%= CurrentUser.comment_threshold %>">
|
||||||
<% unless CurrentUser.user.blacklisted_tags.blank? %>
|
<% if CurrentUser.user.blacklisted_tags.present? %>
|
||||||
<meta name="blacklisted-tags" content="<%= CurrentUser.user.blacklisted_tags.gsub(/(?:\r|\n)+/, ",") %>">
|
<meta name="blacklisted-tags" content="<%= CurrentUser.user.blacklisted_tags.gsub(/(?:\r|\n)+/, ",") %>">
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if flash[:notice] =~ /error/ %>
|
<% if flash[:notice] =~ /error/ %>
|
||||||
@@ -19,9 +19,9 @@
|
|||||||
<meta name="enable-auto-complete" content="<%= CurrentUser.user.enable_auto_complete %>">
|
<meta name="enable-auto-complete" content="<%= CurrentUser.user.enable_auto_complete %>">
|
||||||
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
|
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
|
||||||
<%= stylesheet_link_tag "application", :media => "screen" %>
|
<%= stylesheet_link_tag "application", :media => "screen" %>
|
||||||
<style>
|
<% if CurrentUser.user.custom_style.present? %>
|
||||||
<%= CurrentUser.user.custom_style %>
|
<style><%= CurrentUser.user.custom_style %></style>
|
||||||
</style>
|
<% end %>
|
||||||
<%= javascript_include_tag "application" %>
|
<%= javascript_include_tag "application" %>
|
||||||
<%= raw Danbooru.config.custom_html_header_content %>
|
<%= raw Danbooru.config.custom_html_header_content %>
|
||||||
<%= yield :html_header %>
|
<%= yield :html_header %>
|
||||||
|
|||||||
Reference in New Issue
Block a user