Fixes #32: Setting a default images size in the user profile does not seem to work
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<% if flash[:notice] =~ /error/ %>
|
||||
<meta name="errors" content="true">
|
||||
<% end %>
|
||||
<meta name="max-image-width" content="500">
|
||||
<meta name="default-image-size" content="<%= CurrentUser.user.default_image_size %>">
|
||||
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
|
||||
<%= stylesheet_link_tag "application", :media => "screen" %>
|
||||
<%= javascript_include_tag "application" %>
|
||||
|
||||
@@ -91,6 +91,8 @@
|
||||
<meta name="post-id" content="<%= @post.id %>">
|
||||
<meta name="post-is-approvable" content="<%= @post.is_approvable? %>">
|
||||
<meta name="post-is-deleted" content="<%= @post.is_deleted? %>">
|
||||
<meta name="config-medium-width" content="<%= Danbooru.config.medium_image_width %>">
|
||||
<meta name="config-large-width" content="<%= Danbooru.config.large_image_width %>">
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
Reference in New Issue
Block a user