layout changes

This commit is contained in:
albert
2013-02-23 20:48:35 -05:00
parent 64efef4ecf
commit ccc725a631
3 changed files with 11 additions and 8 deletions

View File

@@ -52,4 +52,10 @@
<div class="ui-corner-all ui-state-highlight notice">
This post has <%= link_to "children", posts_path(:tags => "parent:#{post.id}") %> (<%= link_to "learn more", wiki_pages_path(:title => "help:post_relationships") %>)
</div>
<% end %>
<% end %>
<% if post.has_large? && CurrentUser.default_image_size == "large" %>
<div class="ui-corner-all ui-state-highlight notice" id="image-resize-notice">
Resized to <%= number_to_percentage post.resize_percentage, :precision => 0 %> of original (<%= link_to "view original", post.file_url, :id => "image-resize-link" %>)
</div>
<% end %>