#2284 hide resize notice

This commit is contained in:
Toks
2014-10-26 11:56:20 -04:00
parent b6abd4f415
commit b47a794a93

View File

@@ -59,7 +59,7 @@
</div>
<% end %>
<% if post.has_large? %>
<% if post.has_large? && !post.is_ugoira? %>
<div class="ui-corner-all ui-state-highlight notice notice-resized" id="image-resize-notice" style="<%= CurrentUser.default_image_size == "original" ? "display: none;" : "" %>">
<span>Resized to <%= number_to_percentage post.resize_percentage.floor, :precision => 0 %> of original (<%= link_to "view original", post.file_url, :id => "image-resize-link" %>)</span>
<span style="display: none;">Loading...</span>