Revert "move post desc to header at top"

This reverts commit 0ab51f3a83.
This commit is contained in:
r888888888 2016-05-31 11:15:44 -07:00
parent 0ab51f3a83
commit e1c7fbc373
3 changed files with 676 additions and 671 deletions

View File

@ -60,9 +60,9 @@ a.blacklisted-active {
display: none;
}
#image-container h1.desc {
font-size: 100%;
color: #333;
#image-container p.desc {
font-size: 80%;
color: grey;
font-style: italic;
}

View File

@ -1,4 +1,4 @@
<% if post.visible? %>
<h1 class="desc" itemprop="description"><%= post.presenter.humanized_essential_tag_string %></h1>
<%= 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, :alt => post.presenter.humanized_essential_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-has-active-children" => post.has_active_children?, "data-score" => post.score, "data-fav-count" => post.fav_count, "itemprop" => "contentUrl") %>
<p class="desc" itemprop="description"><%= post.presenter.humanized_essential_tag_string %></p>
<% end %>

File diff suppressed because it is too large Load Diff