diff --git a/app/assets/javascripts/uploads.js b/app/assets/javascripts/uploads.js index 434e52fba..e55f56fd7 100644 --- a/app/assets/javascripts/uploads.js +++ b/app/assets/javascripts/uploads.js @@ -81,7 +81,7 @@ var ratio = 400.0 / height; $image.height(height * ratio); $image.width(width * ratio); - $("#scale").html("Scaled " + parseInt(100 * ratio) + "%"); + $("#scale").html("Scaled " + parseInt(100 * ratio) + "% (original: " + width + "x" + height + ")"); } } } diff --git a/app/views/uploads/_post.html.erb b/app/views/uploads/_post.html.erb index 79381a1e2..03e9cd52c 100644 --- a/app/views/uploads/_post.html.erb +++ b/app/views/uploads/_post.html.erb @@ -2,5 +2,5 @@ - post --> <% if post %> -

This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>).

+

This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)

<% end %>