This commit is contained in:
albert
2013-03-11 13:34:59 -04:00
parent 66fbdfddfd
commit 6702234797
2 changed files with 2 additions and 2 deletions

View File

@@ -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 + ")");
}
}
}

View File

@@ -2,5 +2,5 @@
- post
-->
<% if post %>
<p>This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>).</p>
<h2 style="margin-bottom: 1em;">This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)</h2>
<% end %>