fixes #1371, additional fixes to seed script

This commit is contained in:
r888888888
2013-04-19 15:21:43 -07:00
parent 5327ac7820
commit 7a747e9ac0
8 changed files with 50 additions and 33 deletions

View File

@@ -1,2 +1,2 @@
<%= image_tag(post.file_url_for(CurrentUser.user), :width => post.image_width_for(CurrentUser.user), :height => post.image_height_for(CurrentUser.user), :id => "image", "data-original-width" => post.image_width, "data-original-height" => post.image_height, "data-large-width" => post.large_image_width, "data-large-height" => post.large_image_height) %>
<%= image_tag(post.file_url_for(CurrentUser.user), :width => post.image_width_for(CurrentUser.user), :height => post.image_height_for(CurrentUser.user), :id => "image", "data-original-width" => post.image_width, "data-original-height" => post.image_height, "data-large-width" => post.large_image_width, "data-large-height" => post.large_image_height, "data-tags" => post.tag_string, "data-uploader" => post.uploader_name, "data-rating" => post.rating, "data-flags" => post.status_flags, "data-parent-id" => post.parent_id, "data-has-children" => post.has_children?, "data-score" => post.score, "data-fav-count" => post.fav_count) %>

View File

@@ -14,6 +14,8 @@
<%= render "posts/partials/show/information", :post => @post %>
</section>
<%= render "posts/partials/index/blacklist" %>
<% if CurrentUser.is_member? %>
<section>
<h1>Options</h1>